Kodo 4.1.2 in Weblogic 10 Problem

I was told by BEA that Kodo/openJPA is included in Weblogic 10. However, now I have Weblogic 10 but I could not located much Kodo classes from Weblogic libraries. I searched all the JARs under BEA_HOME\wlserver_10.0\server\lib.
I also tried to migrate Kodo/JPA application from Weblogic 9.2 to Weblogic 10. My application depends on Kodo JCA deployment in managed environment. The application and Kodo JCA deployed fine into Weblogic 10. But when I test any application, the test failed when I tried to create EntityMaanger from EntityManagerFactory:
Caused by: <4|false|0.9.7> org.apache.openjpa.persistence.ArgumentException: config-error
     at weblogic.kodo.event.ClusterRemoteCommitProvider.endConfiguration(ClusterRemoteCommitProvider.java:112)
     at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:447)
     at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiate(RemoteCommitProviderValue.java:122)
     at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiateProvider(RemoteCommitProviderValue.java:103)
     at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiateProvider(RemoteCommitProviderValue.java:95)
     at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newRemoteCommitProviderInstance(OpenJPAConfigurationImpl.java:708)
     at org.apache.openjpa.event.RemoteCommitEventManager.(RemoteCommitEventManager.java:56)
     at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getRemoteCommitEventManager(OpenJPAConfigurationImpl.java:720)
     at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:177)
     at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:139)
     at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:187)
     at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:140)
     at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:144)
     at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:23)
     at com.psi.vida.ejb.JPASessionBean.list(JPASessionBean.java:165)
     at com.psi.vida.ejb.JPASessionEJB_lvtqkz_EOImpl.list(JPASessionEJB_lvtqkz_EOImpl.java:134)
     at com.psi.vida.ejb.JPASessionEJB_lvtqkz_EOImpl_WLSkel.invoke(Unknown Source)
     at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
     ... 17 more
Caused by: java.lang.Exception: <0|true|0.9.7> org.apache.openjpa.persistence.PersistenceException: no-trasport
     at org.apache.openjpa.util.Exceptions.replaceNestedThrowables(Exceptions.java:230)
     at org.apache.openjpa.persistence.ArgumentException.writeObject(ArgumentException.java:104)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
     at weblogic.rmi.extensions.server.CBVOutputStream.writeObject(CBVOutputStream.java:84)
     at weblogic.rmi.internal.ServerRequest.unmarshalThrowable(ServerRequest.java:349)
     at weblogic.rmi.internal.ServerRequest.getThrowable(ServerRequest.java:62)
     at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:203)
     ... 17 more

