Compilation error when deploying EAR file on standalone OC4J...
Hi All,
I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
==========================================================
Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
Unpacking JavaWebServiceEmp-GetDates-WS.ear
Done unpacking JavaWebServiceEmp-GetDates-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
Starting application : JavaWebServiceEmp-GetDates-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : JavaWebServiceEmp-GetDates-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
Operation failed with error:
Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
Deployment failed
Elapsed time for deployment: 1 minute, 50 seconds
==========================================================
Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.
Initially I followed the following steps to start up OC4J:-
Settings :-
1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
Steps followed to run oc4j and deploy application
1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
to include the following:-
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
</shared-library>
AND
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
--> java -jar oc4j.jar
4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
6) Steps 4 and 5 went through without error.
7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
http://localhost:8888/docws/prime
This was before I tried deploying the web service through jdeveloper IDE.
I had tried the document web service given at the following link:-
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
from the web services how to links
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
Message was edited by:
Lester N
Similar Messages
-
Hello
What could be the problem that I get this error when deploying my ear file with a web service within.
[#|2008-03-29T17:43:02.640+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Thread-26;_RequestID=0a164c90-57bc-4d4a-8b3f-270fc4584891;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- C:\Sun\AppServer\domains\domain1\generated\xml\j2ee-apps\agency_app\agency_jar\META-INF\wsdl\AgencyModuleWebServiceService.wsdl (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at java.net.URL.openStream(URL.java:1007)
at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:699)
at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:643)
at com.sun.enterprise.deployment.backend.WebServiceDeployer.doWebServiceDeployment(WebServiceDeployer.java:165)
at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:855)
at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:339)
at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:222)
at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:359)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:214)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]when I deployed this application on a custom domain setup, it does not fail. But it fails on default domain.
Regards
MichaelHow did you create your datasource, can you post the content, without passwords of course.
Greetings. -
Getting a compilation error when deploying a web service to OC4J.
The following are the error that I got from Oracle AS server console:
[Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
[Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
[Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
[Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
[Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
[Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
[Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
[Feb 5, 2007 11:31:16 AM] Initializing EJB container
[Feb 5, 2007 11:31:16 AM] Loading connector(s)
[Feb 5, 2007 11:31:16 AM] Starting up resource adapters
[Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
[Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
[Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
[Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
[Feb 5, 2007 11:31:16 AM] Started application : edsssaws
[Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
[Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
[Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
The error log shows as the following:
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
... 8 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
Any idea why it happened?
Thanks,
JasonHello,
I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
Regards
Tugdual Grall -
Weblogic 10.3.2 Error when deploying ear file
Using WLS 10.3.2, wwhen activating changes, I obtain following errors:
An error occurred during activation of changes, please see the log for details.
Exception occured while downloading files
[DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,285,335,764,675". Underlying error is: "[DeploymentService:290065]Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "1,285,335,764,675" from server "p8aerm". Exception is: "Could not create temp location for application : Engine-wl"."
Would someone with expertise confirm where "temp location for application" is on an AIX 6.1 server.
Any help appreciated.What user runs your weblogic? the oracle user?
In my case weblogic is started by a weblogic user who owns all the WLS folders.
Try $> ps -fea | grep p8ce to verify the user running the weblogic instance.
In a RH5 the privileges are (755):
4 drwxr-xr-x 2 weblogic weblogic 4096 Nov 19 2009 .internal
4 drwxr-xr-x 5 weblogic weblogic 4096 Nov 19 2009 WLinternal
4 drwxr-xr-x 8 weblogic weblogic 4096 Nov 23 2009 ..
4 -rw-r--r-- 1 weblogic weblogic 379 Sep 20 16:53 WebServiceUtils.ser
0 -rw-r--r-- 1 weblogic weblogic 0 Sep 20 16:55 SysAdmServer.lok
4 drwxr-xr-x 5 weblogic weblogic 4096 Sep 21 19:28 .
4 drwxr-xr-x 6 weblogic weblogic 4096 Sep 21 19:28 WLuser
The folder WLuser will be created when the deploy starts.
In your case an error happends before this step. -
Geting error when deploy ear file on Oracle Application Server
Hi,
i m trying to deploy EAR on Oracle Application Server but i m getting ther Error
Operation failed with error: Missing class: oracle.adf.controller.v2.lifecycle.PagePhaseListener Dependent class:
any body know that what is this error
plz help me
HarishWhat version of JDeveloper are you using? And what version is your app server?
-
Error while Deploying war file on standalone OC4J 9.4.0.0
Hi,
I am getting following error when I deploy my war file.
12/19/2007 16:15:21,178 - ContextLoader.initWebApplicationContext (ContextLoader.java:203) >> ERROR: Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/applicationContext.xml]
Offending resource: ServletContext resource [WEB-INF/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]Offending resource: class path resource [spring/applicationContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]
Offending resource: class path resource [spring/applicationContext.xml]; nestedexception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDoc
umentBuilderFactory(DefaultDocumentLoader.java:101)
My JAVA_HOME points to jdk 1.5 but still I am getting error.
Is there any thing i need to change in my application-context.xml files or any other xml files.
I am new to OC4j. Till now I have been deploying my war file to tomcat and it is running fine.
But, whin I tried to run it in oc4j, i m geting above error.
Please help me . Thanks in advance
-- NaveenHi,
I am getting following error when I deploy my war file.
12/19/2007 16:15:21,178 - ContextLoader.initWebApplicationContext (ContextLoader.java:203) >> ERROR: Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/applicationContext.xml]
Offending resource: ServletContext resource [WEB-INF/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]Offending resource: class path resource [spring/applicationContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/helper-beans.xml]
Offending resource: class path resource [spring/applicationContext.xml]; nestedexception is org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 orbelow with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [spring/helper-beans.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [oracle.xml.jaxp.JXDocumentBuilderFactory@19f03d7] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDoc
umentBuilderFactory(DefaultDocumentLoader.java:101)
My JAVA_HOME points to jdk 1.5 but still I am getting error.
Is there any thing i need to change in my application-context.xml files or any other xml files.
I am new to OC4j. Till now I have been deploying my war file to tomcat and it is running fine.
But, whin I tried to run it in oc4j, i m geting above error.
Please help me . Thanks in advance
-- Naveen -
I created application using JDeveloper 11g, and have the deploy file EAR read to deploy to oracle application server 10g, but I am encouting the error of Operation failed with error: java:/app/jdbc/jdbc/HRConnDS not found
Below is the log. What did i do wrong? I have created the datasource of HRConnDS, and it shows in EM.
Nov 6, 2009 10:06:12 AM] Application Deployer for hra1 STARTS.
[Nov 6, 2009 10:06:12 AM] Copy the archive to /u01/OraHome_app1/j2ee/home/applications/hra1.ear
[Nov 6, 2009 10:06:12 AM] Initialize /u01/OraHome_app1/j2ee/home/applications/hra1.ear begins...
[Nov 6, 2009 10:06:12 AM] Unpacking hra1.ear
[Nov 6, 2009 10:06:12 AM] Done unpacking hra1.ear
[Nov 6, 2009 10:06:12 AM] Unpacking webapp2.war
[Nov 6, 2009 10:06:12 AM] Done unpacking webapp2.war
[Nov 6, 2009 10:06:12 AM] Initialize /u01/OraHome_app1/j2ee/home/applications/hra1.ear ends...
[Nov 6, 2009 10:06:12 AM] Starting application : hra1
[Nov 6, 2009 10:06:12 AM] Initializing ClassLoader(s)
[Nov 6, 2009 10:06:12 AM] Initializing EJB container
[Nov 6, 2009 10:06:12 AM] Loading connector(s)
[Nov 6, 2009 10:06:12 AM] Starting up resource adapters
[Nov 6, 2009 10:06:12 AM] application : hra1 is in failed state
[Nov 6, 2009 10:06:12 AM] Operation failed with error: java:/app/jdbc/jdbc/HRConnDS not found
Thank you very much for your help.How did you create your datasource, can you post the content, without passwords of course.
Greetings. -
Error when deploy EAR with JSF to OC4J
Hello
can anybody tell me how to deploy the EAR to OCJ4J version 10.1.3.3.0. My application is simple JSF application without ADF..
This is my log:
Done unpacking webapp1.war
Initialize /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf.ear ends...
Starting application : obnovajsf
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize webapp1 begins...
Initialize webapp1 ends...
Started application : obnovajsf
Binding web application(s) to site default-web-site begins...
Binding webapp1 web-module for application obnovajsf to site default-web-site under context root obnovajsf
Exception: NoClassDefFoundError:
Missing class: oracle.adf.share.logging.ADFLogger
Dependent class: oracle.adfinternal.view.faces.application.StateManagerImpl
Loader: obnovajsf.web.webapp1:0.0.0
Code-Source: /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib/adf-faces-impl.jar
Configuration: WEB-INF/lib/ directory in /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib
The missing class is not available from any code-source or loader in the system.
Operation failed with error:
Missing class: oracle.adf.share.logging.ADFLogger
Dependent class: oracle.adfinternal.view.faces.application.StateManagerImpl
Loader: obnovajsf.web.webapp1:0.0.0
Code-Source: /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib/adf-faces-impl.jar
Configuration: WEB-INF/lib/ directory in /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/libIf i look at the properties ->Technology Scope -> Selected technology I have: Java, JSF, JSP and Servlets..
if I look at the properties -> JSP tag libraries I have also ADF faces components and adf faces html 10_1_3_4_0..
I I remove the ADF tag library from my project I get the error:
============
C:\java_ide\jdevlast\jdk\bin\javaw.exe -client -classpath C:\java_ide\jdevlast\j2ee\home\oc4j.jar;C:\java_ide\jdevlast\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:\java_ide\jdevlast\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
16.4.2009 15:31:31 com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
16.4.2009 15:31:31 com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 15500 ms.
Target URL -- http://172.16.201.30:8991/ObnovaAOJSF-ObnovaJSF-context-root/faces/polica.jspx
09/04/16 15:31:40 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
09/04/16 15:31:41 java.lang.IllegalArgumentException: No renderKitClass for renderKit oracle.adf.core
09/04/16 15:31:41 at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:931)
09/04/16 15:31:41 at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
09/04/16 15:31:41 at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
09/04/16 15:31:41 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1140)
09/04/16 15:31:41 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
09/04/16 15:31:41 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
09/04/16 15:31:41 at com.evermind.server.Application.getHttpApplication(Application.java:586)
09/04/16 15:31:41 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
09/04/16 15:31:41 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1970)
09/04/16 15:31:41 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1922)
09/04/16 15:31:41 at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:423)
09/04/16 15:31:41 at com.evermind.server.http.HttpRequestHandler.resolveApplication(HttpRequestHandler.java:398)
09/04/16 15:31:41 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:439)
09/04/16 15:31:41 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
09/04/16 15:31:41 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
09/04/16 15:31:41 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
09/04/16 15:31:41 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
09/04/16 15:31:41 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
09/04/16 15:31:41 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
09/04/16 15:31:41 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
09/04/16 15:31:41 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.ru
=================================================
I I look inside my EAR archive under root I have
oracle folder with adf subfolder present which has other subfolders.. also adf-faces-config.xsd is present..
If I look inside WEB-INF/web.xml i have
==================
<?xml version = '1.0' encoding = 'windows-1250'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>obnovajsf.DataBindings</param-value>
</context-param>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>/polica.jspx</welcome-file>
</welcome-file-list>
</web-app>
=====================================
thank you for any answer! -
Got this error after deploying ear file into OC4J server.
Hello Frnsz,
Can any one help to resolve the following error :)
Got this error after deploying ear file into OC4J server.
2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
Cheers,
CapCross posted in correct forum
[http://forum.java.sun.com/thread.jspa?threadID=5302192] -
hi experts,
iam trying to deploy EAR file created using NWDS, when i am trying to deploy in XI server i am getting the following error,
can any one solve my problem.
Deploy of the ear has errors :
java.rmi.RemoteException: Cannot deploy application sap.com/ldaptofileear..
Reason: Errors while compiling:
E:/usr/sap/BWS/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/ldaptofileear/EJBContainer/temp/temp1209360116023/com/sap/aii/proxy/xiruntime/core/_AbstractProxyInboundRemote4ObjectImpl0_0_Tie.java:98: illegal escape character
if (method.equals("U0024messageSpecifier")) {
regards,
Madhav Poosarla.hi prateek,
i have not used this below code in my java proxy code
if (method.equals("U0024messageSpecifier")) {
but while i am deploying the java proxy, it is showing
the following path
E:/usr/sap/BWS/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/ldaptofileear/EJBContainer/temp/temp1209360116023/com/sap/aii/proxy/xiruntime/core/_AbstractProxyInboundRemote4ObjectImpl0_0_Tie.java:98: illegal escape character
and giving this error
Deploy of the ear has errors :
java.rmi.RemoteException: Cannot deploy application sap.com/ldaptofileear..
Reason: Errors while compiling:
plz check this error
regards,
Madhav -
Error while deploying EAR file through SDM
Hi All,
I am deploying EAR file through SDM. Its taking too much time to deploy in the 3rd stage (its just a simple hello file for testing purpose and its still in that stage for 2 hours).
When I see the log, I can see some fata error. Please suggest me what should I do.
==
Oct 15, 2008 4:31:44 PM Info: SDM started successfully.
Oct 15, 2008 4:33:21 PM Info: Opened client connection to sapretail (IP address
sapretail/172.20.177.203, remote port 58645)
Oct 15, 2008 4:33:23 PM Info: Request for Logon as admin accepted
Oct 15, 2008 4:39:07 PM Info: Loading archive '/usr/sap/trans/EPS/sap.comwdtu
torial~ex1.ear'
Oct 15, 2008 4:40:50 PM Info: Actions per selected component:
Oct 15, 2008 4:40:50 PM Info: Initial deployment: Selected development componen
t 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.14.12.51.57' will be deployed.
Oct 15, 2008 4:44:41 PM Info: Saved current Engine state.
Oct 15, 2008 4:44:48 PM Fatal: State BeforeNextDeployment can't process event I
nitiateDeployment
The reason I am doing through SDM because while deploying through NWDS its throwing an error
Oct 13, 2008 12:44:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : sapretail
SDM port : 50118
URL to deploy : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp41002sap.comwdtutorial~ex1.ear
Deployment exception : Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
Inner exception was :
Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
Please suggest a solution.
Regards,
JitenderNow, when I deploy through NWDS, I get the following error.
Result
=> deployment aborted : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp51346sap.comwdtutorial~ex1.ear
Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.15.21.04.16':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapretail] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
Deployment exception : The deployment of at least one item aborted -
Error while deploying EAR file on OC4J 10.1.3.3
Hi all,
I am facing following error on OC4J while deploying EAR file
Error occurred during initialization of VM
Could not reserve enough space for object heap
07/12/31 17:47:21 oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServ
ices SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\
CustomerServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
07/12/31 17:47:21 at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
07/12/31 17:47:21 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
07/12/31 17:47:21 at com.evermind.server.Application.getHttpApplication(Application.java:570)
07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.jav
a:1987)
07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
07/12/31 17:47:21 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
07/12/31 17:47:21 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
07/12/31 17:47:21 at java.lang.Thread.run(Thread.java:534)
2007-12-31 17:47:21.625 NOTIFICATION Application Deployer for CustomerServices SMS API FAILED.
2007-12-31 17:47:21.625 NOTIFICATION Application UnDeployer for CustomerServices SMS API STARTS.
2007-12-31 17:47:21.640 NOTIFICATION Removing all web binding(s) for application CustomerServices SMS API from all web site(s)
07/12/31 17:47:21 SEVERE: ProgressObjectImpl.reportError Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
oracle.oc4j.admin.jmx.shared.exceptions.InternalException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices
SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custo
merServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
2007-12-31 17:47:28.109 NOTIFICATION Application UnDeployer for CustomerServices SMS API COMPLETES.
07/12/31 17:47:28 WARNING: DeployerRunnable.run Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\cus
tomerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices
SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\custo
merservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices S
MS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
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(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
2007-12-31 18:21:46.234 WARNING Caught exception: java.lang.reflect.InvocationTargetException.
Regards,
Imran Raza KhanLooks strange, but do you have blanks in your path names? Don't do that. Cause pain only.
--olaf -
Error Exception in AppMerge flows' progression when deploying ear file
Trying to deploy an EAR file containing EJBs, JMS and JDBC modules to WebLogic 10.3.3 via the Admin Console. Getting the following list of errors, which display in the console:
Error Unable to access the selected application.
Error Exception in AppMerge flows' progression
Error Exception in AppMerge flows' progression
Error '/' expected a valid beginning name character
Error '/' expected a valid beginning name character
i'm unable to find any deployment log files that might tell me what exactly is producing the above-listed errors so they are all I have to go on....
Anyone have any hints or ideas as to what might be going on?Hi Brayn,
With *"App Merge Flows Error"* One thing is clear that there is something wrong with the Module Deployment descriptors inside your Application. We need to find that out first which XML file is corrupted. As the Log which u have pasted is not having much details in it...so u can try one thing may be we will get something new...
<b><font color=maroon>Step1).</font></b> Open a Command prompt or Shell Prompt and then (For Windows Based OS) run “setWLSEnv.cmd”
For Unix Based OS:
run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the /wlserver_10.3/server/bin) then run the following command….
. ./setWLSEnv.sh
Note: The first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
<b><font color=maroon>Step2).</font></b> Verify that the Classpath is Set properly or not: (for WINDOWS: echo %CLASSPATH%)
echo $CLASSPATH
<b><font color=maroon>Step3).</font></b> In the same command Prompt Move in the directory where u have placed your EAR Application and then run the following WebLogic Utility to generate the New Deployment descriptors...
java weblogic.DDConverter -d . YourEarApplication.ear
<font color=red>
It will read the EAR file and outside of the EAR application it will generate the fresh XML files.
NOTE: the actual use of weblogic.DDConverter tool is not intended to debug the XML content issues....it is actually used to generate the Old Deployment descriptors to the current WebLogic Version Deployment Descriptors......But I have many times used it to see if there is any issue with the XML descriptors...Because sometimes While converting the Deployment descriptors it throws the Error ... Pointing to the incorrect XML file....So may be it will be useful for u as well..to identify which XML file is corrupted.
</font>
If you find any XML which is wrong please post that XML file sothat we can see what's the issue with that.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here) -
Error when deploying EAR in OC4J 10.1.3.0.0 with a deployment plan
Hello!
I try to deploy an ear file specifying a deployment plan generated from web interface using command line utilities. I try to use both admin_client.jar and oracle ant task and still get the same error. When i remove deployment plan argument, the application is successfully deployed.... Any Idea?
My server:
OC4J 10.1.3.0.0 on an AIX server
The error raised during deployment:
[MyServer] 08/04/07 12:46:56 Notification ==>Application Deployer for MyApp STARTS.
[MyServer] 08/04/07 12:46:56 Notification ==>Copy the archive to /oracle/product/j2ee/home/applications/MyApp.ear
[MyServer] 08/04/07 12:46:56 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear begins...
[MyServer] 08/04/07 12:46:56 Notification ==>Unpacking MyApp.ear
[MyServer] 08/04/07 12:46:57 Notification ==>Done unpacking MyApp.ear
[MyServer] 08/04/07 12:46:57 Notification ==>Unpacking ic.war
[MyServer] 08/04/07 12:46:59 Notification ==>Done unpacking ic.war
[MyServer] 08/04/07 12:46:59 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear end
s...
[MyServer] 08/04/07 12:46:59 Notification ==>Starting application : MyApp
[MyServer] 08/04/07 12:46:59 Notification ==>Initializing ClassLoader(s)
[MyServer] 08/04/07 12:46:59 Notification ==>Initializing EJB container
[MyServer] 08/04/07 12:46:59 Notification ==>Loading connector(s)
[MyServer] 08/04/07 12:47:00 Notification ==>Starting up resource adapters
[MyServer] 08/04/07 12:47:00 Notification ==>Initializing EJB sessions
[MyServer] 08/04/07 12:47:00 Notification ==>Committing ClassLoader(s)
[MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic begins...
[MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic ends...
[MyServer] 08/04/07 12:47:00 Notification ==>Started application : MyApp
[MyServer] 08/04/07 12:47:00 Notification ==>Binding web application(s) to site default-web-site begins...
[MyServer] 08/04/07 12:47:00 Notification ==>Binding ic web-module for application MyApp to site default-web-site under context root ic
[MyServer] 70/01/01 00:00:00 Notification ==>Error deserializing return-value: unexpected reset; nested exception is:
java.io.StreamCorruptedException: unexpected reset
[Summary] There are total 1 instances in the operation.
[Summary] Operation failed on MyServer
[Summary] Operation on cluster FAILED since 1 instanced failed!
Here my deployment plan generated by the Application Server Control Console
moduleType=ear
applicationID=MyApp
bindWebApp=default-web-site
parent=default
moduleID=.
doctype=orion-application
<?xml version="1.0" encoding="UTF-8"?>
<orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/sch
ema/orion-application-10_0.xsd">
</orion-application>
moduleID=myapp.war
doctype=orion-web-app
<?xml version="1.0" encoding="UTF-8"?>
<orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
orion-web-10_0.xsd" context-root="myapp">
<resource-ref-mapping name="jdbc/ds" location="jdbc/myapp/ds">
</resource-ref-mapping>
<web-app-class-loader>
</web-app-class-loader>
</orion-web-app>
My Command line to deploy the application
java -jar admin_client.jar deployer:cluster:opmn://MyServer/home oc4jadmin XXXXX -deploy -file ~/MyApp.ear -deploymentName MyApp -deploymentPlan ~/myapp_plan.dat
Ant file used to deploy
<project name="Deploy EAR in OC4J" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">
<property name="server.host" value="MyServer"/>
<property name="server.user" value="oc4jadmin"/>
<property name="server.password" value="XXXXXX"/>
<property name="deploy.filepath" value="/home/myhome/MyApp.ear"/>
<property name="deploy.deployname" value="MyApp"/>
<property name="deploy.logpath" value="${basedir}/deploy-ear.log"/>
<property name="deploy.planpath" value="/home/myhome/myapp_plan.dat"/>
<property name="deploy.uri" value="deployer:cluster:opmn://${server.host}/home"/>
<target name="deploy-ear">
<oracle:deploy
deployerUri="${deploy.uri}"
userId="${server.user}"
password="${server.password}"
file="${deploy.filepath}"
deploymentName="${deploy.deployname}"
bindAllWebApps="default-web-site"
deploymentPlan="${deploy.planpath}"
logFile="${deploy.logpath}"/>
</target>
</project>
Thanks
Message was edited by:
Olivier MARTINIf you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
--olaf -
Error while deploying EAR file on weblogic
When i deploy an EAR file on weblogic 10.3 i get the following.
Please tell how to rectify it?
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
[J2EE:160161]Error while parsing the Application descriptors for Portal-0.0.1-SNAPSHOT.ear: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee: at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234) at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260) at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774) at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754) at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:307) at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:131) at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:142) at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:57) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:142) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.merge(AppMerge.java:154) at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:79) at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:60) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:184) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:151) at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:646) at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:459) 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 org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:168) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:251) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1170) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:107) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:223) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:164) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:139) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:194) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) .Hi,
Can you please paste your "application.xml" file, Looks like you are using a Wrong DTD/XSD declaration in this file or May be ou are using Wrong Tags in this file.
The Standard "application.xml" should look something like below, as described in the following link: http://middlewaremagic.com/weblogic/?p=1952
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<description>Test EAR Example</description>
<display-name>TestEAR Example</display-name>
<module>
<ejb>EJB1.jar</ejb>
</module>
<module>
<web>
<web-uri>WebApp1.war</web-uri>
<context-root>WebApp1ContextRoot</context-root>
</web>
</module>
</application>
NOTE: please make sure that you donot change the order of the <display-name> Tag....Sometimes it causes Parsing failure as yours.
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic/?p=1952 (Middleware Magic Is Here)
Maybe you are looking for
-
First off i would like to say thank you to all the Hp support people for putting up with me continueing to come back here asking the same kind of questions, Secondly i would like to appoligize that i have not explained this better and also, how long
-
Dynamically filename is required in CC but not reuired in Target field
HI, my requirement is to create filename dynamically(UDF) in Receiver communication channel but I dont want the name should be populated in the target field as target field is not provided by business. I received the below UDF from SDN String date
-
IPhoto suddenly unable to import photos from iPhone 4
For some odd reason, my copy of iPhoto 09 has suddenly lost the ability to import photos and videos from my iPhone 04. The import starts, then simply hangs (without iPhoto actually freezing). If I force quit iPhoto, I then receive a message saying sa
-
Avail. check in subcontracting orders
Hi guys, I have recently faced an issue that must be a well-known problem. Unless I am doing something wrong. When you place a subcontracting PO, its components are reserved in stock. The problem is that the availability check is not started automati
-
I get a little more background noise with my mic (AKG C214) than I would like, I am running off a Presonus 2x2 Audiobox USB preamp. Basically my question is: I've heard from other people to go to Control Panel > Sound > Recording ..... and then adjus