Spring RMI Remoting Maven Build ClassCast Execption

e have used spring remoting using RMI feature, where the service and client are deployed on same weblogic server. I am using JndiRmiServiceExporter and JndiRmiProxyFactoryBean. It works fine if i deploy the applications through weblogic workshop. But it fails at runtime when a maven build is done and deployed throwing an error
org.springframework.remoting.RemoteLookupFailureException: Could not narrow RMI stub to service interface [xxx.xxIntf]; nested exception is java.lang.ClassCastException: Cannot narrow remote object ClusterableRemoteRef(1683913221122928763S::production_domain:AdminServer [1683913221122928763S::production_domain:AdminServer/416])/416 to xxxx.xxIntf
Client applicationContext xml entries
<bean class="org.springframework.remoting.rmi.JndiRmiServiceExporter">
          <property name="service" value="xxxxImpl"/>
          <property name="jndiName" value="jndiName"/>
          <property name="serviceInterface" value="xxxxIntf"/>
     </bean>
Server applicationContext xml entries
<bean id="bean-id" class="org.springframework.remoting.rmi.JndiRmiProxyFactoryBean">
          <property name="jndiName" value="jndiName"/>
          <property name="jndiEnvironment">
               <props>
                    <prop key="java.naming.factory.url.pkgs">weblogic.jndi.factories</prop>
               </props>
          </property>
          <property name="serviceInterface" value="xxxxxIntf"/>
          <property name="refreshStubOnConnectFailure"><value>true</value></property>
          <property name="lookupStubOnStartup"><value>false</value></property>
     </bean>
Does anything has to be included when a maven build is done.

Hi
I have a similar issue with ant. I try to do a remote lookup via an custom built ant task, but it fails at runtime with the same exception that you got.
Did you found any solution?
regards
Kalle