I was told by BEA that Kodo/openJPA is included in
Weblogic 10. However, now I have Weblogic 10 but I
could not located much Kodo classes from Weblogic
libraries. I searched all the JARs under
BEA_HOME\wlserver_10.0\server\lib. They're in the (new) modules directory. weblogic.jar refers to stuff in the modules directory via its manifest classpath.
I also tried to migrate Kodo/JPA application from
Weblogic 9.2 to Weblogic 10. My application depends
on Kodo JCA deployment in managed environment. The
application and Kodo JCA deployed fine into Weblogic
10. But when I test any application, the test failed
when I tried to create EntityMaanger from
EntityManagerFactory:Interesting. I do not know what the status of Kodo JCA testing is in WebLogic 10, but it sounds like something is a bit wonky.
Basically, in a WLS environment, the default remote commit provider is automatically set to the new weblogic.kodo.event.ClusterRemoteCommitProvider, which uses the WLS clustering protocol to communicate cache notifications. The error that you're seeing indicates that cluster services are not available in the execution context. You can probably get around this by explicitly setting the 'kodo.RemoteCommitProvider' option to 'sjvm' (if you're not running in a cluster), or to whatever you had it set to in the past. (I'm guessing that it was unset in the past, as otherwise, the configuration should be picking up that instead of the new default.)
However, personally, I much prefer the new persistence.xml configuration file format, compared to JCA configuration. (You can trivially use the persistence.xml format with Kodo JDO, even though it's a JPA-specified feature.) You might want to look into moving away from JCA and to the persistence.xml style instead.
If you do this, you'll end up putting a META-INF/persistence.xml file in your EAR (and possibly a META-INF/persistence-configuration.xml file, if you want to use the strongly-typed Kodo XML configuration format), and replacing your JNDI lookups with java:comp/env/persistence/<persistence-unit-name>. (I think that's the right location. I might be mistaken, though.)
Also, I can't guarantee that WebLogic 10 really handles JCA configuration all that well; some bits of that exception make it look like maybe some resources are not available in the classloader, which is surprising. So, it's possible that there is some sort of more fundamental JCA problem here (and not just a problem with the new remote commit provider).
-Patrick

Similar Messages

  • JAX-WS PL/SQL  Web Service with JDeveloper (Weblogic problem)

    Hello,
    does anyone know how to create a JAX-WS webservice based on a pl-sql package using JDeveloper? Maybe it is possible with a newer version of JDeveloper 11.1.2.3, currently I'm using 11.1.1.6 which only offers a JAX-RPC for PlSql Web services.
    I'm facing a problem right now trying to deploy an jax-rpc web service on Weblogic 10.3.4. Actually it seems to be an WebLogic problem because weblogic doesn't support the older standard (JAX-RPC). So I've extended the weblogic domain using Fusion Middleware Configuration Wizard like described for example here . Unfortunately it doesn't help. Deploying my applicaiton on a forms11g (11.1.1.4) domain (which goes hand in hand with the weblogic domain (?)) is successful. But anyway I can't call the WSDL or test the web service using weblogic console. Other services (jax-ws) work without any problem on the same forms domain.
    I would appreciate any hint, how to automatically produce an jax-ws web service from an plsql package or how to run a jax-rpc web service on weblogic 10.3.4. It's Weblogic Basic Server actually, but I'm of the opinion it doesn't play a role in my case.
    Thank you in advance for your hints.
    Kind regards,
    Anton
    Edit: I would appreciate any hint how to check if a weblogic domain supports jax-rpc (if extended correctly). Thanks.

    We can generate jaxws from 11.1.2.0 onwards using This is now provided by the TopLink web service provider builder, which can be via the TopLink DBWS provider wizard from JDeveloper since the 11.1.2.0.0 release
    1.4.4 Database Web Services (DBWS)
    http://docs.oracle.com/cd/E23943_01/doc.1111/e26045/general.htm#CHDIEEHG
    Hope that heps
    Regards,
    Sunil P

  • JDeveloper + WebLogic: Problem deploying

    Greetings,
    I'm new to Oracle and JDeveloper and I'm developing an application (webservice) that uses Oracle 11g as database. To develop the webservice I'm using JDeveloper Studio Edition Version 11.1.1.0.1 and WebLogic application server.
    Everything was running fine until yesterday, when for unknown reasons I could no longer use SQLDeveloper to connect to Oracle database. Searching the web I found a possible solution that consisted in installing a loopback adapter. I did it and it worked, I could connect again using SQLDeveloper and/or JDBC.
    The problem is that now I'm not able to deploy applications from JDeveloper into WebLogic.
    I'm not sure if this is related to the loopback adapter, but it was the only thing I've changed. It doesn't look like a WebLogic problem because I can start the server outside JDeveloper, access the console (although not from [http://localhost:7001/console,] only if I use [http://127.0.0.1:7101/console] or [http://mycomputername:7101/console]). It indicates that the server is running "OK".
    However, if I use JDeveloper to "Test Web Service" (like I used to), it takes a long time for the server to start (3-4 minutes compared to less that 1 minute previously), with the following log:
    C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    [http://waiting for the server to complete its initialization...]
    CLASSPATH=;C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\oracle\product\11.1.0\client_1\bin;C:\oracle\product\11.1.0\db_1\bin;C:\Program Files (x86)\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.6.0_12\bin\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=localhost -DproxyPort=8099 -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8099 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8099 -Dhttps.nonProxyHosts= -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    &lt;Mar 11, 2009 2:20:12 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000395&gt; &lt;Following extensions directory contents added to the end of the classpath:
    C:\oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar&gt;
    &lt;Mar 11, 2009 2:20:13 PM GMT&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000377&gt; &lt;Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.&gt;
    &lt;Mar 11, 2009 2:20:13 PM GMT&gt; &lt;Info&gt; &lt;Management&gt; &lt;BEA-141107&gt; &lt;Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
    WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
    WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 &gt;
    &lt;Mar 11, 2009 2:20:13 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Mar 11, 2009 2:20:13 PM GMT&gt; &lt;Info&gt; &lt;WorkManager&gt; &lt;BEA-002900&gt; &lt;Initializing self-tuning thread pool&gt;
    &lt;Mar 11, 2009 2:20:14 PM GMT&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170019&gt; &lt;The server log file C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.&gt;
    &lt;Mar 11, 2009 2:20:15 PM GMT&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090082&gt; &lt;Security initializing using security realm myrealm.&gt;
    &lt;Mar 11, 2009 2:20:17 PM GMT&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddi was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.&gt;
    &lt;Mar 11, 2009 2:20:17 PM GMT&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STANDBY&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170027&gt; &lt;The Server has established connection with the Domain level Diagnostic Service successfully.&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to ADMIN&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RESUMING&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "192.168.11.65", maps to multiple IP addresses: 192.168.11.65, 192.168.99.99, 127.0.0.1&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[1]" is now listening on 192.168.99.99:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[2]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default" is now listening on 192.168.11.65:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000331&gt; &lt;Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "mycomputername", maps to multiple IP addresses: 192.168.11.65, 192.168.99.99, 127.0.0.1&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "127.0.0.1", maps to multiple IP addresses: 192.168.11.65, 192.168.99.99, 127.0.0.1&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RUNNING&gt;
    &lt;Mar 11, 2009 2:20:18 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000360&gt; &lt;Server started in RUNNING mode&gt;
    &lt;Mar 11, 2009 2:21:57 PM GMT&gt; &lt;Warning&gt; &lt;netuix&gt; &lt;BEA-423420&gt; &lt;Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.&gt;
    DefaultServer startup time: 121578 ms.
    DefaultServer started.
    Apparently the server has started and is running (I can access the console through a browser, says RUNNING and OK), however, the message log reads:
    [Application Application1 is bound to Server Instance DefaultServer|http://forums.oracle.com/forums/]
    Compiling...
    Context: MakeProjectAndDependenciesCommand application=Application1.jws project=Project1.jpr
    C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\Application1\Project1\classes -namereferences -make C:\JDeveloper\mywork\Application1\Project1\classes\Project1.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\Application1\Project1\classes;C:\oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\Application1\Project1\src;C:\Oracle\Middleware\jdk160_05\src.zip C:\JDeveloper\mywork\Application1\Project1\src\project1\Class1.java
    [1:53:21 PM|http://forums.oracle.com/forums/] Successful compilation: 0 errors, 0 warnings.
    [Application Application1 is bound to Server Instance DefaultServer|http://forums.oracle.com/forums/]
    [Starting Server Instance DefaultServer|http://forums.oracle.com/forums/]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    And the webservice tester doesn't show up, probably because the application was never deployed.
    Does anyone have any ideas on what might be wrong?
    Thank you in advance,
    ~Ruben Jorge
    Edited by: user10768356 on Mar 11, 2009 8:55 AM

    I tried to fill the "Listen address" property of my server using the console to "localhost" and when I try to test my web service it now goes much faster, but gives me the following error messages:
    C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\oracle\product\11.1.0\client_1\bin;C:\oracle\product\11.1.0\db_1\bin;C:\Program Files (x86)\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.6.0_12\bin\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=localhost -DproxyPort=8099 -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8099 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8099 -Dhttps.nonProxyHosts= -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    &lt;Mar 11, 2009 2:45:47 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000395&gt; &lt;Following extensions directory contents added to the end of the classpath:
    C:\oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar&gt;
    &lt;Mar 11, 2009 2:45:48 PM GMT&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000377&gt; &lt;Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.&gt;
    &lt;Mar 11, 2009 2:45:48 PM GMT&gt; &lt;Info&gt; &lt;Management&gt; &lt;BEA-141107&gt; &lt;Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
    WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
    WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 &gt;
    &lt;Mar 11, 2009 2:45:49 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Mar 11, 2009 2:45:49 PM GMT&gt; &lt;Info&gt; &lt;WorkManager&gt; &lt;BEA-002900&gt; &lt;Initializing self-tuning thread pool&gt;
    &lt;Mar 11, 2009 2:45:49 PM GMT&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170019&gt; &lt;The server log file C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.&gt;
    &lt;Mar 11, 2009 2:45:51 PM GMT&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090082&gt; &lt;Security initializing using security realm myrealm.&gt;
    &lt;Mar 11, 2009 2:45:52 PM GMT&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.&gt;
    &lt;Mar 11, 2009 2:45:52 PM GMT&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STANDBY&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170027&gt; &lt;The Server has established connection with the Domain level Diagnostic Service successfully.&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to ADMIN&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RESUMING&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000331&gt; &lt;Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RUNNING&gt;
    &lt;Mar 11, 2009 2:45:53 PM GMT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000360&gt; &lt;Server started in RUNNING mode&gt;
    DefaultServer startup time: 9152 ms.
    DefaultServer started.
    [Running application Application1 on Server Instance DefaultServer...]
    ---- Deployment started. ---- Mar 11, 2009 2:45:55 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-03-11 14:45:55.994: Writing WAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1\Application1-Project1-webapp
    2009-03-11 14:45:56.007: Wrote WAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1\Application1-Project1-webapp
    2009-03-11 14:45:56.121: Writing EAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1
    2009-03-11 14:45:56.131: Wrote EAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1
    #### Deployment incomplete. #### Mar 11, 2009 2:45:58 PM
    oracle.jdeveloper.deploy.DeployException
    at oracle.jdevimpl.deploy.adrs.wls.Jsr88AdrsRemoteDeployer.initializeHelper(Jsr88AdrsRemoteDeployer.java:52)
    at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:139)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
    at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
    at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.rc.asadapter.connection.ConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
    at oracle.rc.asadapter.weblogic.connection.Weblogic10Jsr88Provider.getPresentation(Weblogic10Jsr88Provider.java:100)
    at oracle.rc.asadapter.connection.AppServerConnectionImpl.getPresentation(AppServerConnectionImpl.java:65)
    at oracle.jdevimpl.deploy.adrs.wls.Jsr88AdrsRemoteDeployer.initializeHelper(Jsr88AdrsRemoteDeployer.java:43)
    ... 11 more
    Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.&lt;init&gt;(WebLogicDeploymentManagerImpl.java:121)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    at oracle.rc.asadapter.weblogic.connection.Weblogic10Jsr88Provider.getPresentation(Weblogic10Jsr88Provider.java:97)
    ... 13 more
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.&lt;init&gt;(WebLogicDeploymentManagerImpl.java:118)
    ... 15 more
    Caused by: java.io.IOException
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
    ... 19 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:7101: Destination unreachable; nested exception is:
        java.net.ConnectException: Connection refused: connect; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:197)
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
    ... 23 more
    Caused by: java.net.ConnectException: t3://127.0.0.1:7101: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    ... 31 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
    ... 36 more
    #### Cannot run application Application1 due to error deploying to DefaultServer.
    [Application Application1 stopped and undeployed from Server Instance DefaultServer]
    Also I noticed that JDeveloper wasn't even able to shutdown the server as it couldn't connect to it. With the "Listen address" property set to "localhost" it shuts it down perfectly.

  • Kodo 4.1.2 license key problem

    Has anyone tried the JDO tutorial provided with Kodo 4.1.2? Everything works fine until I try to create the mappings with 'mappingtool -p jdo.properties package.jdo'. Then I get:
    Exception in thread "main" com.solarmetric.license.LicenseException: No product
    license key was found. Please ensure that you either have a valid "license.bea"
    file in your CLASSPATH or in the directory specified by the "bea.home" environme
    nt variable, or else that you have a valid license key specified in the "kodo.Li
    censeKey" property of you Kodo configuration. If you need to request an evaluati
    on license, please go to http://commerce.bea.com or contact [email protected]
    at com.solarmetric.license.License.<init>(License.java:67)
    at kodo.conf.KodoCapabilities.newLicense(KodoCapabilities.java:133)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:38)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:22)
    at kodo.jdbc.meta.KodoClassMapping.validateMapping(KodoClassMapping.java
    I'm running the tutorial using the kodocmd.bat and I changed the properties to point to kodo's install directory and my jdk home directory.
    I've downloaded the xml document at 'http://ftpmain.bea.com/download/pub/license/kodo/kodo40/license.bea', named it license.bea and put it in kodo's install directory which is on the classpath.
    I think the problem is getting Kodo to recognize the license outside of a web application. I am trying to use Kodo in a standalone application and obviously need it to recognize the license key.
    Regards,
    Jake

    Hi Jake,
    I don't think the problem is getting Kodo to recognize the license outside
    the web application (I am also working on a standalone application). I think
    the problem is that the code still requires the "old" solarmetric license
    key next to the bea license key. I actually run into the same problem if I
    don't specify both keys. Since I still have several important bugs already
    open for months and registering an issue requires writing complete testcases
    including manuals how to use these test cases, I actually didnt even bother
    to register this one.
    kind regards,
    Christiaan
    <Jacob Bowers> wrote in message news:[email protected]...
    Has anyone tried the JDO tutorial provided with Kodo 4.1.2? Everything
    works fine until I try to create the mappings with 'mappingtool -p
    jdo.properties package.jdo'. Then I get:
    Exception in thread "main" com.solarmetric.license.LicenseException: No
    product
    license key was found. Please ensure that you either have a valid
    "license.bea"
    file in your CLASSPATH or in the directory specified by the "bea.home"
    environme
    nt variable, or else that you have a valid license key specified in the
    "kodo.Li
    censeKey" property of you Kodo configuration. If you need to request an
    evaluati
    on license, please go to http://commerce.bea.com or contact [email protected].
    at com.solarmetric.license.License.<init>(License.java:67)
    at kodo.conf.KodoCapabilities.newLicense(KodoCapabilities.java:133)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:38)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:22)
    at
    kodo.jdbc.meta.KodoClassMapping.validateMapping(KodoClassMapping.java
    I'm running the tutorial using the kodocmd.bat and I changed the properties
    to point to kodo's install directory and my jdk home directory.
    I've downloaded the xml document at
    'http://ftpmain.bea.com/download/pub/license/kodo/kodo40/license.bea', named
    it license.bea and put it in kodo's install directory which is on the
    classpath.
    I think the problem is getting Kodo to recognize the license outside of a
    web application. I am trying to use Kodo in a standalone application and
    obviously need it to recognize the license key.
    Regards,
    Jake

  • Integrate EP iVew with weblogic, problem with IE7

    hi
    We are integrating EP iViews within weblogic. We offer iView urls and Weblogic embed EP iViews in iFrame, which we click the link tree, different view shows in the iFrame rightside.
    The problem is: using IE6, iViews displays fine. while using IE7, first click works well in the iframe, but from the second click, iViews just jump out in a new wiindow.
    any experts suggestion?
    Thanks.

    HI Dongkai,
    Please check the browser compatibility for the portal server and apply the patches accordingly to correct your issue.
    Search for the browser IE7 compatiility with portal.
    Hope it helps
    Regards
    Arun

  • ADF Faces - Weblogic: Problems about rendering ADF pages

    Hi! We have an application that we have generated 2 EAR for installation with 2 different contexts (consequently, it have 2 different address), and after the installation, the main page of an application is showing correctly and the other application show problems in the rendering. The two applications have the same pages. We had to do it to accomplish a request from our customer. Anybody have any idea how to solve that?

    Hi
    You must setting web descriptor of each application for solve it, like this:
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <session-descriptor>
           <cookie-path>/youAppName</cookie-path>
      </session-descriptor>     
    ...Thanks,
    Felipe

  • Deploying to Weblogic -Problem

    while mkin a new connection ie.deploying to weblogic its giving me "success" but then it gives an error Java Virtual Machine Launcher :cudnt find the main class
    ruchi

    This windows encoding problem is a bug in WebLogic6.1.
    The workaround is to change the encoding to 'UTF-8' similarly
    like you did in your case.
    1. Go to Tools | Preferences | Environment
    2. Unselect 'Default Encoding'
    3. Choose 'UTF-8' from the combobox
    4. ReCreate your project, this time IDE will generate all XML files in UTF-8 encoding

  • WebLogic problem with Eclipse

    I installed oepe-juno-installer-12.1.1.1.0.201207241647-12.1.1a-win32.exe package. In Eclipse I added Oracle WebLogic Server to run web application. I could start WebLogic server from the Eclipse, but when I tried to stop server I always get an error:
    [Stopped, User: weblogic , failed to be authenticated.].
    What I missed in my configuration?
    Thank you
    Alex

    Hi Raj,
    Thank you for your help!
    I believe that I was able to narrow down the problem. I tested these scenarios:
    - created a new weblogic domain using configuration wizard; added server to the Eclipse; didn't add any web application to the server; started and stopped server from the eclipse without errors.
    - added simple web application (just one index.html page) to the server; started and stopped server from the eclipse without errors. In both cases I saw the message:
    Stopping WebLogic Server...
    Server "AdminServer" was force shutdown successfully ...
    - added my application; cannot stop server from the Eclipse or by running stopWebLogic.cmd script. Below is the error message I got when I ran script:
    Stopping Weblogic Server...
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://topics:7001 with userid weblogic ...
    This Exception occurred at Thu Oct 04 08:58:09 EDT 2012.
    javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
    Problem invoking WLST - Traceback (innermost last):
    File "E:\oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 3, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : User: weblogic, failed to be authenticated.
    Use dumpStack() to view the full stacktrace
    Done
    Stopping Derby Server...
    I believe that the problem might be related to the fact that our application starts several servlets and for some reason WLS cannot shutdown them.
    I will continue to investigate the issue.
    Alex

  • Weblogic Problems

    Hello everybody:
    From a time to this part weblogic remains freeze after which the application that we
    have developed it makes external connections (Databases connection, HTTP connection, etc.).
    Weblogic remained freeze yesterday after which a database was down during minutes.
    The problem is that weblogic lets take care of requests and the only form to
    recover is reinitiating it the weblogic server.
    When we invoked kill -3 to the process of weblogic this one frees and it gives
    by following console exceptions:
    "Thread-23" daemon prio=5 tid=0xcb35f8 nid=0x1a4 waiting on monitor [0xabe01000..0xabe019d8]
         at java.lang.Thread.sleep(Native Method)
         at com.system.util.SystemConnector.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:479)
    "SocketTimeout" daemon prio=10 tid=0x64db88 nid=0x133 waiting on monitor [0xac101000..0xac1019d8]
         at java.lang.Thread.sleep(Native Method)
         at HTTPClient.SocketTimeout.run(StreamDemultiplexor.java:917)
    "SeedGenerator Thread" daemon prio=5 tid=0x599e00 nid=0xaf waiting on monitor [0xab381000..0xab3819d8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:415)
         at sun.security.provider.SeedGenerator.run(SeedGenerator.java:100)
         at java.lang.Thread.run(Thread.java:479)
    "HighPriority TimeEventGenerator" daemon prio=9 tid=0x8ed740 nid=0xa5 waiting on monitor [0xae701000..0xae7019d8]
         at java.lang.Object.wait(Native Method)
         at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:279)
         at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:138)
         at java.lang.Thread.run(Thread.java:479)
    SSLListenThread" prio=5 tid=0x8f2a60 nid=0xa4 runnable [0xac201000..0xac2019d8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463)
         at java.net.ServerSocket.implAccept(ServerSocket.java:238)
         at java.net.ServerSocket.accept(ServerSocket.java:217)
         at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
         at weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:124)
         at weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:115)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:261)
    "ListenThread" prio=5 tid=0x8ed880 nid=0xa3 runnable [0xac301000..0xac3019d8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463)
         at java.net.ServerSocket.implAccept(ServerSocket.java:238)
         at java.net.ServerSocket.accept(ServerSocket.java:217)
         at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:261)
    "Thread-0" daemon prio=10 tid=0x402808 nid=0xc waiting on monitor [0xb6101000..0xb61019d8]
         at java.lang.Thread.sleep(Native Method)
         at weblogic.transaction.internal.TransactionManagerImpl$1.run(TransactionManagerImpl.java:1594)
         at java.lang.Thread.run(Thread.java:479)
    "Signal Dispatcher" daemon prio=10 tid=0x101aa0 nid=0xa waiting on monitor [0..0]
    "Finalizer" daemon prio=8 tid=0xfd1f0 nid=0x7 waiting on monitor [0xfad81000..0xfad819d8]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:103)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:157)
    "Reference Handler" daemon prio=10 tid=0xfb2b0 nid=0x6 waiting on monitor [0xfe281000..0xfe2819d8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:415)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:105)
    "main" prio=5 tid=0x29968 nid=0x1 waiting on monitor [0xffbee000..0xffbee44c]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:692)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:218)
         at weblogic.Server.main(Server.java:35)
    "VM Thread" prio=5 tid=0xfa648 nid=0x4 runnable
    "VM Periodic Task Thread" prio=10 tid=0xfeb98 nid=0x8 waiting on monitor
    "Suspend Checker Thread" prio=10 tid=0xfec90 nid=0x9 runnable
    Previously, we have the following exceptions:
    java.io.InterruptedIOException: Read timed out
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:85)
         at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:172)
         at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:110)
         at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:273)
         at HTTPClient.RespInputStream.read(RespInputStream.java:155)
         at HTTPClient.RespInputStream.read(RespInputStream.java:115)
         at HTTPClient.Response.readResponseHeaders(Response.java:971)
         at HTTPClient.Response.getHeaders(Response.java:693)
         at HTTPClient.Response.getStatusCode(Response.java:263)
         at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:83)
         at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:724)
         at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:190)
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:275)
         at HTTPClient.RespInputStream.read(RespInputStream.java:155)
         at HTTPClient.RespInputStream.read(RespInputStream.java:115)
         at HTTPClient.Response.readResponseHeaders(Response.java:971)
         at HTTPClient.Response.getHeaders(Response.java:693)
         at HTTPClient.Response.getStatusCode(Response.java:263)
         at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:83)
         at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:724)
         at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:190)
    (Log message) CONNECT TO jdbc:inetdae6.5:AN_VALID_IP_ADDRESS:1433?database=master
    com.inet.tds.SQLException: Connection reset by peer: Connection reset by peer
    java.net.SocketException: Connection reset by peer: Connection reset by peer
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:85)
         at com.inet.tds.e.a(Unknown Source)
         at com.inet.tds.e.a(Unknown Source)
         at com.inet.tds.e.<init>(Unknown Source)
         at com.inet.tds.TdsDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:172)
    What is happening?.
    Why Weblogic cannot take care of but request and are freeze?,
    Regards,
    Gabriel.

    Weblogic is a commercial product that a company besides Sun makes.
    Which suggests that your question should be directed at them.
    If you have specifically tracked this to the database then it would suggest that the pool is probably the problem. You don't by chance have the pool attributes set to an infinite timeout?

  • Apache frontend for Weblogic: problem

    Folks,
    I have Apache 2.x running.
    The module "mod_wl_20.so" is in the <apache_home>/modules directory.
    httpd.conf contains the following:
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule weblogic_module>
    WebLogicHost <ip-address of weblogic server>
    WebLogicPort 7601
    </IfModule>
    I restart the httpd server without problems...and yet i cannot
    get http://<apache server ip address>/weblogic to work
    though both webserver are workin fine.
    please advise.

    Which platform? WebLogic 8.1 does package the plugin.
    Look in either in the weblogic81\server\lib\XXXXX directory or in the
    weblogic81\server\bin directory for the mod_wl_20.so.
    Eric
    "Alan Wong" <[email protected]> wrote in message
    news:3f02fc95$[email protected]..
    >
    I tried to find the Apache plugin for WebLogic 8.1, but I could not findone.
    I downloaded the one from BEA web site, but it did not work. I run Apache2.0.46
    on Windows 2000 and WebLogic 8.1. The plugin I downloaded gave an errormessage
    complaining about the version is incompatible and require some 20020915version.
    Does anyone know where I can find the apache plugin? We are testing tomove
    forward to WebLogic 8.1 but without the plugin, we can not move forwardwith our
    WebLogic 8.1 upgrade. Thank you for your help.
    Alan

  • HELP! SQLServer7 & Weblogic problem.

    I can not get a SQLServer connection pool to work.
    All I get is the error:
    java.sql.SQLException: Login failed for user '(null)'. Reason: Not
    associated w
    th a trusted SQL Server connection. Severity 14, State 1, Procedure 'null
    null'
    Line 0 Unable to connect, please check your server's version and
    availability.
    My configuration is Windows 2000 professional with Weblogic 5.1 (evaluation)
    (servicepack6)
    I installed the type4 JDBC (jDriver) for SQLServer 7.
    Added the classpath to WEBLOGIC_CLASSPATH in the startWeblogic.cmd
    Added the connectionpool to weblogic.properties
    weblogic.properties
    weblogic.jdbc.connectionPool.SQLPool=\
    url=jdbc:weblogic:mssqlserver4:eshop@alpha00:1433,\
    driver=weblogic.jdbc.mssqlserver4.Driver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=sa;password=secret;server=alpha00
    When I test the Driver with utils.dbping it works.
    When I test the multi-tier driver with t3dbping it works
    But the connectionpool does not work!
    What to do ?
    Jerry
    email : [email protected]
    MYPROVIDER = xs4all

    jerry,
    Iam facing exact same problem except that Iam one step behind.
    My jdbc.log files have same error messages like you mentioned.
    I thought testing the t3dbping and then creating the dbpool would work. Iam
    getting
    classnotfound exception errors at COM/rsa/jsafe/JSAFE????.
    Did you had this problem while testing the t3dbping.
    thanks,
    chak.
    Jerry wrote in message <[email protected]>...
    I can not get a SQLServer connection pool to work.
    All I get is the error:
    java.sql.SQLException: Login failed for user '(null)'. Reason: Not
    associated w
    th a trusted SQL Server connection. Severity 14, State 1, Procedure 'null
    null'
    Line 0 Unable to connect, please check your server's version and
    availability.
    My configuration is Windows 2000 professional with Weblogic 5.1(evaluation)
    (servicepack6)
    I installed the type4 JDBC (jDriver) for SQLServer 7.
    Added the classpath to WEBLOGIC_CLASSPATH in the startWeblogic.cmd
    Added the connectionpool to weblogic.properties
    weblogic.properties
    weblogic.jdbc.connectionPool.SQLPool=\
    url=jdbc:weblogic:mssqlserver4:eshop@alpha00:1433,\
    driver=weblogic.jdbc.mssqlserver4.Driver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=sa;password=secret;server=alpha00
    When I test the Driver with utils.dbping it works.
    When I test the multi-tier driver with t3dbping it works
    But the connectionpool does not work!
    What to do ?
    Jerry
    email : [email protected]
    MYPROVIDER = xs4all

  • Studio 3.0 in Weblogic problems

    Hi,
    So I managed to install Studio 3.0 in Weblogic with no errors. I have created a new domain, set the setDomainEv file and installed the .ear file with the console of my domain.
    The problem is now that when I login to Studio I get an empty page with no applications. When I run Studio in Tomcat I get a nice overview of my applications. Is there something wrong with my Studio environment in Weblogic?
    Thank you in advance,
    Marco Snels

    Marco,
    I believe you received a reply in another thread ("Quickstart" project for Endeca 3.0 but to clarify EID 3.0 does not ship with the Getting Started it need be be downloaded separately.
    For details, see http://docs.oracle.com/cd/E37502_01/general.300/eid_getting_started/toc.htm#About%20this%20guide
    Ryan
    EID - PM

  • Install & Config LiveCycle ES with WebLogic, Problem with Database Initialization

    I am using the configuration manager to install and config LiveCycle ES trial version. At LiveCycle Database Initialization step, when I click the "Initialize" I got this error msg:
    ALC-TTN-104-002: Could not connect to bootstrap servlet, the requested URL was not found on the server. Is Adobe LiveCycle deployed?
    But the 3 ear files were just deployed in the previous step and they are all showing under Weblogic admin console under Deployments.
    I am stuck here. Any help would be greatly appreciated.

    Hiii,
               I also got the same problem. I am tryint to install on Websphere and Oracle. I am new to this AdobeLiveCycle animal.
    Can any help me to get out of the hurdle.
    The same Error:
    ALC-TTN-104-002: Could not connect to bootstrap servlet, the requested URL was not found on the server. Is Adobe LiveCycle deployed?
    How to know if the Adobe LiveCycle is deployed or not.. Plz let me know..
    Thanks a zillion in advance..
    Regards
    Adi

  • Weblogic problem,weblogic.rmi.extensions.RemoteRuntimeException: Unexpected

    hello,everyone.
    I have a problem.please help me.
    My application is running on weblogic 9.2. My oracle is oracle10g. system:linux redhat4.
    my weblogic's log have a problem.
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
    at weblogic.jdbc.rmi.SerialStatement.close(SerialStatement.java:109)
    at com.goldpalm.common.jdbc.DBController.releaseConn(DBController.java:273)
    at com.goldpalm.sale.team.TeamXml.exeTeamLog(TeamXml.java:762)
    at jsp_servlet._ctssale.__teamline_show._jspService(__teamline_show.java:264)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:230)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at filters.AuthFilter.doFilter(AuthFilter.java:95)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3200)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1844)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Hi
    Looking at the error stack trace, you are getting this error when trying to close the statement object from your own java code (not weblogic code...) - DBController.releaseConn(...)
    at com.goldpalm.common.jdbc.DBController.releaseConn(DBController.java:273)
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
    at weblogic.jdbc.rmi.SerialStatement.close(SerialStatement.java:109)
    at com.goldpalm.common.jdbc.DBController.releaseConn(DBController.java:273)
    at com.goldpalm.sale.team.TeamXml.exeTeamLog(TeamXml.java:762)
    Well check the code you have at this location. Usually the way we release/close the db resources are like first close ResultSet, then Statement, then Connection. But if you close connection first, then try to close the Statement object, it throws errors like what you see.
    I am giving 2 methods code snippet. One method is caleld like closeAll(..). This method gets called in finally block of all other db methods that does the actual db code to connect and get data etc etc.
    // Sample main method that does all db stuff...This is just code snippet only and NOT the full code. Focus on try catch finally block
    public static void getCustomerProfile(long custId) throws Exception {
         Connection aConnection = getConnection();
         CallableStatement aCallableStatement = null;
         ResultSet aResultSet = null;
         try {
              aCallableStatement = aConnection.prepareCall("{ call someFunction(?, ?) }");
              aCallableStatement.execute();
              aResultSet = (ResultSet) aCallableStatement.getObject("variable_name_from_sp");
              while(aResultSet.next()) {
                   // get all data for each record etc...
         } catch (Exception e) {
              e.printStackTrace();
              throw e;
         } finally {
              closeAll(aConnection, aCallableStatement, aResultSet);
    // While closing RS, Statment, Connection, enclose them in their own try/catch block and ofcourse check for nulls first
    public static void closeAll(Connection aConn, Statement aStmt, ResultSet aRS) {
         if (aRS != null) {
              try {
                   aRS.close();
              } catch (Exception e) {
                   System.out.println("Not Able To Close The ResultSet");
                   //e.printStackTrace();
         if (aStmt != null) {
              try {
                   aStmt.close();
              } catch (Exception e) {
                   System.out.println("Not Able To Close The Statement");
                   //e.printStackTrace();
         if (aConn != null) {
              try {
                   aConn.close();
              } catch (Exception e) {
                   System.out.println("Not Able To Close The Connection");
                   //e.printStackTrace();
    }Thanks
    Ravi Jegga

  • Application deployment to standalone WebLogic problem

    Hi!
    I have a problem with application deployment to standalone WebLogic server.
    We migrated from JDeveloper 11.1.1.5 to 11.1.2.1. I followed the instructions on this page: https://blogs.oracle.com/imc/entry/standalone_weblogic_domain_for_adf to deploy our ADF application to AdminServer. Everything worked OK.
    Then I followed the instructions on this page: http://docs.oracle.com/cd/E21043_01/web.1111/e13813/custom_jrf.htm to apply JRF to our managed server "ADF_server" and got this:
    wls:/offline> applyJRF('ADF_server', '/Oracle/Middleware/user_projects/domains/our_domain')
    Read domain /Oracle/Middleware/user_projects/domains/our_domain to applyJRF
    Copy JRF configuration files from /Oracle/Middleware/oracle_common/modules to /Oracle/Middleware/user_projects/domains/our_domain/config/fmwconfig/servers/ADF_server
    Target JRF components to "ADF_server"
    Update JRF changes to domain /Oracle/Middleware/user_projects/domains/our_domain in offline mode
    This is probably OK?
    When I try to deploy to a managed server "ADF_server" a problem occurs:
    *[10:55:08 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADFMainApplication-ViewController-context-root'*
    *[10:55:08 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1542360219[app:ADFMainApplication_Project1_ADFMainApplication module:ADFMainApplication-ViewController-context-root path:/ADFMainApplication-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]*
    *[10:55:08 AM] See server logs or server console for more details.*
    *[10:55:08 AM] weblogic.application.ModuleException: Failed to load webapp: 'ADFMainApplication-ViewController-context-root'*
    *[10:55:08 AM] Deployment cancelled.*
    *[10:55:08 AM] ---- Deployment incomplete ----.*
    *[10:55:08 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)*
    What do I have to do to get it to work on managed server? Please help.
    Regards, Marko

    Did you make sure that the 11.1.1.5.0 adf runtime was installed on the managed server before you installed the patches to upgrade to 11.1.2.1.0?
    If not this is the problem. The new runtime is only installed automatically if the olny one was set up correctly,my personal finding from my tests. If you like to read more on this check http://tompeez.wordpress.com/2011/06/25/upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/ and http://tompeez.wordpress.com/2011/06/29/follow-up-upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/ .
    You can do threethings:
    1. open the Enterprise Manager select your managed server and hope you see a message like 'aply JRF to this managed server' (can't remember the exact wording). Do this and the libs should setup OK.
    2. open the admin console and select the needed shared libs and add your manages server as target. Problem is that you don't know which libs are needed. If you don't mind target all libs to the managed server. Not sure if this causes trouble later.
    3. write down any information about the managed server like port, machine names domain name. Remove the managed server from the WLS installation. This should be much trouble as you are upgrading and that should be no application or shared library of your one deployed to the managed server. After removing the old managed server shut down wls and start it again (just for safety). Now create an new managed server with all names, ports and other information like the old one using the quickstart tool.
    I prefer the 3 method, as this one worked all the time for me.
    Timo

Maybe you are looking for