Trouble running adf/jsp application in jdev 11G
Hello ,
I have just installed Jdev 11g on Win XP SP 2.
Everything looks good, but when I try to run *.jspx file I am getting following error message:
I appreciate any help.
Thanks
C:\JDev1111\jdk\bin\javaw.exe -client -classpath O:\OC4J\j2ee\home\oc4j.jar;C:\JDev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "\\win.desy.de\home\martir\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
07/08/31 10:26:12 java.io.IOException: The system cannot find the path specified
07/08/31 10:26:12 at java.io.WinNTFileSystem.createFileExclusively(Native Method)
07/08/31 10:26:12 at java.io.File.createNewFile(File.java:850)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.getJAZNDataXMLDoc(XMLJAZNProvider.java:250)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.parseDataFile(XMLJAZNProvider.java:377)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.getRealmManager(XMLJAZNProvider.java:480)
07/08/31 10:26:12 at oracle.security.jazn.spi.GenericProvider.getRealmManager(GenericProvider.java:143)
07/08/31 10:26:12 at oracle.security.jazn.JAZNConfig.getRealmManager(JAZNConfig.java:997)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.getUMType(JAZNUserManager.java:5156)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.getUM(JAZNUserManager.java:5208)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.<init>(JAZNUserManager.java:5245)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:626)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:289)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig.ultimate(UserManagerConfig.java:329)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.generateDefaultUserManagerSettings(EnterpriseArchive.java:1189)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.initDefaultSettings(EnterpriseArchive.java:1284)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:294)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.parseApplicationConfigReference(XMLApplicationServerConfig.java:2125)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.sortApplicationConfigReferences(XMLApplicationServerConfig.java:2859)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.postInitApplications(XMLApplicationServerConfig.java:2877)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.postInit(XMLApplicationServerConfig.java:290)
07/08/31 10:26:12 at com.evermind.xml.XMLConfig.init(XMLConfig.java:206)
07/08/31 10:26:12 at com.evermind.xml.XMLConfig.init(XMLConfig.java:113)
07/08/31 10:26:12 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:89)
07/08/31 10:26:12 at java.lang.Thread.run(Thread.java:595)
Aug 31, 2007 10:26:12 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
07/08/31 10:26:12 Error parsing application-server config file: Invalid usermanager configuration.
07/08/31 10:26:12 oracle.security.jazn.JAZNRuntimeException: Invalid usermanager configuration.
07/08/31 10:26:12 at oracle.security.jazn.oc4j.DelegateUserManager.checkForParent(JAZNUserManager.java:3255)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.DelegateUserManager.getAdminUser(JAZNUserManager.java:3279)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.FilterUserManager.getAdminUser(JAZNUserManager.java:4899)
07/08/31 10:26:12 at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
07/08/31 10:26:12 at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:2981)
07/08/31 10:26:12 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:95)
07/08/31 10:26:12 at java.lang.Thread.run(Thread.java:595)
07/08/31 10:26:12 Fatal error: server exiting
Process exited with exit code 1.
Hello Ric,
Thanks for the response,
I have tried to set environment vars, but it was unsuccessful.
I have the old version of Jdev 10.1.3 and it's working with the message "Could not canonicalize ...."
I have found the following thread in forum:
Unable to start any application
The system11.1.1.0.17.45.24 directory is on the network drive:
H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\applications\dms.war
and not on the:
H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\home\applications\dms.war
I am not sure, but it seems to be the same problem with the embedded OC4J and dms.war, as discussed in the thread
mentioned above.
Thanks.
Similar Messages
-
JDev9i-Beta;How could I run two JSP applications in Jdev enviroment at the same time?
Hi,
I have two JSP applications located on different directories. I wanted to run both applications at the same time in Jdev enviroment. But the second one failed.
More info:
I successfully ran Application1, then minimized the browser and ran Application2, then again minimized the second browser. After I maximized the first browser(Application1) and tried to go thro pages, I received page not found. Because Jdev sat up the Class Path for the newer application(Application2) and looks for pages there. I believe thats why I could not run both at the same time. How could I get around of this?hi,
can you provide more details on this. Are these jsp files part of the same project or different projects. I can not duplicate this issue. Please provide us more information.
Thank you -
Accessing ApplicationModule in Struts/JSP application using JDev 11g TP3
Hello All,
I am using Oracle JDeveloper 11g Technical Preview 3
I got one "AppModule" created under my (Struts/jsp) project "MODEL" structure.
Now, how can I access that ApplicationModule in my Action Class
BC4JContext bc4jContext = BC4JContext.getContext(request) is not working, returns null everytime,
Can anyone please let me know, how can I achieve this?
Thanks
user625610Hi don't know your name,
if you get null from BC4JContext.getContext(request) you should check you configuration. Check your web.xml file where you should see something like... <servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>mapping</param-name>
<param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
</init-param>
<init-param>
<param-name>BC4JDefinition</param-name>
<param-value>your_model_project_name</param-value>
</init-param>
...The init parameter BC4JDefinition is used to set up the context in the BC4JRequestProcessor class. My guess is that you don't have this parameter in your web.xml (or are pointing to a wrong name). the value should be the name of the cpx file without the .cpx you have in your viewcontroller project.
If you have migrated your project from JDev 10.1.2 you should check the 10.1.2 web.xml against the 11TP3 web.xml after the migration. The servlet part should be identical.
Timo -
I can not run application in Jdev 11g
hello,
I can not run my application in Jdev 11g.
[Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
[02:33:39 PM] ---- Deployment started. ----
[02:33:39 PM] Target platform is (Weblogic 10.3).
[02:33:40 PM] Retrieving existing application information
[02:33:40 PM] Running dependency analysis...
[02:33:40 PM] Deploying 3 profiles...
[02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
[02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
[02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
[02:33:42 PM] Deploying Application...
<01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
[02:33:42 PM] #### Deployment incomplete. ####
[02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
What is this?
Dema.Hi,
what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
Frank -
Is it possible to run Oracle 6i application with Oracle 11g?
HI,
We are running oracle developer 6i (6.0) application with oracle 10g database.
Due to some management decisions we are in planning to upgrade the database to 11g.
So, tell us that Is it possible to run Oracle 6i application with Oracle 11g?
Regards,
fazijeeAlso see Oracle Support note
Is Forms/Reports 6i Certified to Work Against Oracle Server 10g Rel 1, Rel 2 or 11gRel 1, Rel 2? [ID 338513.1]
6i isn't certified nor will be certified against 10.2 and 11.x
Hemant K Chitale -
Trouble running EJB application in jdev 11G
Hi, I am just trying out jdev 11g, everything looks good except i am not able to run my application in either embedded oc4j or standalone oc4j 11g. I don't know, if it is a bug or i am doing something wrong. I also have this question, does jdev 11g support Tomcat 6? I will really appreciate any help regarding this. Thanks
That's the error i get every time i run the application:
[EJB 3.0]: Assigning default-data-source=jdbc/MySQL-Movies_DatabaseDS, specified in projects EJB 3.0 properties
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config>
"C:\Jdeveloper 11 Preview\jdk\bin\javaw.exe" -client "-Doracle.home=C:\Jdeveloper 11 Preview" -classpath "C:\Jdeveloper 11 Preview\j2ee\home\oc4j.jar;C:\Jdeveloper 11 Preview\jdev\lib\jdev-oc4j-embedded.jar" -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
May 13, 2007 12:15:27 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
SEVERE: Could not open wallet. Wallet version not supported
java.io.IOException: Could not open wallet. Wallet version not supported
at oracle.security.pki.OracleWallet.open(OracleWallet)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:130)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:108)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:83)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:45)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getServiceInstance(JpsContextFactoryImpl.java:260)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContextFromDesc(JpsContextFactoryImpl.java:352)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:279)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:541)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:536)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:535)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<clinit>(PolicyDelegationController.java:94)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2053)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2126)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2145)
at com.evermind.server.OC4JServer.main(OC4JServer.java:433)
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 oracle.classloader.util.MainClass.invoke(MainClass.java:89)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
oracle.security.jps.service.credstore.CredStoreException: Could not open wallet. Wallet version not supported
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:139)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:108)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:83)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:45)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getServiceInstance(JpsContextFactoryImpl.java:260)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContextFromDesc(JpsContextFactoryImpl.java:352)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:279)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:541)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:536)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:535)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<clinit>(PolicyDelegationController.java:94)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2053)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2126)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2145)
at com.evermind.server.OC4JServer.main(OC4JServer.java:433)
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 oracle.classloader.util.MainClass.invoke(MainClass.java:89)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
Caused by: java.io.IOException: Could not open wallet. Wallet version not supported
at oracle.security.pki.OracleWallet.open(OracleWallet)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:130)
... 28 more
May 13, 2007 12:15:31 PM oracle.dms.trace.TraceManager record_config
INFO: TransactionTracing is enabled at MIN level
07/05/13 12:16:50 Oracle Containers for Java EE (11.1.1.0.0) Technology Preview initialized
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 112171 ms.Running EJB's seem to work fine for me.
Can you try to create a simple Session bean and run it and see if you get any problems?
As far as support for other application servers, yes JDeveloper will support them, for the technology preview however we just did tests with the Oracle application server. -
Unable to run ADF Project Using with Jdev 10 and Weblogic server 9.2
Dear All,
I am unable to run ADF Project on Weblogic Server 9.2. I am created Sample Project with ADF Control. This was when we create jsp at that time i am selected libraries ADF. After created war file. This war i am deploying into Server. At that time i am getting error java.lang.noclassfound error.
so please tell me how we can run these application.
Regards,
Suresh.VHard to help you here. JDev 10 used to work with OAS 10g as application server. This does not mean that you can't use Weblogic9.2, but because it is not the default configuration you may have some problems doing this.
One problem is that you need to install the ADF runtime libraries in the WLS 9.2 server, but there is no installer I know of. You can try to deploy the needed libraries together with your app, but you have to figure out which libraries you need.
Next thing is that you should deploy an EAR instead of a WAR.
Timo -
Can Forms call ADF (JSP) applications of Jdeveloper?
Hallo all, i created a JSP application to show Master-Detail page, Guages,Pivottable. Gantt charts in Jdeveloper using the ADF BC. I want to create a button in Forms that will call these application without dependency on Jdeveloper.Pls can anyone advice me step by step on the possibility. I tried useing the web.show_document package in Forms. it only works if the jdeveloper embedded server is running. But i dont want to have any dependency to jdeveloper at all.
Is there any suggestions to doing this. pls help!!no chance.
Forms is running in an Oracle Container 4 Java in the middle-tier. This Forms Service communicate via HTTP with the generic java applet locally in your browser. They communicate with some meta-data to show you the forms application in your browser. Your form runs in the application server.
You can communicate via web.show_document with other URL's, but you cannot integrate them into forms.
Here is a good example how you can interact from forms to ADF (thx 2 Wilfred)
http://www.oratransplant.nl/2008/02/11/integrate-oracle-forms-and-jsfadf-faces-with-drag-and-drop/
have fun
Gerd -
Error running uix jsp application
Hi All
I have created a bc4j/UIX JSP application. When i try to run the main.jsp file on the local host the application doesn't launch. I see the following message
in the OC4J window
Please help
Regards
Preet y Agarwal
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j.ear... done.
Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j\webapp.war... done.
Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j\cabo.war... done.
Auto-deploying bc4j (New server version detected)...
Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/default-web-app/ (New server version detected)...
Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/applications/bc4j/cabo/ (New server version detected)...
Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/applications/bc4j/webapp/ (New server version detected)...
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
Process exited.
C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
Process exited.
C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
Process exited.
C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
Process exited.
C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
Process exited.
C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initializedIt may be caused by that your browser lauched before the OC4J server initialized.
You can wait a moment till the OC4J server initialized then lauch your browser again.
James Li -
I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
<Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
>
<Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
java.lang.NullPointerException
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
Truncated. see log file for complete stacktrace
>
Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
INFO: ADFApplicationLifecycleListener.postStop
Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
>
<Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
<Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
<Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
>
[11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
[11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
[11:39:47 AM] See server logs or server console for more details.
oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
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:442)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
... 12 more
#### Cannot run application UI due to error deploying to DefaultServer.
[Application UI stopped and undeployed from Server Instance DefaultServer]I was facing a similar error, the problem was because of adf-controller.jar. My error was :
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
The jar's 10g edition has (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
jar -cf adf-controller.jar .
This solved my problem.
Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining. -
Problem running app in default server (Jdev 11g)
Hi,
I am pretty new to Java/Jdev and I am facing some problems trying to run the application as laid out in the example tutorial from http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_22/ccset22_ALL.html. I have followed all the steps and when I run the application as mentioned, the following errors appear in the log message window. Can anyone advise me what to do next?
[Application BrowseEditApp deployed to Server Instance DefaultServer]
Target URL -- http://127.0.0.1:7101/BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml
May 21, 2009 4:54:24 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
May 21, 2009 4:54:24 PM oracle.adfinternal.controller.util.model.AdfmInterface initialize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
May 21, 2009 4:54:24 PM oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
<May 21, 2009 4:54:28 PM GMT+08:00> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1558d83 - appName: 'BrowseEditApp', name: 'BrowseEditApp-ViewController-context-root', context-path: '/BrowseEditApp-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@73534[
GET /BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
Accept: */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Connection: Keep-Alive
]] Root cause of ServletException.
java.lang.NullPointerException
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getLastEventId(JUCtrlValueBinding.java:3642)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getLastADSEventId(FacesCtrlAttrsBinding.java:214)
at oracle.adfinternal.view.faces.activedata.AttrsActiveDataModelImpl.getCurrentChangeCount(AttrsActiveDataModelImpl.java:139)
at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._registerComponent(PageDataUpdateManager.java:281)
at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.registerComponentForPPR(PageDataUpdateManager.java:155)
Truncated. see log file for complete stacktrace
>Try uninstalling Terminal Server
-
Error while deploying ADF web application from JDeveloper 11g to Web Logic
Hi,
I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial.
It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0).
I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries installed) from JDeveloper, but got:
+[02:29:00 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRDemo on AdminServer.: Failed to load webapp: 'HRDemo.war'.+
+[02:29:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
+[02:29:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet+
+[02:29:00 PM] See server logs or server console for more details.+
+[02:29:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
+[02:29:00 PM] #### Deployment incomplete. ####+
+[02:29:00 PM] Deployment Failed+
Tried to add "ADF Common Web Runtime" to deployment profile's "Libraries selected for deployment" but than got:
+[02:52:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRSystem_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'.+
+[02:52:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
+[02:52:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet+
+[02:52:44 PM] See server logs or server console for more details.+
+[02:52:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
+[02:52:44 PM] #### Deployment incomplete. ####+
+[02:52:44 PM] Deployment Failed+
Regards,
Zdravko.
Edited by: [email protected] on Sep 10, 2009 2:58 PMHi,
We did that earlier, too (modified existing domain).
Also, after that, we created new domain and extended it according to you suggestions but no change.
Regards,
Zdravko.
Edited by: [email protected] on Sep 11, 2009 10:20 AM -
Deploying an ADF BC application in JDEv 10.1.2
Hi: I have a webapplication developed with ADF BC, Struts, and JSP in JDev10.1.2. It consists of the normal model and view projects. It seems to work from local server. I would like to create the deployment profiles and deploy it on the test server. Pls let me know the steps involved in this.
Thanks.Use the ADF Runtime installer to install the ADF runtime libraries on your server.
Then, you just create a WAR file and deploy it to your server.
See the 10.1.2 section here:
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html -
Bug in JDev 11g: clicking "Run" button won't run active file
Hi everybody.
If you start a new Application in Oracle JDeveloper 11g and start creating Java classes, at some point you're bound to create a main() function in one of them to ensure everything is working correctly, even if that class is not your application entry point.
The problem is that, once you run it the first time, JDev 11g will always attempt to run that original class instead of the file you're currently working on.
More info:
- This only happens with the "Run" and "Debug" toolbar buttons and menu items, the keyboard shortcuts (Ctrl-F11 and such) work as expected.
- The checkbox labeled "Attempt to Run Active File Before Default" in the Launch Settings is selected (The "Default Run Target" textbox is empty).
I downloaded the JDev 11g version that came WITHOUT a JDK and I'm running Java version 1.6.0_07 on Windows XP.
Thanks in advance for any help.More info on the subject:
Oracle JDev 11g seems to be unable to detect that there is an active file at all! This is evidenced by the fact that all of the External Tools are inactive at all times.
Is it JDev's fault, or is it the installed JDK's? -
Unable to implement Programmatic ADF Faces Tree component in jdev 11g
I have referred to the posts " [Back to programming: Programmatic ADF Faces Tree component|http://one-size-doesnt-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html] " and " [Follow-up: Programmatic ADF Faces Tree in JDev 11g|http://one-size-doesnt-fit-all.blogspot.com/2007/05/follow-up-programmatic-adf-faces-tree.html] ",
The first post showed how to construct the elements in the tree programmatically rather than relying on bindings (in JDeveloper 10.1.3)
and the second post tells the only difference in 11g .
I am trying to implement the elements of the tree programatically in Jdev 11g(specifically 11.1.1.0.2) but no result is coming .
There is no compilation/run time error , its just that the tree is not visible.
Can anyone suggest any key points which should be focussed during this implementation?Hi,
follow the description
http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html
to install the ADF Faces RC component demo in JDeveloper. It has a tree example. Have a look at their implementation and dapt it to your needs
Frank
Maybe you are looking for
-
Can't install montain lion, mavericks or yosemite on my mac pro early 2008 8core
I tried installing mountain lion mavericks and yosemite on my mac pro early 2008 I upgraded the video card to see if that was the problems and still the same the problem is that after installing even during install the mouse moves super slow and the
-
Error: No depreciation posting required in period 009 (current period)
Hi, I am getting error " No depreciation posting required in period 009" and 009 is my current period. The description of the error says " Do depreciation is posted, since according to the posting cycle no postings are required in this period"
-
Mouse not working in areas of the finder
My mouse is only allowing me to click on items along the outskirts of the monitor. When the mouse is in the middle of the screen it won't allow me to select anything. I've tried my trackpad as well as a corded mouse--same effect. Restarted several
-
Using your MacBook Pro as a Router For the Xbox 360
Not sure how many of you guys have 360s, but I've written up a guide to use your MBP as a connection point for the 360. Basically it involves sharing your Airport with the Ethernet port. Here goes. How to Use a MacBook Pro as an Xbox 360 Internet Hub
-
Similar to dts in Oracle.
is there any utility in oracle, similar to DTS in sql. where i came import data from csv file to table and schedule tht process to run in intervals. i can do it through load data. but how i will schedule it. Or how i will write a comand line utility(