Similar Messages

  • Help needed to move a java.rmi.Remote object.....

    Hi,
    I have an object extending java.rmi.Remote on a server. I want to get it onto a client (ie the actual object, not a reference to the object on the server).
    The catch (isn't there always one):
    The client must only get class definitions/interface definitions from the java.rmi.server.codebase
    (ie I don't want to use a network classloader).
    Anyone any ideas?
    Kev.

    If you have a class that implements java.rmi.Remote then the objects of that class by definition are available for Remote access (ie, they are passed by reference). Remote objects can't be passed by value. However, if you want objects of a particular class to be passed by value you could have the class implement java.io.Serializable instead of java.rmi.Remote.
    Hope this helps.

  • Java.rmi.remote error

    Hello,
    I recently wrote a simply Infobus applet which includes a
    LoginDialog.
    1.when i run it in Jdeveloper(not be packed into .jar
    or .zip), i can login but get a error:"java.lang.OutofMemory",
    however,the frame will appear slowly when i reload the applet.
    (128M RAM in my PC).
    2.when i deployed it into myjar2.jar ,then run it in
    Jdeveloper, I can't login and get a error:"Named Connection cn1
    not be opened", (myjar2.jar includes the
    files: "connections.properties", "cn1.xml","Applet2.class ",etc .
    3.when i run it from client browser(IE5 & Netscape 4.7) after
    deployed,i can see the LoginDialog ,but can't login and get
    error:"java.rmi.remote".
    Please help me to resolve!
    Thanks!
    null

    Hi,
    When you run from within JDeveloper, make sure you are running
    the HTML file rather than the applet.java file. I have had
    better luck when using the HTML file to run, especially with the
    login dialog.
    When you run from a browser externally, make sure you are using
    the JDK 1.2 plugin. I think the release notes contain
    information on where to get it and how to use it.
    Laura
    lxd (guest) wrote:
    : Hello,
    : I recently wrote a simply Infobus applet which includes a
    : LoginDialog.
    : 1.when i run it in Jdeveloper(not be packed into .jar
    : or .zip), i can login but get a error:"java.lang.OutofMemory",
    : however,the frame will appear slowly when i reload the applet.
    : (128M RAM in my PC).
    : 2.when i deployed it into myjar2.jar ,then run it in
    : Jdeveloper, I can't login and get a error:"Named Connection cn1
    : not be opened", (myjar2.jar includes the
    : files: "connections.properties", "cn1.xml","Applet2.class ",etc
    : 3.when i run it from client browser(IE5 & Netscape 4.7)
    after
    : deployed,i can see the LoginDialog ,but can't login and get
    : error:"java.rmi.remote".
    : Please help me to resolve!
    : Thanks!
    null

  • Error class rmi.Remote not found

    I m using a RMI chat in an apllication in tomcat, the chat applet doesn t appear : Error classNotFound rmi.Remote. I don t understand why ?? It should show something before trying to connect.

    If it works in appletviewer but not in the browser, it's usually because the browser is not using the same JVM as appletviewer is, OR that the applet is trying to do things not normally allowed by the security model for applets. In this case, it's probably that your browser is using the old Microsoft JVM - get the Java Plug-in and configure it to be used by your browser.

  • RMI Remote reference is getting garbage collected

    Hi,
    I'm using Weblogic 5.1, on Windows NT.
    I have RMI remote object on the server side, and my client is an applet.
    In the applet I use JNDI to get the reference of the server object, and
    use it. The problem is after sometime ( like 10 min or so) I get
    weblogic.rmi.NoSuchObjectException
    and at the WLServer console I see
    ' <DGCServer> tried to renew lease for 1 lost reference'.
    At the server side, I bind the object using JNDI.
    I want thsi reference to be available all the time in the applet.
    any help is appreciated.
    thanks,
    Abdul.

    Refer to my post on misc. Do not cross-post.
    Cheers - Wei
    aroshan <@cisco.com> wrote in message news:[email protected]..
    Hi,
    I'm using Weblogic 5.1, on Windows NT.
    I have RMI remote object on the server side, and my client is an applet.
    In the applet I use JNDI to get the reference of the server object, and
    use it. The problem is after sometime ( like 10 min or so) I get
    weblogic.rmi.NoSuchObjectException
    and at the WLServer console I see
    ' <DGCServer> tried to renew lease for 1 lost reference'.
    At the server side, I bind the object using JNDI.
    I want thsi reference to be available all the time in the applet.
    any help is appreciated.
    thanks,
    Abdul.

  • Check java.rmi.Remote client alive?

    Hi,
    I have a Client program which extends java.rmi.Remote and a Server program which has a method Connect(java.rmi.Remote client).
    in my Server program, I add the "java.rmi.Remote client" stub reference into a vector when any client calls the remote method Connect(java.rmi.Remote client).
    when I am trying to check if the client is still alive, how could i make use of the stub reference to do so? I have check if the reference is null but it doesn't work.
    Thank you for any help.

    I am checking on the client without client knowing it. i need to use this when any of the client call my server method to shut down.
    i will need to check that no client are connected or alive before shutting down the server. this is why the operation have to be transparent to all other client.
    Yet i could not change the callback interface as it has been published and there are all sort of clients connecting to the server using this interface.
    Probably could I achieve that using socket connection ?
    i would appreciate if someone could suggest a solution to it. Thank you.
    Message was edited by:
    eddy_nyp

  • Incorporating Crystal Reports for Eclipse into a Maven build

    Is there a way to support or work around Maven dependencies for Crystal Reports?
    I'm working on a project in MyEclipse 8.5 and building it into an ear file using the integrated Maven support.
    We just recently started incorporating Crystal Reports into our project, and I have all the jar files in the WebINF\lib folder and the crystalreportviewers folder in the project as well and when I run the reports and viewers from jsp pages it works fine because Maven doesn't actually compile those. The problem is that I need to run scheduled reports in the background without ever showing anything to the user but whenever I try to access crystal reports directly in my java servlet classes my import line
    import com.crystaldecisions.sdk.occa.report.document.*;
    throws the following error:
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project webui: Compilation failure: Compilation failure:
    C:\...SchedulingServlet.java:[17,0]package com.crystaldecisions.sdk.occa.report.document does not exist
    Even if I'm not doing anything with it.
    I'm still new to Maven, jsp, and Crystal Reports, so any suggestions would be awesome.

    I get that error without even having any .prt files in the project.
    having the import statement alone throws that error

  • Rmi remote reference lookup very slow in web start application

    I have a little problem with the RMI communication in a web start test application.
    It is a very simple program in which the client calls a remote object that returns a String.
    Everything seems to be working fine when i'm running/debugging the client app in eclipse, but when i package my client project into a jar file and run it as a web start application (i'm providing the jnlp on a local webserver) the remote reference lookup takes about 15 seconds.
    basically, what my client does is this:
    Registry registry = LocateRegistry.getRegistry(address);
    ServerTransaction st= (ServerTransaction) registry.lookup(name);
    String result = st.test();
    The server code looks like this:
    String name = "ServerTransaction";
    ServerTransaction engine = new DefaultServerTransaction();
    ServerTransaction stub = (ServerTransaction) UnicastRemoteObject.exportObject(engine, 0);
    Registry registry = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);
    registry.rebind(name, stub);
    The server runs as a normal stand alone java application on my local machine as well.
    And here the content of the jnlp file for the client application:
    <resources>
         <jar href="WSTest.jar"/>
         <jar href="WSTestServer.jar"/>
         <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
         <property name="serverAddress" value="127.0.0.1" />
    </resources>
    <security>
         <all-permissions/>
    </security>
    <application-desc main-class="test.WSTest"/>
    As i said, the whole thing works when run as a normal java application as well as with web start, with the difference that the remote reference lookup takes about 15 seconds with web start.
    Can anyone tell me how i could go about this?

    Meanwhile, i tried the same thing at home on my xp machine (i use vista at work), and even though my test at home basically does the same thing (invoking a simple remote method that just returns "hello world") it worked pretty fast, contary to the 15 second hang on vista.
    So i can't really say where the problem is...
    I also found these two rmi properties
    sun.rmi.transport.connectionTimeout (1.1.6 and later)
    The value of this property represents the period (in milliseconds) for which socket connections may reside in an "unused" state, before the Java RMI runtime will allow those connections to be freed (closed). The default value is 15000 milliseconds (15 seconds).
    and
    sun.rmi.transport.proxy.connectTimeout (1.1 and later)
    The value of this property represents the maximum length of time (in milliseconds) that the Java RMI runtime will wait for a connection attempt (createSocket) to complete, before attempting to contact the server using HTTP. This property is only used when the http.proxyHost property is set and the value of java.rmi.server.disableHttp is false. The default value is 15000 milliseconds (15 seconds).
    Hoping it would help (totally clueless) i tried to set these as system properties via System.setProperty(...) to a lower value (if that even works this was - please correct me if i am totally wrong here) but it didn't help.

  • 32-bit JMX/RMI Remote Connection to 64-bit

    I am trying to connect to the standard JDK5 JMX server running on RedHat 64-bit Linux from a 32-bit Windows box and continually get Connection refused. Both are running JDK 1.5.0_05, 64-bit version on Linux, 32-bit version on Windows.
    Is there a problem connecting between 64-bit and 32-bit OSes? I don't understand "connection refused" if that is the problem.
    There is no NAT and no firewall. I am able to connect to other Java services on that box, just not the JMX server. I can browse the RMI Registry on that machine (using the RMI Explorer plug-in from IDEA) but when I try to execute any of the methods I get Connection refused: connect at java.net.PlainSocketImpl.socketConnect. I know I'm connecting to the standard JMX registry because I can see the jmxrmi registry object with methods getVersion() and newClient(). I get the exception when I try to execute, say, the getVersion() method.
    JConsole is also not able to connect remotely.
    I am, however, able to connect from code running locally on the Linux box. But I am not able to connect from code running on the Windows client through an SSH tunnel.
    It appears that 64-bit and 32-bit JVMs cannot communicate over RMI, but is there another explanation?
    Robert

    I have the same problem using jmx through a ssh-tunnel.
    Neither programmatically by JMXConnector nor with jconsole it is possible to connect. It seems that the initial request works but then some kind of redirect forces a connect to the endpoint which is not possible at the other side of the tunnel. Instead it should use the local tunnel-port.
    So I get "connection refused" for an ip-address that is surely not available from my desktop.
    I found several similar problem-descriptions in different newsgroups but no answers how to solve it.

  • Java.lang.SecurityException on maven build with Xtext and XCore from Mars

    Following the usual maven tutorial, and examples shown before in this forum, I'm attempting to upgrade a maven project that uses xtext and xcore to versions as present in a fresh Eclipse Mars install.
    When running the xtext-maven-plugin on the .xcore file, it gets to:
    [INFO] Validate and generate.
    [INFO] Starting validation for input: 'XCoG.xcore'
    [INFO] Starting generator for input: 'XCoG.xcore'
    and then reports (several hundred times)
    java.lang.SecurityException: class "org.eclipse.core.runtime.Plugin"'s signer information does not match signer information of other classes in the same package
    and nothing is generated.
    The relevant bit of the exception trace seems to be:
    org.eclipse.emf.codegen.ecore.genmodel.util.GenModelUtil.getJavaOptions(GenModelUtil.java:128)
    which is a line that references class JavaCore, which is an import from org.eclipse.jdt.core.
    The full debug log of the build seems to show there are two different version of org.eclipse.jdt.core in play,
    org.eclipse.jdt.core:jar:3.11.0.v20150602-1242 which is as released with Mars.
    org.eclipse.tycho:org.eclipse.jdt.core:jar:3.10.0.v20140604-1726 which is a dependency of org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.8.3,
    which comes because the pom.xml in org.eclipse.xtext.dependencies specifies:
    <dependency>
    <groupId>org.eclipse.tycho</groupId>
    <artifactId>org.eclipse.jdt.core</artifactId>
    <version>3.10.0.v20140604-1726</version>
    </dependency>
    is that an error? And is there any workaround?

    Just to dump the results here in case it helps someone else (or me next year):
    The signature conflict is between the jars org.eclipse.core.runtime 3.7.0 and org.eclipse.equinox.common 3.6.200, because both have the package org.eclipse.core.runtime, but only the former has class Plugin.
    org.eclipse.emf.codegen.ecore.genmodel.util.GenModelUtil references org.eclipse.jdt.core.JavaCore which references many classes from org.eclipse.core.runtime including Plugin. So it ends up with half of each package, hence the error.
    To get things to work, I needed to fiddle things until the bundle org.eclipse.core.runtime was searched before org.eclipse.equinox.common. This wasn't as simple as copying the example, as I was using tycho and there were other dependencies involved, but once I understood what was going on, it was just trial and error.
    Can't help but thing there is something fundamentally flawed about the design of one or more of OSGI, eclipse or tycho here given everything is so fragile. Beneath jar hell there is a deeper pit where things only work if jars are in the right order, and you can't directly specify the order...

  • Error in Maven build

    Hi,
    I am trying to build a code in Eclipse using Maven framework. For the project, I need to include a weblogic.jar file which is not available in maven repository. For that, I have made the following changes in the pom.xml for including the depencies and jar file :
    <dependency>
    <groupId>bea</groupId>
    <artifactId>weblogic</artifactId>
    <version>10.3.3</version>
    <scope>system</scope>
    <systemPath>${basedir}/src/non-packaged-resources/</systemPath>
    </dependency>
    <plugin>
                   <groupId>com.googlecode.addjars-maven-plugin</groupId>
                   <artifactId>addjars-maven-plugin</artifactId>
                   <version>1.0.2</version>
                   <executions>
                   <execution>
                   <goals>
                   <goal>add-jars</goal>
                   </goals>
                   <configuration>
                   <resources>
                   <resource>
                   <directory>src/non-packaged-resources/bea/weblogic/10.3.3</directory>
                   <includes>
                   <include>weblogic-10.3.3.jar</include>
                   </includes>
                   </resource>
                   </resources>
                   </configuration>
                   </execution>
                   </executions>
                   </plugin>
    I have included the jar file in $project/src/non-packaged-resources/bea/weblogic/10.3.3/
    I am getting the following error :
    Could not find artifact bea:weblogic:jar:10.3.3 at specified path U:\Draco\artifacts\Draco-jar\src\non-packaged-resources
    Please help!

    This is really not the correct forum to ask this question. Perhaps post it in a Maven forum, or ask a co-worker/friend with maven expertise.

  • Maven Build Errors from XMExtensionGuide.pdf - Tools & Frameworks 3.1.0

    I've downloaded the required files and have followed the instructions in the XMExtensionGuide, and am receiving the following error when trying to execute:
    mvn -Pinstall-api
    [INFO] Scanning for projects...
    [WARNING] The POM for com.adobe.flex:compiler:pom:4.5.1.21328 is missing, no dependency information available
    [WARNING] The POM for com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 is missing, no dependency information available
    [WARNING] The POM for com.adobe.flex.compiler:digest:jar:4.5.1.21328 is missing, no dependency information available
    [WARNING] The POM for com.adobe.flex.compiler:optimizer:jar:4.5.1.21328 is missing, no dependency information available
    [WARNING] The POM for com.adobe.flex.compiler:asdoc:jar:4.5.1.21328 is missing, no dependency information available
    [WARNING] The POM for com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328 is missing, no dependency information available
    [WARNING] The POM for net.sf.saxon:saxon-dom:jar:9.0 is missing, no dependency information available
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR] The project com.endeca:sample_editors:0.1 (C:\Endeca\ToolsAndFrameworks\3.1.0\editor_sdk\reference\build\maven\pom.xml) has 1 error
    [ERROR] Unresolveable build extension: Plugin org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328, com.adobe.flex.compiler:digest:jar:4.5.1.21328, com.adobe.flex.compiler:optimizer:jar:4.5.1.21328, com.adobe.flex.compiler:asdoc:jar:4.5.1.21328, com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328, net.sf.saxon:saxon-dom:jar:9.0, com.adobe.flex:compiler:pom:4.5.1.21328: Failure to find com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
    I've read a few articles online and tried to download the plugin, but the download page gives a 404 error. The closest available was flexmojos-maven-plugin-4.0-alpha-5.jar, so I got that, changed the POM reference and tried again. It got further, but ended up with the same basic errors after a lot of downloading:
    -1.0.RC6.jar (13 KB at 36.4 KB/sec)
    Downloaded: http://repo.maven.apache.org/maven2/com/googlecode/apparat/apparat-core/1.0.RC6/apparat-core-1.0.RC6.jar (18
    93 KB at 1332.7 KB/sec)
    Downloaded: http://repo.maven.apache.org/maven2/org/scala-lang/scala-library/2.8.0/scala-library-2.8.0.jar (6017 KB at 1
    620.4 KB/sec)
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR] The project com.endeca:sample_editors:0.1 (C:\Endeca\ToolsAndFrameworks\3.1.0\editor_sdk\reference\build\maven
    \pom.xml) has 1 error
    [ERROR] Unresolveable build extension: Plugin org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-alpha-5 or one of it
    s dependencies could not be resolved: The following artifacts could not be resolved: com.adobe.flex:compiler:pom:4.1.0.1
    6076, com.adobe.flex.compiler:mxmlc:jar:4.1.0.16076, com.adobe.flex.compiler:digest:jar:4.1.0.16076, com.adobe.flex.comp
    iler:optimizer:jar:4.1.0.16076, com.adobe.flex.compiler:asdoc:jar:4.1.0.16076, com.adobe.flex.compiler:swcdepends:jar:4.
    1.0.16076, net.sf.saxon:saxon-dom:jar:9.0, jgoogleanalytics:jgoogleanalytics:jar:0.2: Failure to find com.adobe.flex:com
    piler:pom:4.1.0.16076 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be
    reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
    Any thoughts?

    Thanks to Ben Trafton for the answer:
    It turns out that Flex compiler dependencies are not hosted on Maven Central, so that is causing the build to fail. This issue would be masked if it is tested in an environment where Maven has access to other repositories with these dependencies (e.g. Endeca Maven repository).
    Specifying an additional repository either in the project POM file or in the Maven settings.xml fixed the problem for me. Based on information on this web page -http://www.adobe.com/devnet/flex/articles/flex-maven-flexmojos-pt1.html, this is what I added into the project pom.xml right before the build element:
    <repositories>
    <repository>
    <id>flex-mojos-repository</id>
    <url>http://repository.sonatype.org/content/groups/flexgroup</url>
    </repository>
    </repositories>
    <pluginRepositories>
    <pluginRepository>
    <id>flex-mojos-repository</id>
    <url>http://repository.sonatype.org/content/groups/flexgroup</url>
    </pluginRepository>
    </pluginRepositories>
    The first build failed for me because of a timeout during artifact download. The second time the build succeeded.

  • Rmi remotely!

    I have developed an RMI application with client an server running on the same machine,and it works fine. but when I try to deploy the client remotely(from a different machine), it does not even get to execute. My guess is that when invoke MyremoteInterface c=(MyremoteInterface)myreg.lookup("calculator"); on the client side, it does not recognize MyremoteInterface. When done on the same machine, I do have to import the remote interface in the client package. should I do the same thing remotely? if so how? 
    Thank you.

    No need to guess. Post the exception and stack trace here. Or whatever you're observing that isn't expected.

  • Need information on Maven build script for ATG Project

    Hi All,
    I'm trying to build ATG project with Maven 2 script. Can anybody share sample pom.xml to build ATG project?
    How can I find ATG thirdparty jars for maven or Do I need to deploy ATG jars to my local repository?
    How can I move in this scenario? Please share information with me.
    Thanks,
    Narasimha.

    I know that this is a pretty old post
    but has anyone shared a tutorial or other info on using maven with ATG ?
    thanks in advance

  • Maven build OSB

    Hi,
    We are using OSB 10gr3 and we are able to build OSB artifacts using maven. When we run the scripts in headless mode (on the build server) I see the following in the logs -
    Exception in thread "Thread-2" org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
    [INFO]      at org.eclipse.swt.SWT.error(SWT.java:3589)
    [INFO]      at org.eclipse.swt.widgets.Display.createDisplay(Display.java:836)
    [INFO]      at org.eclipse.swt.widgets.Display.create(Display.java:824)
    [INFO]      at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
    [INFO]      at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
    [INFO]      at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
    [INFO]      at org.eclipse.swt.widgets.Display.getDefault(Display.java:1604)
    [INFO]      at com.bea.workshop.wls.core.internal.WlsCorePlugin.checkJDK16VMArgument(WlsCorePlugin.java:204)
    [INFO]      at com.bea.workshop.wls.core.internal.WlsCorePlugin.access$0(WlsCorePlugin.java:193)
    [INFO]      at com.bea.workshop.wls.core.internal.WlsCorePlugin$StartupHandler$1.run(WlsCorePlugin.java:162)
    The build is successful though. Is there a way to get rid of this exception when we build in headless mode?
    Thanks a lot.

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ? how you are able to build OSB artifacts using maven ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

Maybe you are looking for