Automatic ejb redeploy when deploying a webapp
Hi all,
I' got a problem with bea 6.1 webapp deploy/redeploy.
When, from console, I upload the war the server undeploy and redeploy an EJB,
then try to deploy the war.
The ejb is used by the webapp and in the war (in WEB-INF/classes) there are the
EJB interfaces.
Is this correct ?
The real problem is that I have to deploy on a 2 node cluster. Deploying from
console automatically target the admin server, the EJB fail the redeploy and the
webapp is not deployed on the nodes.
I tryed to undeploy the EJB before deploying the webapp and another EJB (not related
to the webapp, developed here, not from bea) id redeployed ! :|
Any idea ?
Thanks
Lorenzo
Lorenzo,
Have you considered using an Enterprise Application (EAR) which includes both your web
app and your ejbs? This way you can undeploy and redeploy at the application level and
let the server worry about the deployment order. See:
http://edocs.bea.com/wls/docs61/programming/packaging.html#1029830
You can turn off the automatic deployment to the admin server. Please read:
http://edocs.bea.com/wls/docs61/adminguide/appman.html#1029683
I hope this helps.
Regards,
Velvet
Developer Relations Engineer
BEA Systems
"\"lorenzo bolzani\" lorenzo.bolzani-at-ethink.it" wrote:
Hi all,
I' got a problem with bea 6.1 webapp deploy/redeploy.
When, from console, I upload the war the server undeploy and redeploy an EJB,
then try to deploy the war.
The ejb is used by the webapp and in the war (in WEB-INF/classes) there are the
EJB interfaces.
Is this correct ?
The real problem is that I have to deploy on a 2 node cluster. Deploying from
console automatically target the admin server, the EJB fail the redeploy and the
webapp is not deployed on the nodes.
I tryed to undeploy the EJB before deploying the webapp and another EJB (not related
to the webapp, developed here, not from bea) id redeployed ! :|
Any idea ?
Thanks
Lorenzo
Similar Messages
-
Ejb-ref errore when deploying a previously working ear on weblogic 8.1
when deploying an ear module on weblogic 8.1 i get the following error:
The ejb-link 'CustomessagingBrick.jar/CustomMessaginBrick' declared in ejb-ref
or ejb-local-ref 'ejb/Service2' in the application module 'cmbrick.war' could
not be resolved. The target EJB for the ejb ref could not be found.
The ear is composed of two sub-modules:
CustomMessaginBrick.jar
cmbrick.war.
The same ear was deployed on weblogic 6.1.
Every reference in the ear seems in the right place so i am really clueless.
Hereafter i include the relevant portions of the deployment descriptors.
Thanks in advance!
Greets,
Luca
the web.xml for cmbrick.war contains the following data:
<ejb-local-ref>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocalHome</local-home>
<local>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocal</local>
<ejb-link>CustomMessagingBrick</ejb-link>
</ejb-local-ref>
its weblogic.xml file is the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<reference-descriptor>
<ejb-reference-description>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<jndi-name>Service2</jndi-name>
</ejb-reference-description>
</reference-descriptor>
</weblogic-web-app>
while the weblogic-ejb-jar for CustomMessaging bricks contains the following:
<weblogic-enterprise-bean>
<ejb-name>CustomMessagingBrick</ejb-name>
<stateless-session-descriptor>
<pool>
</pool>
<stateless-clustering>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>Service2</jndi-name>
</weblogic-enterprise-bean>....The issue is that WLS 6.1 didn't really support ejb-links properly. An
ejb-link should allow you to link a webapp or an ejb to another EJB
without requiring additional information or a global JNDI name on the
target EJB.
WLS 8.1 is following your ejb-link and telling you there's not enough
information.
You have 2 options:
1) Remove the <ejb-link>...</ejb-link> from your web.xml. You'll be
using just an ejb-reference at that point, but you've already included
the necessary information in the weblogic.xml that we can locate the EJB
via its global jndi-name
or
2) Change the ejb-link to be
<ejb-link>CustomMessaginBrick.jar#CustomMessagingBrick</ejb-link>
If you wanted to, you could then remove the reference info from the
weblogic.xml
-- Rob
luca wrote:
when deploying an ear module on weblogic 8.1 i get the following error:
The ejb-link 'CustomessagingBrick.jar/CustomMessaginBrick' declared in ejb-ref
or ejb-local-ref 'ejb/Service2' in the application module 'cmbrick.war' could
not be resolved. The target EJB for the ejb ref could not be found.
The ear is composed of two sub-modules:
CustomMessaginBrick.jar
cmbrick.war.
The same ear was deployed on weblogic 6.1.
Every reference in the ear seems in the right place so i am really clueless.
Hereafter i include the relevant portions of the deployment descriptors.
Thanks in advance!
Greets,
Luca
the web.xml for cmbrick.war contains the following data:
<ejb-local-ref>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocalHome</local-home>
<local>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocal</local>
<ejb-link>CustomMessagingBrick</ejb-link>
</ejb-local-ref>
its weblogic.xml file is the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<reference-descriptor>
<ejb-reference-description>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<jndi-name>Service2</jndi-name>
</ejb-reference-description>
</reference-descriptor>
</weblogic-web-app>
while the weblogic-ejb-jar for CustomMessaging bricks contains the following:
<weblogic-enterprise-bean>
<ejb-name>CustomMessagingBrick</ejb-name>
<stateless-session-descriptor>
<pool>
</pool>
<stateless-clustering>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>Service2</jndi-name>
</weblogic-enterprise-bean>.... -
Ejb-ref error when deploying a previously working ear on weblogic 8.1
when deploying an ear module on weblogic 8.1 i get the following error:
The ejb-link 'CustomessagingBrick.jar/CustomMessaginBrick' declared in ejb-ref
or ejb-local-ref 'ejb/Service2' in the application module 'cmbrick.war' could
not be resolved. The target EJB for the ejb ref could not be found.
The ear is composed of two sub-modules:
CustomMessaginBrick.jar
cmbrick.war.
The same ear was deployed on weblogic 6.1.
Every reference in the ear seems in the right place so i am really clueless.
Hereafter i include the relevant portions of the deployment descriptors.
the web.xml for cmbrick.war contains the following data:
<ejb-local-ref>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocalHome</local-home>
<local>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocal</local>
<ejb-link>CustomMessagingBrick</ejb-link>
</ejb-local-ref>
its weblogic.xml file is the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<reference-descriptor>
<ejb-reference-description>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<jndi-name>Service2</jndi-name>
</ejb-reference-description>
</reference-descriptor>
</weblogic-web-app>
while the weblogic-ejb-jar for CustomMessaging bricks contains the following:
<weblogic-enterprise-bean>
<ejb-name>CustomMessagingBrick</ejb-name>
<stateless-session-descriptor>
<pool>
</pool>
<stateless-clustering>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>Service2</jndi-name>
</weblogic-enterprise-bean>....when deploying an ear module on weblogic 8.1 i get the following error:
The ejb-link 'CustomessagingBrick.jar/CustomMessaginBrick' declared in ejb-ref
or ejb-local-ref 'ejb/Service2' in the application module 'cmbrick.war' could
not be resolved. The target EJB for the ejb ref could not be found.
The ear is composed of two sub-modules:
CustomMessaginBrick.jar
cmbrick.war.
The same ear was deployed on weblogic 6.1.
Every reference in the ear seems in the right place so i am really clueless.
Hereafter i include the relevant portions of the deployment descriptors.
the web.xml for cmbrick.war contains the following data:
<ejb-local-ref>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocalHome</local-home>
<local>com.hutchison3g.core.brick.custom.messaging.CustomMessagingBrickLocal</local>
<ejb-link>CustomMessagingBrick</ejb-link>
</ejb-local-ref>
its weblogic.xml file is the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<reference-descriptor>
<ejb-reference-description>
<ejb-ref-name>ejb/Service2</ejb-ref-name>
<jndi-name>Service2</jndi-name>
</ejb-reference-description>
</reference-descriptor>
</weblogic-web-app>
while the weblogic-ejb-jar for CustomMessaging bricks contains the following:
<weblogic-enterprise-bean>
<ejb-name>CustomMessagingBrick</ejb-name>
<stateless-session-descriptor>
<pool>
</pool>
<stateless-clustering>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>Service2</jndi-name>
</weblogic-enterprise-bean>.... -
NPE occurs when deploying suitecase dependent on WSIF / EJB
I am getting a NullPointerException when deploying a BPEL process that depends on an EJB accessed via a WSIF definition. Both the ejb and the suitcase are deployed onto the same oc4j instance, and i have tested the ejb from a standalone client to ensure that it is operational, but i get the exception noted below. I can only assume that there may be something wrong with the WSIF definition, but I have checked it numerous times to make sure that it accurately reflects the ejb definition. Can you give me some hints as to some things to check that could possibly cause this error? From the stack trace, it seems that it is ejb related, but i guess i could be wrong:
<2006-04-11 11:20:28,088> <ERROR> <default.collaxa.cube.engine.deployment> <Cube
ProcessFactory::generateProcessClass>
Process "XYZ" (revision "1.01.000.0000") compilation failed.
<2006-04-11 11:20:28,182> <ERROR> <default.collaxa.cube.engine.deployment> <Cube
ProcessLoader::create>
<2006-04-11 11:20:28,182> <ERROR> <default.collaxa.cube.engine.deployment> Proce
ss "XYZ" (revision "1.01.000.0000") load FAILED!!
com.evermind.server.rmi.OrionRemoteException: java.lang.NullPointerException
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:296)
at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchi
ve(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2174)
at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubePro
cessMonitorWork.java:130)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
at java.lang.Thread.run(Thread.java:534)
Nested exception is:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:398)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.addStatus(CubePr
ocessHolder.java:275)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcess
Holder.java:1240)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(Cube
ProcessHolder.java:882)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadArchive(Cube
ProcessHolder.java:824)
at com.collaxa.cube.engine.CubeEngine.loadProcessArchive(CubeEngine.java
:939)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.loadProcessArchive(BP
ELDomainManagerBean.java:390)
at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchi
ve(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2157)
at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubePro
cessMonitorWork.java:130)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
at java.lang.Thread.run(Thread.java:534)
<2006-04-11 11:20:28,182> <ERROR> <default.collaxa.cube.engine.deployment> <Cube
ProcessMonitorWork::run> Error while loading process archive C:\OraBpelPM\integr
ation\orabpel\domains\default\deploy\bpel_XYZ_1.01.000.0000.jar
com.evermind.server.rmi.OrionRemoteException: java.lang.NullPointerException
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:296)
at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchi
ve(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2174)
at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubePro
cessMonitorWork.java:130)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
at java.lang.Thread.run(Thread.java:534)
Nested exception is:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:398)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.addStatus(CubePr
ocessHolder.java:275)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcess
Holder.java:1240)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(Cube
ProcessHolder.java:882)
at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadArchive(Cube
ProcessHolder.java:824)
at com.collaxa.cube.engine.CubeEngine.loadProcessArchive(CubeEngine.java
:939)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.loadProcessArchive(BP
ELDomainManagerBean.java:390)
at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchi
ve(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2157)
at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubePro
cessMonitorWork.java:130)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
at java.lang.Thread.run(Thread.java:534)Note, that this has nothing to do with WSIF.. and is a cmpilation error ...
my best guess is the revision number..
Process "XYZ" (revision "1.01.000.0000") load FAILED!! can you change that to reflect a norma double or in (1, 1.1, 2.0...)
thx clemens -
Problem in when deploying EJB 3 using NetBean 5.5 with Glassfish and Derby
Hi,
I'm using glass fish with NetBean. My EJB module built with no error, but when I run the application (the ear) in NetBean, the deployment fails with following errors in server log:
Anyone has idea why this is happening?
[TopLink Config]: 2007.04.29 03:28:43.347--ServerSession(26985473)--Connection(29068073)--Connected: jdbc:derby://localhost:1527/auction_database
User: admin
Database: Apache Derby Version: 10.1.3.1
Driver: Apache Derby Network Client JDBC Driver Version: 10.1.3.1
[TopLink Info]: 2007.04.29 03:28:43.407--ServerSession(26985473)--file:/C:/Sun/SDK/domains/domain1/applications/j2ee-apps/AuctionEnterpriseApplication/AuctionEnterpriseApplication-ejb_jar/-AuctionEnterpriseApplication-ejbPU login successful
[TopLink Config]: 2007.04.29 03:28:43.437--ServerSession(26985473)--Connection(6880990)--disconnect
[TopLink Info]: 2007.04.29 03:28:43.437--ServerSession(26985473)--file:/C:/Sun/SDK/domains/domain1/applications/j2ee-apps/AuctionEnterpriseApplication/AuctionEnterpriseApplication-ejb_jar/-AuctionEnterpriseApplication-ejbPU logout successful
UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\generated\ejb\j2ee-apps\AuctionEnterpriseApplication\AuctionEnterpriseApplication_AuctionEnterpriseApplication-ejb_AuctionEnterpriseApplication-ejbPU_createDDL.jdbc
UTIL6041: Performing gc to try to force file closures
UTIL6042: Attempt to delete C:\Sun\SDK\domains\domain1\generated\ejb\j2ee-apps\AuctionEnterpriseApplication\AuctionEnterpriseApplication_AuctionEnterpriseApplication-ejb_AuctionEnterpriseApplication-ejbPU_createDDL.jdbc succeeded after 2 retries
Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException
at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignKeyFieldToFieldDefinition(DefaultTableGenerator.java:409)
at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignKeyFieldToSourceTargetTable(DefaultTableGenerator.java:384)
at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.postInitTableSchema(DefaultTableGenerator.java:285)
at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.generateDefaultTableCreator(DefaultTableGenerator.java:138)
at oracle.toplink.essentials.tools.schemaframework.SchemaManager.replaceDefaultTables(SchemaManager.java:817)
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createOrReplaceDefaultTables(EntityManagerFactoryProvider.java:307)
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.writeDDLsToFiles(EntityManagerFactoryProvider.java:330)
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.generateDDLFiles(EntityManagerFactoryProvider.java:235)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:231)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:113)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:107)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.loadPersistenceUnitBundle(PersistenceProcessor.java:468)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.createTablesInDB(PersistenceProcessor.java:325)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processAppBundle(PersistenceProcessor.java:190)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:125)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:193)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:152)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:109)
at com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:66)
at com.sun.enterprise.deployment.backend.AppDeployer.postDeploy(AppDeployer.java:429)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:225)
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)Hi thanks, I'm using the default table generator offerred by the app server. my entity classes have relationship with each other. for example, in the Bid entity, I have the mapping to AuctionItem antity.
@JoinColumn(name = "auctionItems_itemid", referencedColumnName = "itemid")
@ManyToOne
public entities.AuctionItem getAuctionItems() {
return auctionItems;
public void setAuctionItems(entities.AuctionItem auctionItems) {
this.auctionItems = auctionItems;
} -
WebLogic 12.1.2 fails when deploying an enterprise application(ear) that contains a ejb in which injected 1) an extension 2)bean with injection of this extension.
The following exception is thrown:
Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [CdiExtension] with qualifiers [@Default] at injection point [[field] @Inject private test.extension.Bean1.extension].
Possible dependencies [
[Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@1115deb],
Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@ed791f]]]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:314)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:143)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:163)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:367)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379)
at com.oracle.injection.provider.weld.WeldInjectionContainer.start(WeldInjectionContainer.java:106)
at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:70)
at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:47)
at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:37)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
Problem can be easily reproduced by a minimal case:
test.ear:
\lib\test-extension-0.0.1-SNAPSHOT.jar
test-ejb-0.0.1-SNAPSHOT.jar
where
test-extension-0.0.1-SNAPSHOT.jar contains:
CdiExtension.java:
package test.extension;
import javax.enterprise.inject.spi.Extension;
public class CdiExtension implements Extension {
private String someString = "Some String";
public String getSomeString() {
return someString;
Bean1.java:
package test.extension;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
@ApplicationScoped
public class Bean1 {
@Inject
private CdiExtension extension;
public String get() {
return extension.getSomeString();
test-ejb-0.0.1-SNAPSHOT.jar contains:
EjbBean.java:
package test;
import test.extension.Bean1;
import test.extension.CdiExtension;
import javax.ejb.Stateless;
import javax.inject.Inject;
@Stateless
public class EjbBean {
@Inject
private CdiExtension extension;
@Inject
private Bean1 bean1;
public String getSomeString() {
return extension.getSomeString() + "\n" + bean1.get();
p.s. i seen same problem in community.oracle.com/thread/2577403 , but it happen in "war", not "ear", and seems successfully patched with patch №17424706Hi,
It looks like there is patch exists for this issue.
Patch 17198187
Please try to download from the MOS or try to open a ticket with support.
Regards,
Kal -
Invalid change to class error when deploying EJB
We have EJBs that were built by Webgain Visual Cafe and successfully deploy
to WLS 5.1. We then use the WLE EJB Deployer Tool to build WLE container
classes and deploy the same EJBs in WLE 5.1.
One EJB does not deploy in WLE. The ULOG error message is:
133929.EA-LAWSTUC!JavaServer.517: main: IJENGINE_CAT:150: ERROR: Invalid
change to class service.Request
133929.EA-LAWSTUC!JavaServer.517: main: EJB_CAT:29: ERROR: While deploying
jar ServiceEJB : com.beasys.weblogic.classloader.RedeploymentException:
ERROR: Invalid change to class service.Request
133929.EA-LAWSTUC!JavaServer.517: Finalizer: IJENGINE_CAT:152: INFO: Closing
jar C:\aj\ServiceEJB_WLE.jar
Does anyone know what can cause an "invalid change to class" error when
deploying to WLE 5.1? Especially since the EJB deploys successfully in
WLS.
Carl LawstuenReason: database keeps a reference of the class in JAVA$CLASS$MD5$TABLE table. This table keeps a refrence to all java classes loaded in database, and is present in each schema you deploy classes. That's the reason why if you change the application module name, you can load this classes. It instead keeps a reference if you use DROP JAVA CLASS command to drop a java class from de database. Use DROP JAVA command to clear the reference of the dropped classes when dropping it.
You can see this table as a class dictionary of the database, and you don't have to handle this records manually. -
Is there a way not to have to chose an available server in the console when deploying an ejb?
Is there a way not to have to chose an available server in the console when deploying
an ejb? Everytime we deploy our beans we have to logon to the console select the
ejb and then chose a server under the tab targets? Can this be automated?You could try to select the target in the config.xml file, but this is
not recommended by BEA.
Nils
Fred Bloggs wrote:
>
Is there a way not to have to chose an available server in the console when deploying
an ejb? Everytime we deploy our beans we have to logon to the console select the
ejb and then chose a server under the tab targets? Can this be automated?--
============================
[email protected] -
Packaging/deploying a webapp client to already deployed EJBs
I have a webapp/ejb deployed on WLS 6.1. If it matters, the EJBs are
deployed in jar files but the webapp component is deployed in exploded
directory format.
Now I want to deploy another webapp that uses the same EJBs. At this
point in development, I am attempting to deploy this in exploded
directory format as well. I have run ejbc manually against the original
jars to create the EJB deployable units containing generated WL classes.
This also created a ejb-client.jar, but it does not contain any impl
classes for the home or remoted interfaces.
I tried placing the ejb-client.jar in my WEB-INF/lib but it doesn't seem
to be able to find the interface classes. Perhaps the exception I'm
getting does not mean what I think it does. It is included below.
I also tried adding the generated impl classes to the ejb-client.jar
manually, but this didn't work either. I have read the
packaging/deploying docs but don't seem to find this issue addressed
directly. From all I know, I have done this correctly, but obviously I
am missing something somewhere.
Thanks in advance for your consideration.
<May 10, 2002 1:53:57 PM CDT> <Error> <HTTP>
<[WebAppServletContext(9605583,adminApp,/adminApp)] Servlet failed with
Exception
java.lang.ExceptionInInitializerError
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:42)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:277)
at java.lang.Class.newInstance0(Class.java:301)
at java.lang.Class.newInstance(Class.java:254)
at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:342)
at javax.rmi.CORBA.Util.<clinit>(Util.java:54)
at
javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:182)
at
javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:61)
at
net.verizon.storm.util.DataBroker.initialize(DataBroker.java:102)
at
net.verizon.storm.util.DataBroker.getInstance(DataBroker.java:158)
at
net.verizon.storm.util.OrderDispatcher.<init>(OrderDispatcher.java:70)
at
net.verizon.storm.admin.OrderService.startOD(OrderService.java:159)
at
net.verizon.storm.admin.OrderService.processRequest(OrderService.java:104)
at
net.verizon.storm.admin.OrderService.doPost(OrderService.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Caused by: java.lang.RuntimeException: could not find or instantiate any
UtilDelegate class
at
weblogic.iiop.UtilDelegateImpl.<clinit>(UtilDelegateImpl.java:72)
... 24 moreHi.
I tried placing the ejb-client.jar in my WEB-INF/lib but it >>doesn't seem to beable to
find the interface classes. Perhaps
the exception I'm getting does not mean what I think it does. >>It is includedbelow.
It seems fine since it is the way your webapp always to use its EJB client jar.
I also tried adding the generated impl classes to the ejb-
client.jar manually, but this didn't work either.Nope, you should never do this since Impl classes are used on Server Side ( webapp
treated as client of EJB in this case ) only.
It is so hard for us to analyze the problems without a test case, I would suggest
you to create a support case via http://support.bea.com/welcome.jsp to BEA support
for detailed work.
Thanks.
Ji Zhang
Developer Relations Engineer
BEA Support -
Errors when deploy a simple entity ejb module to oc4j 10g?
I work as following steps:
1. new project
2. new Digram-->EJB Diagram
3. Drag a Entity bean ico to Diagram and name it with Student, then add a id&name column to it.
4 set the entity-ejb Student's Resource Reference's property: name(MysqlPool),ResourceType(com.mysql.jdbc.Driver),Authentification(Container)
(in oc4j, I have set the pool connection--MysqlPool)
5 use command to start oc4j 10.1.3 in jdev10.1.3
6 In Jdeveloper IDE, select ejb-jar.xml and use right mouse button to call out the menu and then select "Cretae ejb or jar deploy profile", set the deploy platform to my oc4j connection.
7 select the deploy profile and deploy to my oc4j connection, then errors were reported as following:
Target platform is Standalone OC4J 10.1.3 (AppServerConnection1).
Wrote EJB JAR file to D:\jdevj2ee1013\jdev\mywork\Application1\Project1\deploy\ejb1.jar
Wrote EAR file to D:\jdevj2ee1013\jdev\mywork\Application1\Project1\deploy\ejb1.ear
Uploading file ...
Application Deployer for ejb1 STARTS.
Do not undeploy previous deployment
Copy the archive to D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear
Initialize D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear begins...
Unpacking ejb1.ear
Done unpacking ejb1.ear
Initialize D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear ends...
Starting application : ejb1
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Processing EJB module: ejb1.jar
Compiling EJB generated code
Error while compiling EJB component: D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar
com.evermind.compiler.CompilationException: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
at com.evermind.server.ejb.compilation.EntityBeanCompilation.createTable(EntityBeanCompilation.java:257)
at com.evermind.server.ejb.compilation.EntityBeanCompilation.preCompile(EntityBeanCompilation.java:318)
at com.evermind.server.ejb.compilation.Compilation.generateAnyOldStyle(Compilation.java:1728)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:162)
at com.evermind.server.ejb.compilation.Compilation.doGenerateCode(Compilation.java:216)
at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1197)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1118)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:200)
at com.evermind.server.Application.setConfig(Application.java:299)
at com.evermind.server.Application.setConfig(Application.java:226)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1740)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:403)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:144)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:95)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
at java.lang.Thread.run(Thread.java:534)
application : ejb1 is in failed state
java.lang.InstantiationException: Error initializing ejb-module; Exception
Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2285)
at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1422)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1118)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:200)
at com.evermind.server.Application.setConfig(Application.java:299)
at com.evermind.server.Application.setConfig(Application.java:226)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1740)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:403)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:144)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:95)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.InstantiationException:
Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1226)
... 12 more
Operation failed with error:
java.lang.InstantiationException: Error initializing ejb-module; Exception
Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
Deployment failed
Elapsed time for deployment: 41 seconds
#### Deployment incomplete. #### 2005-2-15 10:46:02
what's the meaning about Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)?
I didn't use jdbc/OracleDS Datasource, and I deleted it from config\data-source.xml.
Is it cause those errors or my operation rong?
Who can tell me the entity ejb's deploy method&step?Yes, now I added a connection pool and a datasource in oc4j, and set the datasource's jndi name to "jdbc/OracleDS".For The connection pool,I use the mysql database.
Followed the above operation, I repeat the deployment and it deployed successfully.
Viewed by web-control-for-oc4j, I found jdeveloper automaticly created a datasource and pool for the ejb module.However, the datasource's parameter(connection-factory factory-class="oracle.jdbc.pool.OracleDataSource") is wrong.
So I open Tools Menu->Preferences menu and setted the Deploy property to "unbundle datasource...".Then I Created a file named data-sources.xml in project and filled out the correct properties.
After I deploied the ejb-module, I openned the deploied .ear file with winrar to view its contents.I found the factory-class property's value is still wrong which included in data-sources.xml file in Mata-Inf directory,but the property of the data-sources.xml file in .jar file is correct.So, the class factory value of the deploied ejb-application's connection pool still is "oracle.jdbc.pool.OracleDataSource".It couldn't work surely.
Of course, I can modity the data-sources.xml in .ear file.
But has some more better method to settle this problem while not manuelly? -
Struts2 webapp is not starting up when deployed as unexploded war file
Whereas if I deploy as exploded war file it works just fine.
I am seeing following error when deploying as unexploded war file. I am deploying in weblogic 10.3. Using struts 2 with Spring as object factory.
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1235449766296> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
Action class [logAction] not found - action - zip:C:/servers/bea10/user_projects/domains/ro_domain/servers/AdminServer/tmp/_WL_user/loginWeb/tlbxoe/war/WEB-INF/lib/_wl_cls_gen.jar!/struts.xml:60:60
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:374)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:329)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:429)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:239)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:152)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:329)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:95)
Thanks in advance for your help.Post your question in WebLogic forum here:
WebLogic Server - General -
Hi all,
I'm a newbie (of java EE and Sun forum).
I have a problem.
I followed this tutorial: http://technology.amis.nl/blog/1368/connecting-to-an-ejb-30-remote-sessionbean-from-tomcat
using Netbeans 6.8, Tomcat 6.0.20, Glassfish v3.
The deploy of EJB on Glassfish is OK.
The deploy of WebApp on Tomcat is OK.
But when I access to the servlet using the browser I receive this exception.
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at web.MyServlet.processRequest(MyServlet.java:51)
at web.MyServlet.doGet(MyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
I know that I must copy *.jar files in Tomcat dir and App libraries (https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#Step_3._Include_appserv-rt.jar_and), but it doesn't work.
What are my mistakes?
Thank you for your help.
Servlet code:
package web;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Properties;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import testbean.MySessionBeanRemote;
* @author Stefano
public class MyServlet extends HttpServlet {
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
Properties props = new Properties();
props.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory");
props.setProperty("java.naming.factory.url.pkgs", "com.sun.enterprise.naming");
props.setProperty("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
props.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
props.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
try {
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet MyServlet</title>");
out.println("</head>");
out.println("<body>");
out.println(MySessionBeanRemote.class.getName());
try {
InitialContext ic = new InitialContext(props);
MySessionBeanRemote mySessionRemote = (MySessionBeanRemote) ic.lookup("pippo");
out.println(mySessionRemote.getOK());
} catch (NamingException ex) {
ex.printStackTrace();
out.println("</body>");
out.println("</html>");
} finally {
out.close();Yes, I did.
I'm not sure about the right actions to do.
For example: the Glassfish FAQ told me to add gf-client*.jar to the Tomcat folder, not appserv-rt.jar , with v3.
I tried with both files. I restarted Tomcat, but nothing work :-( -
Java.lang.NullPointerException when deploying
My developers are running into an issue when deploying onto our BPM cluster. At times deployment fails giving these errors. Redeploy the same code immediately it works. It seems like it's only failing on the second managed server though...
####<Aug 15, 2013 2:02:32 PM EDT> <Error> <ServletContext-/soa-infra> <fnelbpmd102.fcso.net> <BPM-Appeals-Unit_server2> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <al0h> <> <6e6476ca04c34712:50a1c68c:140828b9bb2:-8000-0000000000017f6b> <1376589752759> <BEA-000000> <Error during deployment
oracle.fabric.common.FabricException: Operation failed - Member(Id=1, Timestamp=2013-08-15 11:11:18.596, Address=*removed*, MachineId=15781, Location=site:,machine:fnelbpmd101,process:17031, Role=WeblogicServer):Error occurred during deployment of component: Appeals to service engine: implementation.bpmn, for composite: Appeals: java.lang.NullPointerException; . Please see the server diagnostic logs on BPM-Appeals-Unit_server2 for details
at oracle.integration.platform.blocks.deploy.CompositeDeploymentCoordinatorMessages.throwOperationFailedOnNode(CompositeDeploymentCoordinatorMessages.java:132)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.submitRequestAndWaitForCompletion(CoherenceCompositeDeploymentCoordinatorImpl.java:338)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.coordinateCompositeRedeploy(CoherenceCompositeDeploymentCoordinatorImpl.java:244)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.overwriteExistingComposite(BaseDeployProcessor.java:435)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:253)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:168)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:112)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:100)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:81)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:219)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
This is the output from Enterprise Manager:
oracle.fabric.common.FabricException: Error occurred during deployment of component: Appeals to service engine: implementation.bpmn, for composite: Appeals: java.lang.NullPointerException
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:245)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:150)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
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:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy424.load(Unknown Source)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.handleNewDeploymentCommand(CoherenceCompositeDeploymentCoordinatorImpl.java:596)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.access$200(CoherenceCompositeDeploymentCoordinatorImpl.java:35)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl$2.entryInserted(CoherenceCompositeDeploymentCoordinatorImpl.java:140)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:568)
at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
at com.tangosol.coherence.component.util.SafeNamedCache.entryInserted(SafeNamedCache.CDB:1)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:26)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.fabric.common.FabricDeploymentException: java.lang.NullPointerException {rootCauses=[]}
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:492)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:161)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:238)
... 27 more
Caused by: java.lang.NullPointerException
at java.util.Collections$UnmodifiableMap.<init>(Collections.java:1272)
at java.util.Collections.unmodifiableMap(Collections.java:1258)
at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMapBuilderContext.getElementsByTagByProcessId(BPMNCubeMapBuilderContext.java:327)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.FlowNodeToRuntimeModelMapperImpl.getRuntimeId(FlowNodeToRuntimeModelMapperImpl.java:49)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.FlowNodeToRuntimeModelMapperImpl.getRuntimeId(FlowNodeToRuntimeModelMapperImpl.java:43)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.getUniqueFlowNodeId(AlterFlowModel.java:601)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.visitNode(AlterFlowModel.java:570)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseFromStart(AlterFlowModel.java:273)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseModel(AlterFlowModel.java:265)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:434)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:385)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:462)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:395)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:462)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:395)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:436)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:385)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:398)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseFromStart(AlterFlowModel.java:275)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseModel(AlterFlowModel.java:265)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.create(AlterFlowModel.java:55)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentMigrationSupport$ProcessInstanceSynchronizerImpl.build(ComponentMigrationSupport.java:701)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentInstanceMigrationAction$PreProcessTargetComponentAction.execute(ComponentInstanceMigrationAction.java:641)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:484)
... 29 moreNot sure if this is related, but I just restarted the whole domain. Everything started fine, but as soon as the second server started the logs were bombarded with an 'MBean attribute access denied.' error....
MBean: com.oracle.jps:type=JpsCredentialStore
Operation: getPortableCredentialMap(java.lang.String)
Detail: Access denied. Required roles: Admin, executing subject: principals=[E1W3, IBPM-FCSO-Development, FCSO_IPM, C2C_Imaging, TMF_DME_USER, TMF_DME_ADMIN, TMF_PARTBN_USER, TMF_PARTBN_ADMIN, TMF_PDRC_USER, TMF_PDRC_ADMIN, TMF_ODC_USER, TMF_ODC_ADMIN, Linux-IBPM-FCSO-Development, Linux-IPM-FCSO-Development, CL_Rep_Appeals_FL_USVI, CL_Rep_Appeals_PR, AppealsBamReportViewers-Dev, AppealsBPMComposerViewProject-Dev, AppealsBPMComposerDeveloper-Dev, AppealsBPMComposerDesigner-Dev, AppealsBPMComposerDeployer-Dev, AppealsBPMComposerCreateProjectFromTemplate-Dev, AppealsBPMComposerCreateNewProject-Dev, AppealsBPMComposerDocumentProject-Dev, AppealsSOADesigner-Dev, AppealsSOAMonitor-Dev, AppealsSOAOperator-Dev, AppealsDeployer-BPM-Dev, AppealsOperator-BPM-Dev, AppealsDeployer-OSB-Dev, AppealsOperator-OSB-Dev]
java.lang.SecurityException: Access denied. Required roles: Admin, executing subject: principals=[E1W3, IBPM-FCSO-Development, FCSO_IPM, C2C_Imaging, TMF_DME_USER, TMF_DME_ADMIN, TMF_PARTBN_USER, TMF_PARTBN_ADMIN, TMF_PDRC_USER, TMF_PDRC_ADMIN, TMF_ODC_USER, TMF_ODC_ADMIN, Linux-IBPM-FCSO-Development, Linux-IPM-FCSO-Development, CL_Rep_Appeals_FL_USVI, CL_Rep_Appeals_PR, AppealsBamReportViewers-Dev, AppealsBPMComposerViewProject-Dev, AppealsBPMComposerDeveloper-Dev, AppealsBPMComposerDesigner-Dev, AppealsBPMComposerDeployer-Dev, AppealsBPMComposerCreateProjectFromTemplate-Dev, AppealsBPMComposerCreateNewProject-Dev, AppealsBPMComposerDocumentProject-Dev, AppealsSOADesigner-Dev, AppealsSOAMonitor-Dev, AppealsSOAOperator-Dev, AppealsDeployer-BPM-Dev, AppealsOperator-BPM-Dev, AppealsDeployer-OSB-Dev, AppealsOperator-OSB-Dev]
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:371)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkOperationAccess(AbstractMBeanSecurityInterceptor.java:288)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:189)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:358)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:374)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:924)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.doInvoke(OracleStandardEmitterConfigMBean.java:398)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.invoke(OracleStandardEmitterConfigMBean.java:365)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1454)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:74)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1295)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1394)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:818)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
at oracle.sysman.emas.sdk.discovery.util.MonitoringCredentialsUtil.getMonitoringUidAndPassword(MonitoringCredentialsUtil.java:130)
at oracle.sysman.emas.sdk.discovery.util.MonitoringCredentialsUtil.getMonitoringUidAndPasswordForFarm(MonitoringCredentialsUtil.java:107)
at oracle.sysman.emas.sdk.model.mas.WLTransientTargetProvider.updateProperties(WLTransientTargetProvider.java:418)
at oracle.sysman.emas.sdk.model.mas.WLTransientTargetProvider.getTransientTargets(WLTransientTargetProvider.java:218)
at oracle.sysman.emdrep.repoless.TransientTargetCache.getCachedTargets(TransientTargetCache.java:196)
at oracle.sysman.emdrep.repoless.RepolessTargetManager.pollAllTransientTargets(RepolessTargetManager.java:1486)
at oracle.sysman.emdrep.repoless.RepolessTargetManager.getAllTargets(RepolessTargetManager.java:1591)
at oracle.sysman.emdrep.repoless.RepolessTargetManager.getTargets(RepolessTargetManager.java:1116)
at oracle.sysman.emSDK.repoless.TargetManager.getTargets(TargetManager.java:98)
at oracle.sysman.emSDK.tgt.targetaccess.TargetManager.getAllTargetInstances(TargetManager.java:152)
at oracle.sysman.emSDK.tgt.targetaccess.TargetManager.getAllTargetInstances(TargetManager.java:125)
at oracle.sysman.core.model.targetauth.AppServerLogin.loginAction(AppServerLogin.java:1360)
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:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:890)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.SecurityException: Access denied. Required roles: Admin, executing subject: principals=[E1W3, IBPM-FCSO-Development, FCSO_IPM, C2C_Imaging, TMF_DME_USER, TMF_DME_ADMIN, TMF_PARTBN_USER, TMF_PARTBN_ADMIN, TMF_PDRC_USER, TMF_PDRC_ADMIN, TMF_ODC_USER, TMF_ODC_ADMIN, Linux-IBPM-FCSO-Development, Linux-IPM-FCSO-Development, CL_Rep_Appeals_FL_USVI, CL_Rep_Appeals_PR, AppealsBamReportViewers-Dev, AppealsBPMComposerViewProject-Dev, AppealsBPMComposerDeveloper-Dev, AppealsBPMComposerDesigner-Dev, AppealsBPMComposerDeployer-Dev, AppealsBPMComposerCreateProjectFromTemplate-Dev, AppealsBPMComposerCreateNewProject-Dev, AppealsBPMComposerDocumentProject-Dev, AppealsSOADesigner-Dev, AppealsSOAMonitor-Dev, AppealsSOAOperator-Dev, AppealsDeployer-BPM-Dev, AppealsOperator-BPM-Dev, AppealsDeployer-OSB-Dev, AppealsOperator-OSB-Dev]
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.isInWlsGlobalSecurityRoles(WLSMBeanSecurityHelper.java:245)
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.checkGlobalSecurityRoleBasedAccess(WLSMBeanSecurityHelper.java:139)
at oracle.as.jmx.framework.wls.spi.security.WLSConfigMBeanSecurityInterceptor.checkGlobalRoleBasedAccess(WLSConfigMBeanSecurityInterceptor.java:46)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:347)
... 126 more
After this there's a "failed to execurte hearbeat update" error as well... -
Developers at my company experience the same problem described in this
thread, but the thread ends without any solutions or advice. Does anybody
know more about why EJB redeployment can take such a long time?
I am deploying the application to a single, unmanaged server in development
mode. The application is deployed to an exploded directory. My machine
statistics are: P4 2GHz, 756MB RAM, Win2k, WLS 7. The weblogic admin tool
returns the following version info:
$ java weblogic.Admin -username installadministrator -password
installadministrator VERSION
WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955
WebLogic XMLX Module 7.0 Thu Jun 20 11:58:44 PDT 2002 190955
I attempted to do a mid-deployment thread dump, but I get the following
error. Is there another way to get a thread dump on Windows?
Command Prompt:
$ java weblogic.Admin -username installadministrator -password
installadministrator THREAD_DUMP
Thread Dump for the Server is available on the WebLogic Server Console.
WLS Console:
Activate application appsdirwms_dir on myserver( Running )
cannot dump threads on this VM:
java.version='1.3.1_03'
os.name='windows 2000'
java.vendor.url='http://java.sun.com/'
It either hasn't been tested, or is known not to work.
Thanks,
Dave
Original Thread Follows
Also "ps -ef | grep java" to see if other processes are being kicked off.
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
My first guess is the server is re-running ejbc. However, I can't see
why that would take so long.
Next time you see this, take a thread dump (or several) of the server
while it's happening. Post them here, and we'll have an idea what it's
doing.
-- Rob
Gary Bradshaw wrote:
Hi, folks. I hope someone has seen something similar to this,
because I'm running out of ideas.
One of our developers has been having trouble re-deploying
session EJBs on WL 7.0 under Linux. He prepares the .jar on his
local machine, coppies it to the server's ejb directory, then
uses the WL console to redeploy it (we're not running in auto-
deployment mode since we're using a 2-server cluster).
Sometimes (but not always) the deployment task just hangs with
no messages. The only thing I could do to get out of it was to
stop and restart both the cluster and the admin server. Then
the new EJB deploys just fine, so I don't think it's a problem
with his .jar file.
A few days ago it happened again around 5pm,
so I decided to wait until the next day to work on it.
When I checked the next day, I saw that the EJB DID redeploy,
two hours and fifteen minutes after the deployment task started.
I don't think there are any 135-minute timeouts in the system,
and since these are stateless session beans, I can't imagine
what resources they could be holding on to. There was no other
activity on the servers after about 5:45, yet his EJB didn't
redeploy until after 7:00.
Any ideas on what I should be looking for?
- garyThe redeploy doesn't always hang, so it took me awhile to get a thread dump
for a slow redeploy. I've also included a thread dump taken during a healthy
redeploy. Scroll down to "ExecuteThread: '8' for queue: 'default'" to find
the thread waiting on the deployment. At first glance, I don't notice any
difference between the two thread dumps. Would you like me to take a sample
of several thread dumps during the deployment process?
Thanks, Dave
**************** Slow Redeploy Thread Dump ************
Activate application appsdirwms_dir on myserver( Running )
Activate application appsdirwms_dir on myserver( Running )
Activate application appsdirwms_dir on myserver( Running )
Activate application appsdirwms_dir on myserver( Running )
Activate application appsdirwms_dir on myserver( Running )
Full thread dump Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode):
"JDWP Transport Listener: dt_socket" daemon prio=5 tid=0x3A621E78 nid=0xb4c
runnable [0..0]
"SSLListenThread.Default" prio=5 tid=0x3866B618 nid=0x8d0 runnable
[3b6cf000..3b6cfd8c]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <146EA738> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:439)
at javax.net.ssl.impl.SSLServerSocketImpl.accept(Unknown Source)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:256)
"ListenThread.Default" prio=5 tid=0x38EA1270 nid=0x744 runnable
[3b68f000..3b68fd8c]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <146EA830> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:439)
at java.net.ServerSocket.accept(ServerSocket.java:410)
at
weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:256)
"Thread-8" prio=5 tid=0x38C06780 nid=0xa74 waiting on condition
[3b64f000..3b64fd8c]
at java.lang.Thread.sleep(Native Method)
at
weblogic.management.deploy.ApplicationsDirPoller.waitForTimeout(Applications
DirPoller.jav
a:293)
at
weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirP
oller.java:22
0)
at
weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:243)
at
weblogic.management.deploy.GenericAppPoller.run(GenericAppPoller.java:137)
"ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5
tid=0x386E1E20 nid=0xb44 in Object
.wait() [3b60f000..3b60fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13AA5930> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13AA5930> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5
tid=0x387A1E68 nid=0x5f0 in Obje
ct.wait() [3b5cf000..3b5cfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13AA4DE0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13AA4DE0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5
tid=0x38B40E20 nid=0x8bc in Obje
ct.wait() [3b58f000..3b58fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13AA48A8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13AA48A8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5
tid=0x38794DD8 nid=0x8dc in Obje
ct.wait() [3b54f000..3b54fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13AA4370> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13AA4370> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5
tid=0x38B1A2E0 nid=0x828 in Obje
ct.wait() [3b50f000..3b50fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13AA3E18> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13AA3E18> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"CoreHealthMonitor" daemon prio=5 tid=0x38791D48 nid=0x59c waiting on
condition [3a4cf000..3a4cfd8c]
at java.lang.Thread.sleep(Native Method)
at
weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java:11
4)
"ExecuteThread: '14' for queue: 'JmsDispatcher'" daemon prio=5
tid=0x389938C0 nid=0x8e0 in Object.wa
it() [3a48f000..3a48fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093630> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093630> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '13' for queue: 'JmsDispatcher'" daemon prio=5
tid=0x388B0C08 nid=0xbc0 in Object.wa
it() [3a44f000..3a44fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <130936A0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <130936A0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '12' for queue: 'JmsDispatcher'" daemon prio=5
tid=0x388B0008 nid=0xab8 in Object.wa
it() [3a40f000..3a40fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093710> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093710> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '11' for queue: 'JmsDispatcher'" daemon prio=5
tid=0x38720410 nid=0x6bc in Object.wa
it() [3a3cf000..3a3cfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093780> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093780> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '10' for queue: 'JmsDispatcher'" daemon prio=5
tid=0x38822818 nid=0x11a4 in Object.w
ait() [3a38f000..3a38fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <130937F0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <130937F0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '9' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x386AAAB8
nid=0xb84 in Object.wai
t() [3a34f000..3a34fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093860> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093860> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '8' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x38958D10
nid=0x80c in Object.wai
t() [3a30f000..3a30fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <130938D0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <130938D0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '7' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x389581A8
nid=0x968 in Object.wai
t() [3a2cf000..3a2cfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093940> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093940> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '6' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x388D6410
nid=0x6fc in Object.wai
t() [3a28f000..3a28fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <130939B0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <130939B0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '5' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x3868FA18
nid=0x5dc in Object.wai
t() [3a24f000..3a24fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093A20> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093A20> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '4' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x3868F818
nid=0x71c in Object.wai
t() [3a20f000..3a20fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093A90> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093A90> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '3' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x38693988
nid=0x69c in Object.wai
t() [3a1cf000..3a1cfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093B00> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093B00> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '2' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x38693020
nid=0x8fc in Object.wai
t() [3a18f000..3a18fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093B70> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093B70> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '1' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x386E4010
nid=0x7f8 in Object.wai
t() [3a14f000..3a14fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093BE0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093BE0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '0' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x3856FE48
nid=0x948 in Object.wai
t() [3a10f000..3a10fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <13093C50> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <13093C50> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '2' for queue: 'weblogic.transaction.AsyncQueue'" daemon
prio=5 tid=0x388BE008 nid=0
x1368 in Object.wait() [3a0cf000..3a0cfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <12FD4140> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <12FD4140> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '1' for queue: 'weblogic.transaction.AsyncQueue'" daemon
prio=5 tid=0x38704DF8 nid=0
x8a4 in Object.wait() [3a08f000..3a08fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <12FD3BF8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <12FD3BF8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '0' for queue: 'weblogic.transaction.AsyncQueue'" daemon
prio=5 tid=0x38754DE0 nid=0
xbf8 in Object.wait() [3a04f000..3a04fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <12FD3690> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <12FD3690> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"Thread-5" prio=5 tid=0x38587C70 nid=0x888 in Object.wait()
[3a00f000..3a00fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <12FD02B0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <12FD02B0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"ExecuteThread: '1' for queue: 'DRS'" daemon prio=5 tid=0x38717470
nid=0x136c in Object.wait() [39fc
f000..39fcfd8c]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <12FCFD18> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '0' for queue: 'DRS'" daemon prio=5 tid=0x38762C30 nid=0x840
in Object.wait() [39f8f
000..39f8fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <12FCF7E8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <12FCF7E8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"VDE Transaction Processor Thread" prio=2 tid=0x008DE040 nid=0x92c in
Object.wait() [39f4f000..39f4f
d8c]
at java.lang.Object.wait(Native Method)
- waiting on <12716940> (a
com.octetstring.vde.backend.standard.TransactionProcessor)
at java.lang.Object.wait(Object.java:426)
at
com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(Transac
tionProcessor
.java:306)
- locked <12716940> (a
com.octetstring.vde.backend.standard.TransactionProcessor)
at
com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionPro
cessor.java:1
92)
"ExecuteThread: '9' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x3870C190 nid=0x9e4
in Object.wait() [39f0f000..39f0fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F758> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F758> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '8' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x00908408 nid=0xae4
in Object.wait() [39ecf000..39ecfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F7C8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F7C8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '7' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x385FB370 nid=0xb30
in Object.wait() [39e8f000..39e8fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F838> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F838> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '6' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x38628C30 nid=0xa28
in Object.wait() [39e4f000..39e4fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F8A8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F8A8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '5' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x389299C8 nid=0x98c
in Object.wait() [39e0f000..39e0fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F918> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F918> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '4' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x385F5DB8 nid=0x8b4
in Object.wait() [39dcf000..39dcfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F988> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F988> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '3' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x38617C80 nid=0xbd0
in Object.wait() [39d8f000..39d8fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253F9F8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F9F8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '2' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x385567E8 nid=0xac0
in Object.wait() [39d4f000..39d4fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FA68> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253FA68> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '1' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x009042F8 nid=0x900
in Object.wait() [39d0f000..39d0fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FAD8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253FAD8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '0' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
tid=0x3861DE20 nid=0x870
in Object.wait() [39ccf000..39ccfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FB48> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253FB48> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'" daemon prio=5
tid=0x3892A7D8 nid=0x134
8 in Object.wait() [39c8f000..39c8fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FBB8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253FBB8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'" daemon prio=5
tid=0x3859CD10 nid=0x470
in Object.wait() [39c4f000..39c4fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FC28> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253FC28> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"TimeEventGenerator" daemon prio=5 tid=0x386775A8 nid=0x54c in Object.wait()
[39c0f000..39c0fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FD70> (a weblogic.time.common.internal.TimeTable)
at
weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:272)
- locked <1253FD70> (a weblogic.time.common.internal.TimeTable)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
:139)
at java.lang.Thread.run(Thread.java:536)
"SpinnerRandomSource" daemon prio=5 tid=0x386B29C8 nid=0xbf0 in
Object.wait() [39bcf000..39bcfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FDE8> (a java.lang.Object)
at java.lang.Object.wait(Object.java:426)
at
weblogic.security.SpinnerRandomBitsSource.run(SpinnerRandomBitsSource.java:6
0)
- locked <1253FDE8> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:536)
"HighPriority TimeEventGenerator" daemon prio=9 tid=0x3884E9B0 nid=0xba8 in
Object.wait() [39b8f000.
.39b8fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FE10> (a weblogic.time.common.internal.TimeTable)
at
weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:272)
- locked <1253FE10> (a weblogic.time.common.internal.TimeTable)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
:139)
at java.lang.Thread.run(Thread.java:536)
"ExecuteThread: '14' for queue: 'default'" daemon prio=5 tid=0x008DD008
nid=0x784 runnable [39b4f000
..39b4fd8c]
at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
at
weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:544)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
"ExecuteThread: '13' for queue: 'default'" daemon prio=5 tid=0x38798FC8
nid=0x7fc runnable [39b0f000
..39b0fd8c]
at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
at
weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:544)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
"ExecuteThread: '12' for queue: 'default'" daemon prio=5 tid=0x3876C568
nid=0x7dc in Object.wait() [
39acf000..39acfd8c]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F160> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '11' for queue: 'default'" daemon prio=5 tid=0x386566F8
nid=0xac8 in Object.wait() [
39a8f000..39a8fd8c]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F1D0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '10' for queue: 'default'" daemon prio=5 tid=0x38945980
nid=0xb0c in Object.wait() [
39a4f000..39a4fd8c]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F240> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '9' for queue: 'default'" daemon prio=5 tid=0x386F2560
nid=0x8e8 in Object.wait() [3
9a0f000..39a0fd8c]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F2B0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '8' for queue: 'default'" daemon prio=5 tid=0x3887E6B8
nid=0x5d0 in Object.wait() [3
99cf000..399cfd8c]
at java.lang.Object.wait(Native Method)
- waiting on <1253FE90> (a
com.octetstring.vde.backend.standard.BackendStandard)
at
com.octetstring.vde.backend.standard.BackendStandard.get(BackendStandard.jav
a:714)
- locked <1253FE90> (a
com.octetstring.vde.backend.standard.BackendStandard)
at
com.octetstring.vde.backend.BackendHandler.get(BackendHandler.java:556)
at
weblogic.ldap.EmbeddedLDAPConnection.search(EmbeddedLDAPConnection.java:920)
at
weblogic.ldap.EmbeddedLDAPConnection.search(EmbeddedLDAPConnection.java:838)
at weblogic.entitlement.data.ldap.EData.update(EData.java:525)
at
weblogic.entitlement.engine.EEngine.setRoleEntitlements(EEngine.java:543)
at
weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.depl
oyRole(Defaul
tRoleMapperProviderImpl.java:208)
at
weblogic.security.service.RoleManager.deployRole(RoleManager.java:403)
at
weblogic.ejb20.internal.SecurityHelper.registerRolesWithMethod(SecurityHelpe
r.java:346)
at
weblogic.ejb20.internal.SecurityHelper.registerRolesWithMethod(SecurityHelpe
r.java:277)
at
weblogic.ejb20.internal.DeployerHelper.setMethodDescriptor(DeployerHelper.ja
va:91)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptor(ClientD
rivenBeanInfo
Impl.java:795)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors(Client
DrivenBeanInf
oImpl.java:760)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInf
oImpl.java:89
9)
at
weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:1047)
at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1251)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContaine
r.java:1446)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java
:654)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java
:552)
at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeplo
yer.java:1056
at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.j
ava:724)
at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.ja
va:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
"ExecuteThread: '7' for queue: 'default'" daemon prio=5 tid=0x38A7FF30
nid=0x5cc in Object.wait() [3
998f000..3998fd8c]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:426)
at
weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
- locked <1253F390> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
"ExecuteThread: '6' for queue: 'default'" daemon prio=5 tid=0x38A7F928
nid=0x135c in Object.wait() [
3994f000..3994fd8c]
a -
WLW deployment of WebApp fails, where manual deployment succeeds
Hi,
I have installed WL Platform 8.1 SP4 on W/XP Professional.
I am attempting to do the most introductory task... i.e. deploy a web application consisting of two pages using WLW. The files are:
<pre>SimpleForm.html</pre>
<pre>SimpleFormHandler.jsp</pre>
I wanted to access the web app as follows:
http://localhost:7001/TestProj/SimpleForm.html
The <pre>SimpleFormHandler.jsp</pre> is registered as the form's action method. When the form is submitted, the JSP simply displays the form data.
It works as expected when I build the WAR file manually and deploy it by copying the file to the 'application' directory for autodeployment.
But I am baffled how to do this using WLW. Which is really the purpose of my experiment.
Hopefully, you can guide me here. I have listed the steps I've taken so maybe you can identify my misstep and set me back on the right path.
To keep things <i>real</i> simple, here is my Domain configuration, HTML form and JSP file.
<pre>-- TestDomain: Basic WebLogic Server Domain Template -----------
Custom: The only thing I customise is the Name = "adminserver".
I select JRockit and Development Mode.
Configuration Name: TestDomain
----------------------------------------------------------------</pre>
<pre>-- SimpleForm.html -----------------------------------------------
<html>
<head>
</head>
<body>
<h1>This is a test html file</h1>
<form action="SimpleFormHandler.jsp" method="get">
Enter first name: <input type="text" name="firstName">
<input type="submit">
</form>
</body>
</html>
-------------------------------------------------------------------</pre>
<pre>-- SimpleFormHandler.jsp ------------------------------------------
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<html>
<head>
<title>
Web Application Page
</title>
</head>
<body>
<p>
New Web Application Page
<% String firstName=request.getParameter("firstName");
out.println("Your first name is: " + firstName); %>
</p>
</body>
</html>
--------------------------------------------------------------------</pre>
Here is the steps I followed.
<b>01) WLW Menu: File->New->Application...</b>
-> Empty Application (I also tried "Default Application")
-> Directory: <devel_path> \TestApp
-> Server: <domain_path> \TestDomain
-> >>Create<<
<b>02) WLW Menu: File->New->Project...</b>
-> Web Project
-> Project name : TestProj
-> >>Create<<
<b>03) WLW Menu: File->New->JSP File</b>
-> JSP File
-> File name: SimpleFormHandler.jsp
-> >>Create<<
Edit the file to look like the file above.
<b>04) WLW Menu: File->New->JSP File</b>
-> HTML File
-> File name: SimpleForm.html
-> >>Create<<
Edit the file to look like the file above.
<b>05) WLW Menu: File->Save</b>
<b>06) WLW Menu: Tools->Weblogic Server->Server Properties...</b>
-> Hostname: localhost
-> Use credentials below:
Username: system
Password: weblogic
All other fields are correct.
This immediately results in a deployment error.
<pre>"ClassNotFoundException: weblogic.servlet.WlwJSPServlet"</pre>
This is the result of a bogus entry in weblogic.xml.
Edit <pre>weblogic.xml</pre> to comment out the WlwJSPServlet, so it becomes:
<pre> <!--
<jsp-param>
<param-name>jspServlet</param-name>
<param-value>weblogic.servlet.WlwJSPServlet</param-value>
</jsp-param>
--></pre>
<b>07) WLW Menu: File->Save</b>
F7 (to rebuild and redeploy)
More deployment errors, since web.xml also defines Listeners, Filters, and ....
<b>08) WL Builder: Open TestApp</b>
Servlets: Delete 'action'
Filters: Delete 'PageFlowJspFilter'
Listeners: Delete '...WebappContextListener'
Tag Libraries: Delete netui-tags-[html,databinding,template].tld
File->Save
<b>09) WLW Menu: F7 (to rebuild and redeploy)</b>
This time I get a new warning:
<pre><The current version 0 for DataIdentifier DataIdentifierID: 1 does not match with incoming version 4 for a one-phase update.></pre>
<b>10) Check the WLS Console</b> <pre>http://localhost:7001/console</pre>
Deployments -> General
TestApp EXPLODED EAR
Deployments -> Descriptors -> application.xml
<pre> <application>
<display-name>TestApp</display-name>
<module>
<web>
<web-uri>TestProj</web-uri>
<context-root>TestProj</context-root>
</web>
</module>
</application></pre>
<b>11) Now try to access the web application:</b>
http://localhost:7001/TestProj/SimpleForm.html
-> Enter first name: Artimus
-> >> SUBMIT QUERY <<
This causes the following page to attempt to open:
http://localhost:7001/TestProj/SimpleFormHandler.jsp?firstName=Artimus
Back on the WLS console the following error:
<pre>NoClassDefFoundError: com/bea/wlw/runtime/core/debug/DebugContext</pre>
The full details:
<pre>-- ERROR LOG ---
<29/08/2005 08:47:11 PM EST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=548
7457,name=TestProj,context-path=/TestProj)] Root cause of ServletException.
java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/debug/DebugContext
-----------------------------------------------------------------------</pre>
<b>12) WLW Menu: Tools->Weblogic Server->Deployment->Undeploy</b>
Verified no apps deployed via http://localhost:7001/console
<b>13) Now test a manual deployment:</b>
cd {TestProj}\
jar -cf TestProj.war *
copy TestProj.war (domain}\applications
<b>14) Verified TestProj deployed as Web Application via</b>
http://localhost:7001/console
<b>15) Access the web application from browser with:</b>
http://localhost:7001/TestProj/SimpleForm.html
-> Enter first name: Bach
-> >> SUBMIT QUERY <<
<b>16) This opens the following page:</b>
http://localhost:7001/TestProj/SimpleFormHandler.jsp?firstName=Bach
<b>17) The JSP displays the following in the browser window:</b>
"New Web Application Page Your first name is: Bach "
So manual deployment succeeded!
--- end ---
I would really appreciate some suggestions.
Regards,
Matt.Thanks for the response.
I find that if I don't perform step 8, (i.e. remove the action, filter, servlets, and pageflows), then the deployment fails, since it is expecting to find modules that perform these functions.
I am a little surprised that the Default Application, doesn't also provide default entries for these functions.
For instance, I naively (and wrongly) anticipated that if I create a Default Application and make no changes, then I should be able to immediately deploy it. Unfortunately, this is not possible, since it complains about the entries in web.xml and weblogic.xml.
Perhaps the minimum WebApp deployment requires that I provide the modules in the default descriptors?
I am beginning to wonder what the absolute minimum application is that WLW can be used to deploy.
Regards,
Matt.
Maybe you are looking for
-
I had an old family film converted toa dvd. I would now like to use one chapter in a project I'm working on. Can I just import the chapter I want or do I have to import the entire dvd first and then edit. It takes so long to do?
-
When I try to download and play a video clip at a web site or from an attachment to an email, I get either a blank space or a message telling me to download and install Abobr Flash Player. I already have the latest Flash Player. And when I try the sa
-
Hi I installed Solaris 10 in a Toshiba A10. I'm using it with no problems, but if I left the computer idle (without keyboard/mouse input) for about 20 minutes, Xorg freezes (at window manager, dtlogin greeting, xlock, ... any place) Accesing the mach
-
Bought my applcare + for my iphone 5 upon release. If I accidently drop or damage my phone will..... 1. Will they be apple to provide me with another iphone 5 or will I get a 5c becuase they are discontinued? 2. When I singed up the contract was $50
-
helllo can anybody help me out in finding a bapi or a standard program for the creation of actual assessment cycle (i.e. transaction:ksu1/ksu2) regards anik