Ear file transport problem
Hi Gurus,
A new Java web-dynpro application developed in development system, and after transported into productive portal. Everything ok. After that I modify the java program and transported the modified ear file into the QAS portal. The application run without error in development system, but in the QAS don't run. There is nothing relevant information in the default trace log.
What is the problem? This is a little application, contains only one ear file...
Thanks for your helps,
Hi David,
Please follow the link:
http://help.sap.com/saphelp_nw04/helpdata/en/f4/6c9962da317549a05919ce926b5196/frameset.htm
cheers,
Noel
Similar Messages
-
File transport problem in XI 3.0
Hi,
I am facing an issue in transporting XI objects(JAVA component). When I am using the transport wizard for Export design or configuration objects it's showing me the below error "Error during Export The System can't find the path specified".
Export directory for .tpz file transport is defined as E:\usr\sap\XID\SYS\global\xi\repository_server\export for repository objects and E:\usr\sap\XID\SYS\global\xi\directory_server\export for config objects.
My observation regarding the issue:
Traverse through the following path
XI homepage --> Administration --> General Information.
In File Access tab, Information for Temporary Directory is shown as :(The system cannot find the path specified).
Is there any specific parameter or something in visual administrator through which I could actually set the temporary directory ?
Thanks,
SoumenHi Soumen,
The directory path you mentioned is the default one. The error you are facing is since the directory might not exist.
Please look into application server, if unix - login to the server and go to the path and check if it exists using cd command.
If windows, navigate to the folder location.
Next check if the access parameters/permissions are correct. I.E. the folder is not read only. For unix use chmod 777 <folder name> and for windows right click and set the permissions.
Regards,
Souvik -
Wl 8.1 sp1 .ear file deployment problems
I am Unable to deploy ear file in WL8.1 SP1. See the error below..
This ear fie is successfully deployed on WL6.1 SP3
IF i remove the componenet on which this error is thrown, the same error appears
on other componenet...
Can somebody explain what would cause this?
Exception thrown is:-->
Exception:weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]The EJB container
failed while creating the java:/comp/env namespace for this EJB deployment. javax.naming.NameAlreadyBoundException:
UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333) at
weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291) at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359) at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922) at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
5. The LOg of Activities:-->
[Deployer:149033]preparing application lpapp on wls1
[Deployer:149033]failed application lpapp on wls1
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
lpapp on wls1.:
Exception:weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/env namespace
for this EJB deployment.
javax.naming.NameAlreadyBoundException: UserTransaction is already bound; remaining
name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)I can give you the skeleton..
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<display-name>Application</display-name>
<description>Application description</description>
<module>
<web>
<web-uri>mywar.war</web-uri>
<context-root>mywar</context-root>
</web>
</module>
<module>
<ejb>myejbs.jar</ejb>
</module>
</application>
"skv" <[email protected]> wrote:
>
Unfortunately I can't.
But I can answer your questions. I have also open a case with bea and
so far no
luck.
Also the ear file take an awful lot of time to deploy. THe ear file
I have currently
contains 106 jar file (ejb's) and the deployment continues forever (>
than 25
minutes) and the status in console Shows 'In progress'
Rob Woollen <[email protected]> wrote:
Strange. Can you show me the contents of your EAR file (ie the file
layout) and your application.xml?
-- Rob
skv wrote:
I am Unable to deploy ear file in WL8.1 SP1. See the error below..
This ear fie is successfully deployed on WL6.1 SP3
IF i remove the componenet on which this error is thrown, the sameerror appears
on other componenet...
Can somebody explain what would cause this?
Exception thrown is:-->
Exception:weblogic.management.ApplicationException: prepare failedfor MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]TheEJB container
failed while creating the java:/comp/env namespace for this EJB deployment.javax.naming.NameAlreadyBoundException:
UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)at
weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
5. The LOg of Activities:-->
[Deployer:149033]preparing application lpapp on wls1
[Deployer:149033]failed application lpapp on wls1
[Deployer:149034]An exception occurred for task [Deployer:149026]Deployapplication
lpapp on wls1.:
Exception:weblogic.management.ApplicationException: prepare failedfor MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/envnamespace
for this EJB deployment.
javax.naming.NameAlreadyBoundException: UserTransaction is alreadybound; remaining
name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) -
Problem in deploying an ear file in weblogic 8.1 SP5
Hi,
When I tried deploying my ear file in Weblogic 8.1 SP5, I am getting the following error:
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for counter-ejb.jar
Module: counter-ejb.jar Error: Exception preparing module: EJBModule(counter-ejb.jar,status=NEW)
Unable to deploy EJB: com_liferay_counter_service_ejb_CounterServiceEJB from counter-ejb.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
weblogic.deployment.EnvironmentException: [EJB:010174]The resource-ref 'mail/MailSession' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
at weblogic.ejb20.deployer.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:294)
at weblogic.ejb20.deployer.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:232)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:384)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1181)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:952)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1437)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3149)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1590)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1234)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1077)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2530)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2480)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
The config.xml is
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.5.0" Name="mydomain">
<Server ListenAddress="" ListenPort="7001" Name="myserver"
NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
<SSL Enabled="false" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" Name="myserver"/>
</Server>
<JMSFileStore Directory="rmfilestore" Name="FileStore"/>
<WSReliableDeliveryPolicy DefaultRetryCount="10"
DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
<JDBCConnectionPool
DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
Name="LiferayPool" PasswordEncrypted="{3DES}MO3m0i6yVqM="
Properties="user=lportal;url=jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor;userName=lportal;dataSourceName=SQL2000JDBC;databaseName=lportal;serverName=localhost"
Targets="myserver" TestConnectionsOnReserve="true"
TestTableName="SQL SELECT * from sysobjects" URL="jdbc:microsoft:sqlserver://localhost:1433"/>
<JDBCTxDataSource JNDIName="jdbc/LiferayPool" Name="LiferayPool"
PoolName="LiferayPool" Targets="myserver"/>
<Security Name="mydomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<EmbeddedLDAP
CredentialEncrypted="{3DES}VKU1Z+Rt+9H2BdJ/IWLykO3UHDGbDN2w3so0iy8xk1o=" Name="mydomain"/>
<SecurityConfiguration
CredentialEncrypted="{3DES}HVQXen+OHn1WVUhPVXQ5Etq0wZGW3TnCcMyK65ekuw56D9CS2M/ODdh/PomFZBYLRYlkhysTEvGDijpcBUYz6FzUcyq5JYry"
Name="mydomain" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JMSServer Name="WSStoreForwardInternalJMSServermyserver"
Store="FileStore" Targets="myserver">
<JMSQueue CreationTime="1155021233552"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
<JMSQueue CreationTime="1155021233723"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
</JMSServer>
<MailSession JNDIName="mail/MailSession" Name="mail/MailSession"
Properties="mail.pop3.host=localhost;mail.imap.host=localhost;mail.transport.protocol=smtp;mail.smtp.host=localhost;mail.store.protocol=imap" Targets="myserver"/>
</Domain>
The ejb-jar.xml is :
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<display-name>CounterServiceEJB</display-name>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<home>com.liferay.counter.service.ejb.CounterServiceHome</home>
<remote>com.liferay.counter.service.ejb.CounterServiceEJB</remote>
<ejb-class>com.liferay.counter.service.ejb.CounterServiceEJBImpl</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<resource-ref>
<res-ref-name>jdbc/LiferayPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>mail/MailSession</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<unchecked />
<method>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
</assembly-descriptor>
</ejb-jar>
The weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Please Help!
Thanks in Advance.
- KarthikeyanHi,
I am still getting the error even after changing the JNDI name.
The modified weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>mail/MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Thanks..
- Karthikeyan -
Problems deploying ear file created with ant build script
Hi All,
I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
Truncated. see log file for complete stacktrace
>
<Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
Please help!!I answered my own question -
I had to manually add the following to the WEB-INF/lib to get the error to go away:
${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
Thanks -
Help to solve problem with packaging log4j in a EAR file
Hi All
i struggle hard to create a EAR composed of EJB JARs and WARs and the programs
in these JARs and WARs use log4j to log msg. Because i want all J2EE apps to have
their own version of log4j library, i package log4j.jar in the EAR file. Below
is my EAR package structure
EJB1.jar
EJB2.jar
SharedUtilities.jar
log4j.jar
log4j.properties
WEBAPP1.war
WEBAPP2.war
META-INF/manifest.mf
For both EJB1.jar and EJB2.jar's META-INF/manifest.mf, there is a below entries
Manifest-Version: 1.0
Class-Path: SharedUtilities.jar log4j.jar
However, my program always hit below runtime error.
[java] Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception:
: java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator
But the program in EJB1.jar and EJB2.jar seem to have no such problem in loading
classes in SharedUtilities.jar. The problem can be eliminated if i put log4j.jar
at system classpath. Can anybody provide me with info on how to package a log4j
library within a EAR package ?
In addition, where should i put the log4j.properties so that it will be at search
path of log4j and automatically loaded by log4j lib
regards
DannyHi Slava Imeshev
I am a bit confused about your reply. As said, the log4j.jar was packaged in my
ear file. If the log4j.jar was not packaged in ear file, how come the ejb classloader
can locate it.
Secondly, if log4j.jar is included in system classpath, the ejb also can load
log4j classes by system classloader. No "NoClassDeffound" exception is thrown.
regards
dso
"Slava Imeshev" <[email protected]> wrote:
"dso" <[email protected]> wrote in message
news:[email protected]...
Hi Slava Imeshev
thanks for your response. I am a bit confused about your answer.
i can't understand why u said the classloader COULD loadorg/apache/log4j/PropertyConfigurator.
According to the error msg, it said
" java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator".
Seemingly,
this class in log4j.jar could not be located. But as i said in lastquestion,
i seemed to have properly
edit the "META-INF/manifest.mf" in EJB1.jar and EJB2.jar to includelog4j.jar
in "Class-path" attribute. And my EJB classes have no problem in loadingclasses
in SharedUtilities.jar. Would u please elaborate on it in more details?
Sure. NoClassDefFoundError means that a DEPENDING class
can not be loaded. If the classloader were not able to load the class
itself, it would give you ClassNotFoundException.
Just make sure that you don't have the same packages in
the ear and in the class path so that you don't have classes
loaded by system classloader trying to load classes loaded
by ejb classloaders.
regards
dso
"Slava Imeshev" <[email protected]> wrote:
First, this error means that classloader was able to load
org/apache/log4j/PropertyConfigurator, but cold not load
one of depending classes. I'd inspect the CLASSPATH
to see if there are any log4 classes there.
Second, you can package your log4.properties into
log4.jar itself.
Regards,
Slava Imeshev
"dso" <[email protected]> wrote in message
news:[email protected]...
Hi All
i struggle hard to create a EAR composed of EJB JARs and WARs and
the
programs
in these JARs and WARs use log4j to log msg. Because i want all
J2EE
apps
to have
their own version of log4j library, i package log4j.jar in the EARfile.
Below
is my EAR package structure
EJB1.jar
EJB2.jar
SharedUtilities.jar
log4j.jar
log4j.properties
WEBAPP1.war
WEBAPP2.war
META-INF/manifest.mf
For both EJB1.jar and EJB2.jar's META-INF/manifest.mf, there is
a below
entries
Manifest-Version: 1.0
Class-Path: SharedUtilities.jar log4j.jar
However, my program always hit below runtime error.
[java] Caused by: javax.ejb.TransactionRolledbackLocalException:EJB
Exception:
: java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator
But the program in EJB1.jar and EJB2.jar seem to have no such problemin
loading
classes in SharedUtilities.jar. The problem can be eliminated if
i
put
log4j.jar
at system classpath. Can anybody provide me with info on how to
package
a
log4j
library within a EAR package ?
In addition, where should i put the log4j.properties so that it
will
be at
search
path of log4j and automatically loaded by log4j lib
regards
Danny -
Problem using a library with an EAR file (ServletNotFoundException)
Hello
I'm trying to use a library (J2EE library project) an associated it to an Enterprise Application Project.
The application was built using the Spring MVC framework.
When I did deploy I got the following warning:
Apr 25, 2006 9:44:17 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[004]Finished Deployment
And when I try to run the application I got the following error:
404 Not Found
The request cannot be processed.
Details: com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Cannot load the requested servlet [data-entryLib/servlet/data-entry]. The ID of this error is
Exception id: [00306E5DA8D2004E00000068000052550004124234F31271].
The application run properly when I use the jars file in the WEB-INF/lib folder.
I have been reading some recomendations in this forum, but nobody tell me how to solve this problem
Thanks
Adriana.Hi Rajesh
Thanks for your answer.
Yes, I deployed the .sda file, add the jars file in the archive server/provider.xml and I checked this: (Problem with EAR referencing a library DC)
The type of reference that I gave in the EAR file was in the archive application-j2EE-engine.xml:
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">LibreriaDataEntry</reference-target>
</reference>
<provider-name>sap.com</provider-name>
<fail-over-enable
mode="disable"/>
Thanks
Adriana -
Hi I have hosting machine running linux
th java and j2sdkee some files are owned by root and most by uucp
1)what is uucp.
2)I can run the j2ee and i have deployed ear file
I can access the deployed application using
http://localhost:8000/blah/blah ok
but if i try to access the same from
http://www.xxxxxx.xxx:8000/blah/blah it is not working it says this page cannot be displayed (404)
can anyone tell me what is the problem
this is urgent i have to demo this in 2 hrs pl help me outHi sridhar,
1. Search for the file: hosts
2. add 1 line
127.0.0.1 www.sridhar.com
Then do this:
http://www.sridhar.com :8000/blah/blah
--Paul -
Problem While deploying an ear file
I created a ear file Which has a BeanHello.jar and BeanHello.war and an application.xml. I tried doing it like the petstore application of weblogic6.0. It is deploying on the server , But the internal components of the ear file is not being deployed . Kindly send me one small example.
We are also having the same problem with our application. And it works OK when
we deploy the ejb jars and Webapplication(war)separately.
We think we've followed all the steps in the WebLogic documentation, but same
as Meena, the internal components of our ear file is not being deployed. And when
we try to start Weblogic server, it throws the exceptions as below.
We'll highly appreciate any help. Thanks in advance.
Ting
[weblogic.xml.process.XMLProcessingException: Could not locate processor for public
id = "-//Sun Microsystems,Inc.//DTD J2EE Application 1.2//EN" - with nested exception:
[weblogic.xml.process.ProcessorFactoryException: Could not locate processor for
public id = "-//Sun Microsystems,Inc.//DTD J2EE Application 1.2//EN"]
at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:85)
at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:67)
at weblogic.management.mbeans.custom.Application.getDD(Application.java:602)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:499)
at weblogic.management.mbeans.custom.Application.load(Application.java:310)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy6.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:550)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:526)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:450)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:402)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:152)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:665)
"Amirthamurugaraj" <[email protected]> wrote:
U can take the petstore appplication as an example.
If everything U did with the creation of ear files and deployment goes
fine,
make ur application as the default application and try.
If that doesn't work for U,make sure the ejb(jar) and Webapplication(war)
are working when deployed separetly.
In addition to this,check for any exceptions in the console.
Reply back on success or any queries..........
Amirthamurugaraj.
Meena <[email protected]> wrote in message
news:[email protected]...
I created a ear file Which has a BeanHello.jar and BeanHello.war andan
application.xml. I tried doing it like the petstore application of
weblogic6.0. It is deploying on the server , But the internal components
of
the ear file is not being deployed . Kindly send me one small example. -
Problems regarding the manifest file in deploying an ear file
I have developed one jar file(classes.jar) for my all my classes built.
I have now one ejb module jar file which refers to my classes.jar throgh the mainfest.mf file of ejbmodule.jar file.
I have one war file(web pplication) which also refers to my classes.jar file throgh its manifest.mf file.
I am now making an ear file of all these (classes.jar,ejbmodule.jar and web.war).
All these are at the same level.
Now when the server starts,it needs some classes to refer.
The deployed ear should be able refer to my classes.jar through the
manifest.mf of the ejb as well as the web module file.
But it not refering.I dont know what is the problem.
<b>
Manifest-Version: 1.0
Class-Path: classes.jar
Created-By: 1.4.2 (Sun Microsystems Inc.)
</b>
Is there something else I need to do?if you structure is:
myear.ear
-->myejb.jar
-->mywar.war
-->classes.jar
-->META-INF
---->manifest.mf
---->application.xml
and the manifest myejb.jar and mywar.war are:
Manifest-Version: 1.0
Class-Path: classes.jar
Created-By: 1.4.2 Sun Microsystems Inc.
all is fine.
perhaps your error is when you startup the server. Can you send me you error when is starting server?
Message was edited by:
javichin -
Problems with deploying an EAR file (Geronimo)
hey guys,
i just want to deploy one EAR-File with two different deployment plans. however, i get the following problem, even if i change the groupId, artifactId,... in the environment and in the modules of the deployment plan, when i deploy the EAR with the second deployment plan (after deploying with the first one):
"Application cannot be deployed as it contains deployment ids which are in use"
but the ids are completely unique in my deployment plan
Does anybody know how to fix that problem, or how to deploy two application-instances with one and the same EAR ??
PLEASE HELP MEEE...! :D
Greetz, iTob
Edited by: -iTob- on May 28, 2009 4:15 AMApache Geronimo has a mailing list. Post the question there.
Kaj -
J2EE Query-problem opening EAR file
I have been trying to set up a CASE study from the CD supplied with the SAMS book "Teach Yourself J2EE in 21 Days "
The case study requires a small database for storing information. A Java program to create the database has been provided on the CD. The program uses the Cloudscape database provided with the J2EE RI and according to the book "can be easily adapted to work with any JDBC compatible database."
I am using Windows 2000, J2SDK 1.4.0 and J2SDKEE1.3.1-Java Plug-in and Java Plug-in 1.4.0
I have set my PATH statement to: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls\English;c:\j2sdkee1.3.1\bin;c:\Ant\jakarta-ant-1.4.1\bin,%PATH%;%ANT_HOME%\bin;c\orawin95\bin;%J2EE_HOME%\bin;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
In System Variables field of Environmental Variables in Cotrol Panel I have:
J2EE_HOME variable maps to c:\j2sdkee1.3.1
JAVA_HOME maps to c:\j2sdk1.4.0
The instructions are as follows:
To create and install the database, you will need to do the following:
1.Copy the following files from the CD to the Cloudscape sub-directory of the J2EE installation directory : CreateAgency.java, CreateAgency.class, and CreateAgency.bat - I have done this
2.From the Cloudscape sub-directory run the following script program as follows:
CreateAgency - I have run this batch file
* At which point a new sub-directory called Agency was successfully created under the currect Cloudscape directory-so far so good!
3.Having created the database, you must now add a data source called Agency to J2EE. Run the following command to add the data source:
j2eeadmin -addJdbcDatasource jdbc/Agency jdbc:cloudscape:rmi:Agency;create=true
I have done this with no errors
I have a problem trying to open the case study EAR file from the CD
I start the cloudscape database and j2ee successfully with commands:
cloudscape -start
j2ee -verbose
I then run deploytool.bat under bin directory of J2EE_HOME
GUI Screen opens as per the book but when I try to open the EAR file via File, Open then browse for the EAR file in the Open Object Dialog box I get error message:
"agency.ear is corrupt or cannot be read
java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively<Native Method>
etc
and at end of Deployment Tool diagnositc output I get:
Error: Opening Application - java.lang.NullPointerException
for more details see j2eeDeploytoolExceptionLog.out
I am truely stumped - I am sure I have set the J2EE_HOME environment variable to the location on the c: drive where the J2EE reference implementation is located and have added the bin directory below J2EE_HOME to the executable search path (%PATH%) so that I can run tools and batch files from the command line
I can attach the EAR file which I have copied off the CD and forward if necessary
Any help would be greatly appreciated
RegardsI'm following the same book. Did you try starting j2ee first and then Cloudscape?
-
Problem while deploying a WLW ear file on a WL81 production server
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]Looks like Raj has responded to this thread in the Workshop newsgroup:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1250&utag=
"Yves Léauté" wrote:
>
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet] -
Problems while deploying a war file as a part of ear file
Hello!!!
Is there a weblogic or Sun reference document to find out the correct way to specify library paths or class paths when one is trying to deploy a WAR file as a part of an EAR file?
I have been having lot of trouble and very sporadic too in getting stuff to work correctly.
-EagleOK! I found something the very hard way. For my J2EE application packaged as an ear file containing one ejb module in an ejb-jar file and one web module in my .war file; further, noting that my web module is a struts application; it appears that the dependent jar libraries should be placed in the EAR file and a MANIFEST classpath entry should be added to the ejb-jar file's manifest - even for the WAR to work correctly. the presence or absence of dependent jar files in the "lib" directory of the WAR file makes no difference for the working of the WAR file.
Is this behavior that I am seeing on my weblogic 8.1 server a documented and expected behavior? I am not too sure. did anyone else have such an experience?
Eagle
> Hello!!!
>
> Is there a weblogic or Sun reference document to find
> out the correct way to specify library paths or class
> paths when one is trying to deploy a WAR file as a
> part of an EAR file?
>
> I have been having lot of trouble and very sporadic
> too in getting stuff to work correctly.
>
> -Eagle -
Problem while deploying the ear file in sap itc server
error loading archive
manifest attributes are missing while deploying ear file in sap itc server
attribute key location is missing
attribute key vendor is missingerror loading archive
manifest attributes are missing while deploying ear file in sap itc server
attribute key location is missing
attribute key vendor is missing
Maybe you are looking for
-
I bought a Toshiba external drive IT and I can copy files to it from my Macbook Pro 5,3. I would like to know how canI interchange files with Windows and the Mac.
-
I have a PC laptop and work desktop PC that I use for Audition to edit podcasts. I have a Mac at home that I want to use for photoshop (and also install it on my work PC, maybe). So that's 3 computers, but each Adobe application will only be on one (
-
Artwork doesn't show with version 5.0.1
I updated my ipod with the iOS 5.0.1. The album artwork doesn't show even if they all appears in Itune. Any idea to resolve this problem?
-
Oracle VM Server v3.1.1 stuck at "Starting Udev"
This is a fresh install of 3.1.1. No matter what I install on to, be it a physical HDD or USB key, I can't get 3.1.1 to boot. Everytime it gets as far as "Starting udev" and then just gets stuck at this stage. v3.0.3 on the exact same machine works f
-
Is it possible to find my iphone using find my iphone if it was stolen in CUBA ???