Error in deploying from jdeveloper 10.1.3.3 to oc4j 10.1.3.3
Hi all
I have developed an application using jheadstart 10.1.3.1 and jdeveloper 10.1.3 and I want to deploy it in oc4j 10.1.3.3. I have installed Adf Runtime libiraties in oc4j home. during deploying my Application I get the following error:
Operation failed with error:
org/apache/log4j/Category
Deployment failed
I tried to copy log4j-1.2.15.jar,commons-logging.jar and commons-digester.jar to
oc4j\BC$J\lib directory ; this time my application was deployed in oc4j but i get the following Error :
07/09/25 14:43:44 log4j:WARN No appenders could be found for logger (com.sun.fac
es.config.ConfigureListener).
07/09/25 14:43:44 log4j:WARN Please initialize the log4j system properly.
Could any body tell me where the problem is or how can I resolve the problem?
Any help would highly be appreciated.
thank you in advance.
Ps:
The Actual Error in ocgj is:
07/09/25 16:52:21 WARNING: DeployerRunnable.run java.lang.ExceptionInInitializer
Errororacle.oc4j.admin.internal.DeployerException: java.lang.ExceptionInInitiali
zerError
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:139
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:252)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1141)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:5
70)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:16
03)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
Deployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.C
lass;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lan
g.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons
.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Clas
s;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.N
oClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at com.sun.faces.config.beans.FacesConfigBean.<clinit>(FacesConfigBean.j
ava:48)
... 17 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@900079 for org.apache.commons.logging.impl.Log4J
Logger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:413)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:529)
... 21 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:410)
... 22 more
Similar Messages
-
Hi all
I have developed an application using jheadstart 10.1.3.1 and jdeveloper 10.1.3.2 and I want to deploy it in oc4j 10.1.3.3. I have installed Adf Runtime libiraties in oc4j home. during deploying my Application I get the following error:
Operation failed with error:
org/apache/log4j/Category
Deployment failed
I tried to copy log4j-1.2.15.jar,commons-logging.jar and commons-digester.jar to
oc4j\BC$J\lib directory ; this time my application was deployed in oc4j but i get the following Error :
07/09/25 14:43:44 log4j:WARN No appenders could be found for logger (com.sun.fac
es.config.ConfigureListener).
07/09/25 14:43:44 log4j:WARN Please initialize the log4j system properly.
Ps:
The Actual Error in ocgj is:
07/09/25 16:52:21 WARNING: DeployerRunnable.run java.lang.ExceptionInInitializer
Errororacle.oc4j.admin.internal.DeployerException: java.lang.ExceptionInInitiali
zerError
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:139
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:252)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1141)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:5
70)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:16
03)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
Deployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.C
lass;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lan
g.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons
.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Clas
s;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.N
oClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at com.sun.faces.config.beans.FacesConfigBean.<clinit>(FacesConfigBean.j
ava:48)
... 17 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@900079 for org.apache.commons.logging.impl.Log4J
Logger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:413)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:529)
... 21 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:410)
... 22 more
Could any body tell me where the problem is or how can I resolve the problem?
Any help would highly be appreciated.
thank you in advance.
AlirezaIt is an old post, but I want to add and ask something anyway:
I had the same problem and solved it through similar steps (didn't get the same errors and added the log4j to my project also) but don't you have the navigation problem?
Now that I have deployed the application the first page that appears after launching the application is my Home.jspx which is not the same page that comes up when I use embedded OC4J to run the application. The Home.jspx is blank and when I enter a link manually:
http://farbod:8888/TestApp/faces/pages/Employees.jspx
instead of http://farbod:8888/TestApp/faces/pages/Home.jspx
I get this error:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
I also tried changing the initial address throughout the application:
<% response.sendRedirect("faces/pages/Home.jspx"); %>
but I still get the above error.
Thanks,
Farbod -
BEPL Error While Deploying from Jdeveloper
Hi We are getting the below error while deploying BPEL process using JDeveloper. Login account is OC4JADMIN.I checked the notes/forums and checked the files. Everything seems OK.
Why we are getting read error when we login as oc4jadmin.
Connection says success.
Application Server: OK
BPEL Process Manager Server: OK
ESB Server: OK
Error is
BUILD FAILED
H:\jdevstudio10134\HelloWorld\HelloWorld\build.xml:48: A problem occured while connecting to server "soaapnx" using port "7777": java.security.AccessControlException: Access denied (com.collaxa.security.*DomainPermission default read)*
at java.security.AccessController.checkPermission(AccessController.java:108)
at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)
at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:76)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:332)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:810)
Total time: 5 seconds
Thanks in advance for your help.
SreeHi Anirudh,
Thanks for th help.
I did not change any security settings in web.xml.
Pls let me know configuration files/log files that i need to look into.
Following is the error messages in access.log.
10.48.158.41 - - [15/Jun/2009:20:34:58 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 404 364
10.48.158.41 - - [15/Jun/2009:20:35:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:11 -0700] "GET /esb/ESBConsoleMain.html HTTP/1.1" 200 817
10.48.158.41 - - [15/Jun/2009:20:35:11 -0700] "GET /esb/ESBConsoleMain.html HTTP/1.1" 200 817
10.48.158.41 - - [15/Jun/2009:20:35:14 -0700] "GET /orabpel/xmllib/ws-addressing.xsd HTTP/1.1" 200 5263
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?operationType=getServerMode HTTP/1.1" 200 80
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?domainPasswd=null&operationType=getVersions&domainId=default&processName=HelloWorld HTTP/1.1" 200 45
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?operationType=getServerMode HTTP/1.1" 200 80
10.48.158.41 - - [15/Jun/2009:20:35:19 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.32.18.185 - - [15/Jun/2009:20:35:20 -0700] "POST /integration/services/deploy/deployHttpClientProcess.jsp HTTP/1.1" 403 89
10.32.18.185 - - [15/Jun/2009:20:35:21 -0700] "POST /integration/services/deploy/deployHttpClientProcess.jsp HTTP/1.1" 403 89
10.48.158.41 - - [15/Jun/2009:20:35:29 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:39 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:49 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:59 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:19 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:29 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:39 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:49 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:59 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:20 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:30 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
gateway.log shows
2009-06-15 20:54:34,039 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:54:44,069 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:54:54,124 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:04,161 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:14,191 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:24,219 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:34,266 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
Sree -
Error in deploying from JDeveloper 10.1.3.1 to Oracle AS 10.1.3
Hi! all.
I'm getting an error while deploying my application from new JDeveloper10.1.3.1 to Oracle AS 10.1.3
It says:
isActive()z
Can anyone tell me where the error lies?
The same application is getting deployed from 10.1.3.0.4
Should I have to add any new libraries for compatatibility?
Or Should I do any configuration changes at the server?
Waiting for your reply,
Thanking in advance,
SambaHi! all.
I'm getting an error while deploying my application from new JDeveloper10.1.3.1 to Oracle AS 10.1.3
It says:
isActive()z
Can anyone tell me where the error lies?
The same application is getting deployed from 10.1.3.0.4
Should I have to add any new libraries for compatatibility?
Or Should I do any configuration changes at the server?
Waiting for your reply,
Thanking in advance,
Samba -
"JSP-compiling" on deployment from JDeveloper
Hi
Can i remove compilation for JSP-files on deployment from JDeveloper 903?
When I'm compiling and deploying a project from JDev it tries to compile my *.jsp source files.
- Why?
And JDevs jsp-error-checking has BIG holes. (The pages runs well then OC4J-compiles them...) Some projects don't get trough while other projects with the same code style works fine for some reason.
I'm using JDeveloper version 9.0.3.10.35
Thanks,
-ErikYes you can.
Go into the "Settings..." of your deployment profile for your project. --> <yourprofile>.deploy
Under the "WAR File" click on WEB-INF/classes.
On the bottom right you'll see the option:
"How should the selected source files be deployed?"
Here you can select: "As source files only" and it won't
compile and deploy your class files.
Hope this helps,
-Chris -
SDM Error while deploying from IDE
Hi I am getting an error while deploying from IDE.
-- Server XXX did not accept login request as admin on port 50018.Details: ERROR: Could not establish connection to server XXX at port 50018: XXX
This problem has been discussed herein SDN earlier.I also checked in the SDM trouble shooting guide and accordingly have added a entry in the host file under sys32/drivers, but still I continue to get that error.Any pointers will be appreciated.
Regards,
MuinulHi
Have you ever been able to deploy into SDM. What is the password that you type. Try typing SDM and see. If that doesnt work then you will have to change the password of your SDM. Your password either has been corrupted or changed
Anyway follow these steps
1. Start the Config Tool.
(Execute <SAPj2eeEngine_install_dir> \configtool\configtool.bat.)
1. Select the secure store node.
The configuration for the secure storage in the file system appears.
1. Select the admin/password/<SID> entry.
2. Enter the administrator user's new password in the "Value" field and choose "Add".
3. Choose "File" --> "Apply" to save the data.
Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
4. Finally restart SDM server.
Hope that helps. Let me know if you require more information
regards
Ravi -
Remote Deployment from JDeveloper using "Parent Application"
Hi,
I am newbie in remote deployment (from JDeveloper). I would like to deploy my application in the OAS 10g, but I want to set the "Parent Application" in a different value than default.
Is it possible?
Where could I find documentation of remote deployment alternatives (I cannot use the "dcmctl" command directly for security reasons)...
Best regards and thank you in advance for your help.Check out this thread.
Deploy Exception with new Jdeveloper 11.1.1.1.0 -
Error deploying from Jdeveloper 10.1.3.4 to OAS 10.1.2
I've upgraded my Jdeveloper to 10.1.3.4 and imported an old project written in Jdev 10.1.2.0 (build 1811).
My application uses Struts, JSP, Log4j and EJB's
I can deploy to my local o4cj in the new Jdev and the applciation runs fine but when I try to deploy to my 10.1.2 app server I get the following error within the DCM log file:
TM] Remote evaluate failed.
Current StackTrace:
java.lang.Throwable
at oracle.ias.sysmgmt.task.TaskMaster.remote_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.redeploy(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.redeploy(Unknown Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandThread.executeCommand(Unknown Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandThread.run(Unknown Source)
remote exception: oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Nested exception
Resolution:
Base Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test: Error
loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
remote exception StackTrace:
java.rmi.RemoteException: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test: Error
loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.deploy(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test:
Error loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:429)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:348)
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:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application careers-test: Error loading
package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2461)
at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2445)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2225)
at com.evermind.server.Application.postInit(Application.java:557)
at com.evermind.server.Application.setConfig(Application.java:171)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1996)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:430)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:138)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
... 10 more
It looks like it's not picking up the datasource yet it works fine via the local oc4j. From my understanding the datasource is picked up from the connections in Jdeveloper but i've tried adding a datasource.xml to my "Model" tier within the "META-INF" folder but the error is still being generated.
I've amended the J2SE version to 1.4.2_02 on both the ViewController and Model project properties as recommended within the Jdev 10.1.3.4 documentation. I've also just read the following but i'm not sure how relevant it is as the error seems to be that it can't find a datasource not that the password is not being read.
"Data-Sources Password Handling and Application Server 10.1.2
It is important to note that deploying an application that uses connections defined in data-sources.xml developed using JDeveloper 10.1.3 that is deployed to Application Server 10.1.2 will result in a deployment failure. One example would be an application that uses an EJB to connect to a database. This is due to differences in the way Application Server 10.1.3 and Application Server 10.1.2 interpret password indirection. We are expecting a patch for Application Server 10.1.2 to be made available that will allow deployment of these types of applications to Application Server 10.1.2."
I imported the project datasource files from my old project that were developed in Jdev 10.2.3 rather then creating the connection via Jdev 10.1.3.4 but this still hasn't cleared the error.
I've spent a few days on this so far so any help would be most appreciated.
Thanks."Not really. You can exclude the data-sources.xml from the EAR file and rely on the setup of the Global Datasource, created before deployment.
--olaf"
Thanks. Yes I did try this but when I setup the datasource via the datasources tab within the console I still received the error. This may have been due to an error on my part but I can't be sure as i've tried all sorts of different approaches over the last few days. I initially didn't have a datasource.xml so there wasn't one to exclude (via the deploy properties in Jdev) I had relied on Jdeveloper to setup the datasource via my connections. I read somewhere that Jdev does this fduring deploy and indeed it works fine for my embedded oc4j and when deplolying from Jdeveloper 10.1.2 so it would seem odd that the same approach doesn't work for Jdeveloper 10.1.3.
Surely the release notes regarding the password issue is the reason why I can't deploy from Jdev 10.1.3.4 to app server 10.1.2?
The release notes say that a patch is due to fix the issue with password indirection, Olaf do you know where I can get this?
Also how do I setup Jdev not to write the datasources during deployment? If I don't have a datasources.xml then there is nothiing to exclude. Is there a setting somewhere in Jdev 10.1.3.4?
Edited by: [email protected] on 05-Mar-2009 08:08
Edited by: [email protected] on 05-Mar-2009 08:12 -
OC4J Deployment from JDeveloper 10.1.3 Webservice Instantiation ERROR
I am trying to deploy an EJB web service from JDeveloper 10.1.3 and keep getting this error: InstantiationException.
Note: in the readme.txt, it describes running OC4J with the EBJ3.0 option.
(OC4J -start -ejb3)
-start [-ejb3] : start OC4J with EJB30
enabled
This did not work. Any suggestion?
See below for error message.
The OC4J version is: Version 10.1.3.0.0 build#060119 Java Standalone version.
2006-02-09 15:48:21.812 NOTIFICATION Processing EJB module: ApplicantEJBWS.jar
2006-02-09 15:48:21.828 ERROR J2EE EJB3027 [ApplicantEJBWS] An error occured dep
loying EJB module: javax.ejb.EJBException: nested exception is: java.lang.reflec
t.InvocationTargetException
2006-02-09 15:48:21.828 NOTIFICATION application : ApplicantEJBWS is in failed s
tate
06/02/09 15:48:21 WARNING: Application.setConfig Application: ApplicantEJBWS is
in failed state as initialization failedjava.lang.InstantiationException: Error
initializing ejb-modules: nested exception is: java.lang.reflect.InvocationTarge
tException
Feb 9, 2006 3:48:21 PM com.evermind.server.Application setConfig
WARNING: Application: ApplicantEJBWS is in failed state as initialization failed
java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
on is: java.lang.reflect.InvocationTargetException
06/02/09 15:48:21 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
tiationException: Error initializing ejb-modules: nested exception is: java.lang
.reflect.InvocationTargetException
06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:510)
06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
oy(ApplicationDeployer.java:191)
06/02/09 15:48:21 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
yerBase.java:93)
06/02/09 15:48:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
erRunnable.doRun(OC4JDeployerRunnable.java:52)
06/02/09 15:48:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
nnable.run(DeployerRunnable.java:81)
06/02/09 15:48:21 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worke
r.run(PooledExecutor.java:814)
06/02/09 15:48:21 at java.lang.Thread.run(Thread.java:595)
06/02/09 15:48:21 Caused by: java.lang.InstantiationException: Error initializin
g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
06/02/09 15:48:21 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:1056)
06/02/09 15:48:21 at com.evermind.server.ApplicationStateRunning.initializ
eApplication(ApplicationStateRunning.java:210)
06/02/09 15:48:21 at com.evermind.server.Application.setConfig(Application
.java:391)
06/02/09 15:48:21 at com.evermind.server.Application.setConfig(Application
.java:308)
06/02/09 15:48:21 at com.evermind.server.ApplicationServer.addApplication(
ApplicationServer.java:1771)
06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:507)
06/02/09 15:48:21 ... 6 more
06/02/09 15:48:21 Caused by: javax.ejb.EJBException: nested exception is: java.l
ang.reflect.InvocationTargetException
06/02/09 15:48:21 at com.evermind.server.ejb.EJBUtils.createEJBException(E
JBUtils.java:352)
06/02/09 15:48:21 at com.evermind.server.ejb.EJBUtils.createEJBException(E
JBUtils.java:343)
06/02/09 15:48:21 at oracle.j2ee.ws.server.deployment.WebServiceAnnotation
Listener.parseAnnotatedClass(WebServiceAnnotationListener.java:92)
06/02/09 15:48:21 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
tionListeners(AnnotationParser.java:197)
06/02/09 15:48:21 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
ions(AnnotationParser.java:69)
06/02/09 15:48:21 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
aData(EJBPackageDeployment.java:964)
06/02/09 15:48:21 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:831)
06/02/09 15:48:21 ... 11 more
06/02/09 15:48:21 Caused by: java.lang.reflect.InvocationTargetException
06/02/09 15:48:21 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
06/02/09 15:48:21 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
hodAccessorImpl.java:39)
06/02/09 15:48:21 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
06/02/09 15:48:21 at java.lang.reflect.Method.invoke(Method.java:585)
06/02/09 15:48:21 at oracle.j2ee.ws.server.deployment.WebServiceAnnotation
Listener.parseAnnotatedClass(WebServiceAnnotationListener.java:83)
06/02/09 15:48:21 ... 15 more
06/02/09 15:48:21 Caused by: java.lang.NoClassDefFoundError
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.modeler.rmi.ValueType
Modeler.<init>(ValueTypeModeler.java:53)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModele
r.<init>(RmiModeler.java:103)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.config.RmiModelInfo.g
etModeler(RmiModelInfo.java:93)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.config.ModelInfo.buil
dModel(ModelInfo.java:167)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.Processor.runModeler(
Processor.java:72)
06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.DeploymentG
enerator$DeploymentCompileTool.run(DeploymentGenerator.java:190)
06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.DeploymentG
enerator.generateDeploymentArtifacts(DeploymentGenerator.java:121)
06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.EJBWebServi
ceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:159)
06/02/09 15:48:21 ... 20 more
2006-02-09 15:48:21.843 NOTIFICATION Application Deployer for ApplicantEJBWS FAI
LED.
2006-02-09 15:48:21.843 NOTIFICATION Application UnDeployer for ApplicantEJBWS S
TARTS.
2006-02-09 15:48:21.843 NOTIFICATION Removing all web binding(s) for application
ApplicantEJBWS from all web site(s)
2006-02-09 15:48:22.062 NOTIFICATION Application UnDeployer for ApplicantEJBWS C
OMPLETES.
06/02/09 15:48:22 WARNING: DeployerRunnable.run java.lang.InstantiationException
: Error initializing ejb-modules: nested exception is: java.lang.reflect.Invocat
ionTargetExceptionoracle.oc4j.admin.internal.DeployerException: java.lang.Instan
tiationException: Error initializing ejb-modules: nested exception is: java.lang
.reflect.InvocationTargetException
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Error initializing ejb-modules: nes
ted exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1056)
at com.evermind.server.ApplicationStateRunning.initializeApplication(App
licationStateRunning.java:210)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1771)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:507)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:191)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
tionTargetException
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:352
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:343
at oracle.j2ee.ws.server.deployment.WebServiceAnnotationListener.parseAn
notatedClass(WebServiceAnnotationListener.java:92)
at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(An
notationParser.java:197)
at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationP
arser.java:69)
at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackage
Deployment.java:964)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:831)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.j2ee.ws.server.deployment.WebServiceAnnotationListener.parseAn
notatedClass(WebServiceAnnotationListener.java:83)
... 15 more
Caused by: java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.processor.modeler.rmi.ValueTypeModeler.<init>(V
alueTypeModeler.java:53)
at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.<init>(RmiMode
ler.java:103)
at oracle.j2ee.ws.common.processor.config.RmiModelInfo.getModeler(RmiMod
elInfo.java:93)
at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo
.java:167)
at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:7
2)
at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$Deploym
entCompileTool.run(DeploymentGenerator.java:190)
at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generat
eDeploymentArtifacts(DeploymentGenerator.java:121)
at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationPars
er.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:159)
... 20 more
2006-02-09 15:48:22.062 WARNING java.lang.InstantiationException: Error initiali
zing ejb-modules: nested exception is: java.lang.reflect.InvocationTargetExcepti
on
Message was edited by: mritchson
user486624I fixed the problem.
Removed the Java standalone version OC4J 10.1.3 and installed the FULL Application server ver 10.1.3. -
BPEL processes not available on BPEL console when deployed from JDeveloper
Installation: SOA Suite 10.1.3.4 (Upgraded through patch) (Standalone OC4J)
When I deploy the BPEL processes through JDeveloper, they do not show up in the BPEL console. JDeveloper does not display any error message but in fact displays successful deploy. I am able to manually deploy processes from the BPEL console itself or by dropping in the BPEL suitcase in the deploy directory.
I noticed this issue when I tried installing AIA foundation pack 2.4. The installation showed the message below -
Failed to read wsdl at "http://AMVAIDYA-US:8888/orabpel/default/AIAErrorTaskAdministrationProcess/AIAErrorTaskAdministrationProcess?wsdl", because "Failed to read WSDL from http://AMVAIDYA-US:8888/orabpel/default/AIAErrorTaskAdministrationProcess/AIAErrorTaskAdministrationProcess?wsdl:WSDL not found".
Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly.
[Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
I noticed that issue is independent of AIA since I cannot deploy any BPEL process through JDeveloper (or even through using the ant deploy in JDev)
Please help!
Thanks
AmolI did try the verbose=true option but there are no errors there. The ant deploy task shows up as successful just like it shows from the right click -> Deploy to domain on the BPEL project. I created a sample async BPEL for this - it has just one assign activity with some dummy values for output. It builds fine. If I deploy the jar file created from this manually in the console it works. But it doesnt work from JDev or Ant. Is there anything I missed during the upgrade patch from 10.1.3.1 to 10.1.3.4? I did execute all the post and pre install tasks (including the orabpel, oraesb schema updates etc)
FYI, I can register an ESB from JDeveloper and it shows up in the ESB console. -
Deploying from JDeveloper 10.1.3 to Oracle AS 10.1.2
Hi!
I use JDeveloper 10.1.3 and Oracle Application Server 10.1.2.
When I want to deploy my application (TopLink + EJB Session Bean Facade + ADF Faces) from JDeveloper to Application Server an error occured:
---- Deployment started. ---- 16.05.2006 14:02:13
Target platform is Oracle Application Server 10g 10.1.2 (for Windows) (OracleAS10g).
**** Oracle Application Server 10g 10.1.2 (for Windows) only supports ejb version 1.1 and 2.0. Project DataModel.jpr makes use of a different version and is therefore not supported.
Elapsed time for deployment: 21 seconds
#### Deployment incomplete. #### 16.05.2006 14:02:34
Question: Is there an way to deploy my application to Oracle Application Server 10.1.2?There is!
First, be sure to create an J2EE 1.3 application (ie. no EJB 3.0, no EJB 2.0, no Servlets 2.4).
Second, apply a patch to Oracle AS 10.1.2 (see http://blogs.oracle.com/olaf/2006/02/09#a40) -
Hi,
I am trying to deploy using JDeveloper i created public_html folder under my project directory and created deployment descriptor, now when i click on the deployment descriptor and select deploy to an ear file i get many deployment errors saying
Error(7,1): method releaseTagHandler(javax.servlet.jsp.PageContext, org.apache.struts.taglib.tiles.InsertTag, int) not found in class oracle.jsp.runtime.OracleJspRuntime
I tried to play with the libraries but i still have these errors does any one have an idea how to solve this issue???Hello,
Why are you creating your own public_html folder under your project folder ?
Couldn't you create the deployment descriptor without it ? Any error ?
Have you tried to see if you can successfully deploy and run one of the following tutorials?
- Deploying a J2EE Application from JDeveloper 10g
http://www.oracle.com/technology/obe/obe_as_1012/j2ee/deploy/deploytoappserver/lesson_deployment.htm
- Deploying J2EE and ADF Applications
http://www.oracle.com/technology/obe/obe9051jdev/deployToAppServer/lesson_Deployment.htm
Hope this will help/guide you .
Regards,
Steff -
Oc4j r2: Problem with CMP deployment from JDeveloper 9i.
Hi,
When deploying a CMP Entity from jdeveloper, the actual table name used for looking up the bean by the container is modified to the Entities name ( meaning - not the one which i specified in the orion-ejb.xml myself) .
Has anyone stubmled across this one?
Thanks,
Yuval.Hi Yuval,
Yes, this is standard default behaviour for OC4J!
Let me guess -- you're using the JDeveloper deployment wizard, right?
Bad move, buddy! Gee, wouldn't it be great if the JDeveloper wizards
actually worked properly (sigh).
Easiest thing to do is to edit the "orion-ejb-jar.xml" file immediately
after deployment. Look for the "entity-deployment" element, and change
the "table" attribute so that it equals the correct name of your table.
Of-course, personally, I steer well clear of the wizards, because I
don't know what they're doing but I'm sure it's not something that I
want them to do.
I also suggest you check out the documentation from either:
http://www.atlassian.com
or
http://www.orionserver.com
Good Luck,
Avi. -
Not able deploy from Jdeveloper
Dear All,
While trying to deploy from Jdevloper i am getting below error
Authorisation Request
Enter user name and password for proxy
Realm Authetication scheme NTLM
[12:08:20 PM] Received HTTP response from the server, response code=407
[12:08:20 PM] Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 407
Please suggestTo which server? Standalone or integrated, if weblogic?
-
Direct deployment from JDeveloper
Hello,
I upgraded to the 10.1.2 jdev ( from 9.0.5 ) -- my direct deployment fails. Nothing much has changed on the target server. If I do a EAR file deployment from the console it works. Here is the trace of my deployment -- what should I be looking for ?
---- Deployment started. ---- Mar 6, 2006 1:22:32 PM
Target platform is Oracle Application Server 10g (plhqisl1).
Wrote WAR file to C:\oracle\src\OMRUtils\Utils\deploy\omrutils.war
Wrote EAR file to C:\oracle\src\OMRUtils\Utils\deploy\omrutils.ear
Invoking DCM servlet client...
C:\oracle\JDeveloper10g\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\oracle\JDeveloper10g\jdev\lib\oc4j_remote_deploy.jar http://pl-hq-isl1.us.oracle.com:1156/Oc4jDcmServletAPI/ ias_admin **** redeploy /oracle_nas/ias101202 C:\oracle\src\OMRUtils\Utils\deploy\omrutils.ear omrutils
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy /oracle_nas/ias101202 C:\oracle\src\OMRUtils\Utils\deploy\omrutils.ear omrutils UNDEFINED
Command = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
#### Command has failed
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Command has finished
Receiving command exit value
#### Could not receive command output from Oc4jDcmServlet
Receiving command output
#### Could not receive command output from Oc4jDcmServlet
**** No output was received from command
Closing connection to Oc4jDcmServlet
DCM command completed successfully.
Output:
Exit status of DCM servlet client: 0
Elapsed time for deployment: 11 seconds
---- Deployment finished. ---- Mar 6, 2006 1:22:43 PMNo, oc4j is included in oracle AS. But some older versions of oc4j produce errors when directly deploying from jdev.
Check if your AS contains oc4j version 9.0.2.0.0 if it is so, deployment should work fine. if not reinstall oc4j.
oc4j is not automatically installed during the oracle AS Installlation Process (at least when I tried it).
If theres no j2ee directory in your AS-home-directory, You should install it manually as descripted in the links in my posting.
Also You have to start it with "java -jar oc4j.jar"
Then it should work fine.
check my other answer for more information:
Re: User defind functons limitations
Maybe you are looking for
-
TS1060 "You need a new version of Pages to open this document"
I have installed iWork 08 in my MBP Lion. All the documents created in my computer were with this version of iWork. I created some documents months ago that i need to open and update but everytime I try to open the .pages files I get the message "You
-
Is there a way to get flash on my iPad
Can I access flash for the iPad I am trying to take an online class.
-
I have a Lenovo C540 all-in-one computer with windows8 I recently purchased. Prior to purchasing it I had a windows XP with a HP2310m Full HD LCD monitor which worked great. But now that I have attached it to my Lenovo as a 2nd monitor, the screen i
-
Hi, my Mac is G5 PPC - 10.4.8 - GeForce FX 5200 - iMovie 6.0.3 My problem is: I open new project by iMovie (only photos); I have modified the first photos with Ken Burns without problems, after they are not successful more to make modifications, beca
-
Adobe Reader Error | Windows 7 | FireFox
Recently I reformatted my computer and upgraded to windows 7. Everything is working really well, up to today, where I need to open a PDF file. In FireFox I get this error Firefox could not install the file at http://platformdl.adobe.com/NOS/getPlusPl