tag:blogger.com,1999:blog-106449775438946661.post4836817708748626120..comments2024-03-19T05:14:38.879-07:00Comments on Overcoming Fear: Maven And WeblogicTim Myerhttp://www.blogger.com/profile/01514263555690798238noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-106449775438946661.post-43782412005831975742012-02-09T09:45:29.933-08:002012-02-09T09:45:29.933-08:00You rock, SeBO! Thanks for posting the link.
---T...You rock, SeBO! Thanks for posting the link.<br /><br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-14123513411136701182012-02-09T07:05:50.862-08:002012-02-09T07:05:50.862-08:00It was very helpful: plugin with JAXWS supprot is ...It was very helpful: plugin with JAXWS supprot is here http://chomikuj.pl/sebekk23/Java/WLS1035/Maven+plugin/weblogic-maven-plugin-2.9.2-SNAPSHOT,1416642515.jarSeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-23506128248983584052012-02-08T07:39:16.210-08:002012-02-08T07:39:16.210-08:00Hi SeBO,
Good that you found a solution.
As for ...Hi SeBO,<br /><br />Good that you found a solution.<br /><br />As for your JAXWS question, it looks like there is <a href="http://www.southsearepublic.org/article/2678/read/maven;_enum_types_are_not_supported_on_a_jws" rel="nofollow">a solution that requires another modification to the JwscMojo in the weblogic-maven-plugin</a>.<br /><br />It seems that you need to specify the type of the jwsFileSet as "JAXWS". As for installing weblogic JARs to support JAXWS webservices, I am not sure off the top of my head which you would need.<br /><br />Hope that helps!<br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-84307879566665820422012-02-08T06:13:26.353-08:002012-02-08T06:13:26.353-08:00OK - i got it :). I forgot about weblogic.xml in r...OK - i got it :). I forgot about weblogic.xml in resources. But ... :) i notice that this plugin generates JAXRPC webservices instead JAXWS. Is there somekind of workaround for this ?SeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-34811347818527082722011-12-22T05:36:41.894-08:002011-12-22T05:36:41.894-08:00I found little workaround for this - i put everyth...I found little workaround for this - i put everything into another war :). I have next question, because i can't find solution in internet i decide to ask it here :). I have simple project with WebServices and i need to enable basic authentication for those WS. I try some tutorials:<br /><a rel="nofollow">http://prowess.wordpress.com/2008/06/19/basic-authentication-for-rpc-style-web-services/</a><br />and <br /><a rel="nofollow">http://stackoverflow.com/questions/4621155/how-to-set-up-weblogic-10-3-3-security-for-jax-ws-web-services</a><br />but without luck i still get "403--Forbidden". Can you help me :)?SeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-31640027377906581702011-11-17T08:59:02.948-08:002011-11-17T08:59:02.948-08:00Hi SeBO,
Did you put all the resources that you w...Hi SeBO,<br /><br />Did you put all the resources that you want to put in the JAR into the src/main/resources directory of the JAR project? I am not sure offhand why this approach would not work. Or am I misunderstanding your requirement?<br /><br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-35954902197641203222011-11-17T01:32:43.180-08:002011-11-17T01:32:43.180-08:00Another question:
How to force maven to include al...Another question:<br />How to force maven to include all resources (like weblogic.xml, wsdl etc.) to jar when packaging multimodule project ?<br />I have structure like this:<br />POM project<br />- EAR - project<br />- WAR - project with JSF and other stuff<br />- JAR (here i want to put all of WebServices)<br /><br />I tried everything but no luck.SeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-70382779037429855352011-10-28T06:02:48.675-07:002011-10-28T06:02:48.675-07:00Ok - i fix it with: weblogic:clientgen9 :)Ok - i fix it with: weblogic:clientgen9 :)SeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-47215733119002939462011-10-28T02:40:28.800-07:002011-10-28T02:40:28.800-07:00Hi
I have a problem with WebService client genera...Hi<br /><br />I have a problem with WebService client generated by weblogic:clientgen. When i'm trying to invoke him i getting following error<br /><i><br />java.rmi.RemoteException: unable to set value on the holder class; nested exception is: <br /> java.lang.NoSuchFieldException: value<br /> at pl.nbp.mailsms.client.Mailsmsservice_PortType_Stub.test(Mailsmsservice_PortType_Stub.java:29)<br /> at pl.nbp.mailsms.client.TestClient.main(TestClient.java:21)<br />Caused by: java.lang.NoSuchFieldException: value<br /> at java.lang.Class.getField(Class.java:1520)<br /> at weblogic.webservice.core.rpc.StubImpl._setHolderValue(StubImpl.java:358)<br /> at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:323)<br /> at pl.nbp.mailsms.client.Mailsmsservice_PortType_Stub.test(Mailsmsservice_PortType_Stub.java:27)<br /> ... 1 more<br /></i><br /><br />Client code is very simple:<br /><i><br />public class TestClient {<br /><br /> /**<br /> * @param args<br /> */<br /> public static void main(String[] args) {<br /> try <br /> {<br /> Mailsmsservice s = new Mailsmsservice_Impl();<br /> Test t = new Test("dd");<br /> TestResponse tr = new TestResponse("dd");<br /><br /> s.getMailsmsservice_PortType().test(t, new TestResponseHolder(tr));<br /> }<br /> catch(Exception e) <br /> {<br /> System.out.println("upps");<br /> e.printStackTrace();<br /> } <br /><br /> }<br />}<br /></i>SeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-6787242174462873922011-10-25T23:56:46.581-07:002011-10-25T23:56:46.581-07:00I uploaded file on one of my online storage: http:...I uploaded file on one of my online storage: http://chomikuj.pl/sebekk23/Java/WLS1035/WebServicesMaven/pom,1115580899.xml. If anyone find error please send me email and I upadte this pom for others ;).SeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-31719605315678368632011-10-21T15:43:35.159-07:002011-10-21T15:43:35.159-07:00Hi SeBO,
Thank you for the comment. Perhaps You c...Hi SeBO,<br /><br />Thank you for the comment. Perhaps You could post your modifications to a site like github and put the link here. Just a thought.<br /><br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-22421131337316791452011-10-21T05:52:17.122-07:002011-10-21T05:52:17.122-07:00Thx - with this notes i've done my work much f...Thx - with this notes i've done my work much faster :). <br /><br />BTW.<br />I can post my pom.xml for WLS 10.3.5 ;) here or on private mail: sebo[dot]poczta(at)wp[dot]plSeBOhttps://www.blogger.com/profile/04677046013276414139noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-73036285349098255242011-10-14T14:28:01.120-07:002011-10-14T14:28:01.120-07:00Hi Nicola,
Personally, I have very limited exposu...Hi Nicola,<br /><br />Personally, I have very limited exposure to Maven1, so I cannot answer your question directly.<br /><br />I do strongly recommend, however, that, if your customer is doing any new development, you convince them to migrate at least to Maven2 since <a href="http://maven.apache.org/maven1.html" rel="nofollow">Maven1 has been in maintenance-only mode for years</a>.<br />There are quite a <a href="http://maven.apache.org/guides/mini/guide-m1-m2.html" rel="nofollow">few </a><a href="http://www.disasterarea.co.uk/blog/?p=196" rel="nofollow">resources </a>online for doing this migration.Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-86277292823726562632011-10-14T13:42:34.450-07:002011-10-14T13:42:34.450-07:00Tim,
is it possible to use maven 1.x?
My problem i...Tim,<br />is it possible to use maven 1.x?<br />My problem is that my client use maven 1.x and is not planned to move to maven 2 or 3<br />ThanksNicola Camillohttps://www.blogger.com/profile/00415719193309206549noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-69498601994516147392011-10-06T06:13:01.240-07:002011-10-06T06:13:01.240-07:00Thanks Tim!
With little modification I was able t...Thanks Tim!<br /><br />With little modification I was able to run and deploy using maven weblogic mojo 2.9.1<br /><br />-Walterwallyhttps://www.blogger.com/profile/04254832273316423832noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-21286570087893053832011-05-26T00:01:18.881-07:002011-05-26T00:01:18.881-07:00Hi,
I have the below exception, can any one please...Hi,<br />I have the below exception, can any one please advice on the issue...<br /><br />[BasicOperation.execute():423] : Initiating deploy operation for app, afm-tar-batch, on targets:<br />[BasicOperation.execute():425] : new-itac<br />weblogic.management.provider.EditWaitTimedOutException: Waited 0 milliseconds<br /> at weblogic.management.provider.internal.EditLockManager.getEditLock(EditLockManager.java:255)<br /> at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:256)<br /> at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:287)<br /> at weblogic.deploy.internal.adminserver.EditAccessHelper.startEditSession(EditAccessHelper.java:72)<br /> at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:215)<br /> at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:817)<br /> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br /> at weblogic.security.service.SecurityManager.runAs(Unknown Source)kvkrishnahttps://www.blogger.com/profile/08030782445750994756noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-81017202723988497832011-01-23T23:44:14.933-08:002011-01-23T23:44:14.933-08:00Hello,
I have tried the same by using Nexus repos...Hello,<br /><br />I have tried the same by using Nexus repository. I have downloaded the weblogic plugin and tried running JWSC task I am geting the following error.<br /><br />Can you please look into this error.<br />BUILD FAILED<br />/wls_domains/CIT/cruisecontrol-bin-2.8.3/util/temp/build.xml:235: Deployment descriptor: /wls_domains/CIT/cruisecontrol-bin-2.8.3/util/temp/temp/_927vxb/web.xml does not exist.<br /> at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)<br /> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:585)<br /> at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)<br /> at org.apache.tools.ant.Task.perform(Task.java:348)<br /> at org.apache.tools.ant.Target.execute(Target.java:357)<br /> at org.apache.tools.ant.Target.performTasks(Target.java:385)<br /> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)<br /> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)<br /> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)<br /> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)<br /> at org.apache.tools.ant.Main.runBuild(Main.java:698)<br /> at org.apache.tools.ant.Main.startAnt(Main.java:199)<br /> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)<br /> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)<br />Caused by: Deployment descriptor: /wls_domains/CIT/cruisecontrol-bin-2.8.3/util/temp/temp/_927vxb/web.xml does not exist.<br /> at org.apache.tools.ant.taskdefs.War.setWebxml(War.java:95)<br /> at weblogic.wsee.tools.anttasks.JwscTask.jar(JwscTask.java:397)<br /> at weblogic.wsee.tools.anttasks.JwscTask.pkg(JwscTask.java:331)<br /> at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:166)<br /> ... 17 more<br />--- Nested Exception ---<br />Deployment descriptor: /wls_domains/CIT/cruisecontrol-bin-2.8.3/util/temp/temp/_927vxb/web.xml does not exist.<br /> at org.apache.tools.ant.taskdefs.War.setWebxml(War.java:95)<br /> at weblogic.wsee.tools.anttasks.JwscTask.jar(JwscTask.java:397)<br /> at weblogic.wsee.tools.anttasks.JwscTask.pkg(JwscTask.java:331)<br /> at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:166)<br /> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:585)<br /> at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)<br /> at org.apache.tools.ant.Task.perform(Task.java:348)<br /> at org.apache.tools.ant.Target.execute(Target.java:357)<br /> at org.apache.tools.ant.Target.performTasks(Target.java:385)<br /> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)<br /> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)<br /> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)<br /> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)<br /> at org.apache.tools.ant.Main.runBuild(Main.java:698)<br /> at org.apache.tools.ant.Main.startAnt(Main.java:199)<br /> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)<br /> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)shekarhttps://www.blogger.com/profile/09582212019206957000noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-65565178455851956142010-09-24T16:46:57.849-07:002010-09-24T16:46:57.849-07:00Hi Vikram,
Thanks for the feedback, and I am happ...Hi Vikram,<br /><br />Thanks for the feedback, and I am happy the post was useful. If you find any improvements, please let me know!<br /><br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-12990276431812736512010-09-24T09:41:07.740-07:002010-09-24T09:41:07.740-07:00Thanks Tim. I am using Maven component in Hudson t...Thanks Tim. I am using Maven component in Hudson to build code checked in to SVN repository.<br />I was searching for a solution to this error: <br /><b><i><br />[ERROR] BUILD ERROR<br />[INFO] ------------------------------------------------------------------------<br />[INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-deploy-plugin:2.4<br /><br />check that the following section of the pom.xml is present and correct:<br /><br /><br /> <br /> <br /> repo<br /> Repository Name<br /> scp://host/path/to/repo<br /> <br /> <br /> <br /> repo<br /> Repository Name<br /> scp://host/path/to/repo<br /> <br /><br /></i></b><br /><br />Your pom.xml file helped me resolve it. The url tag as you mentioned below fixed the issue and the build was successful again!<br /><br /><br /><b><i><br /><br /> <br /> localRepository<br /> Local Repository<br /> file://${HOMEDRIVE}/Docume~1/${USERNAME}/.m2/repository<br /> <br /> <br /></i></b>Anonymoushttps://www.blogger.com/profile/15467049148782721255noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-701203945275495052010-03-27T04:26:20.574-07:002010-03-27T04:26:20.574-07:00This comment has been removed by the author.Jassitzehttps://www.blogger.com/profile/12919410669531814220noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-48490511662446902322009-12-07T08:14:37.972-08:002009-12-07T08:14:37.972-08:00We submitted a patch for 2.9.3-SNAPSHOT. there is ...We submitted a patch for 2.9.3-SNAPSHOT. there is also a perl script in the apt source you can use that will get all of the weblogic artifacts setup for you so you don't have to go through too much pain.<br /><br /><a href="http://jira.codehaus.org/browse/MWEBLOGIC-9" rel="nofollow">http://jira.codehaus.org/browse/MWEBLOGIC-9</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-30715247848132703382009-10-30T11:47:37.664-07:002009-10-30T11:47:37.664-07:00Hi Jon,
Thanks for the feedback. In fact, the bug...Hi Jon,<br />Thanks for the feedback. In fact, the bug and patch (http://jira.codehaus.org/browse/MWEBLOGIC-3) were submitted to jira at the time this blog entry was originally posted.<br />Let me know if you need anything else,<br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-79011142028461233442009-10-30T11:40:56.656-07:002009-10-30T11:40:56.656-07:00Hey guys, if you post your questions and bugs over...Hey guys, if you post your questions and bugs over on the jira site for the maven weblogic mojo, we'd be happy to take a look.<br /><br />JonAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-25822687935679006582009-08-06T07:51:41.033-07:002009-08-06T07:51:41.033-07:00Hi Santosh,
Thanks for the feedback! I will be s...Hi Santosh,<br /><br />Thanks for the feedback! I will be setting something similar up for a customer as a spike for an eventual transition from Ant to Maven. Fortunately, I have Nexus setup, so the manual installation of weblogic libraries in the local repository should be eliminated for the rest of my team. If you are setting up Maven and Weblogic for a team, you might consider using Nexus or Artifactory to make things slightly easier.<br /><br />Cheers,<br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-63514511757369847972009-08-06T00:49:26.276-07:002009-08-06T00:49:26.276-07:00Hi Tim,
Just fantastic, I replicated it at my end...Hi Tim,<br /><br />Just fantastic, I replicated it at my end by following your post :)Unknownhttps://www.blogger.com/profile/09717061573615313760noreply@blogger.com