Ear file deployment and jar libaries
I am creating a simple ejb application that uses some jar libraries. The ejb app builds fine but when i try to deploy the application, it cannot find the dependent classes although i am including the jar libs in the ear file. I tried including the jars-libs in root as well as in app-inf/lib directory. I also made sure that i have the right jar-libs. What am i missing ?
Here is what i see on the console when i try to deploy on Oracle App server:
Nov 29, 2006 1:31:51 PM] Unpacking TestWithLib.ear
[Nov 29, 2006 1:31:52 PM] Done unpacking TestWithLib.ear
[Nov 29, 2006 1:31:52 PM] Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\TestWithLib.ear ends...
[Nov 29, 2006 1:31:52 PM] Starting application : TestWithLib
[Nov 29, 2006 1:31:52 PM] Initializing ClassLoader(s)
[Nov 29, 2006 1:31:52 PM] Initializing EJB container
[Nov 29, 2006 1:31:52 PM] Loading connector(s)
[Nov 29, 2006 1:31:52 PM] Starting up resource adapters
[Nov 29, 2006 1:31:52 PM] Processing EJB module: ejb1.jar
[Nov 29, 2006 1:31:52 PM] Operation failed with error: com/xyz/ClassName
One thing to try is in the JAR deployment profile for the EJB - stand on the File Groups node and click new to add a library group and make sure it includes the libraries/jar you added to your project.
If this doesn't help then you might want to try and cross post this on the OC4J forum:
OC4J
Similar Messages
-
9iAS version 1 EAR file deployment and UNIX directory permissions
We are running version 1.0.2.2 of OC4J, the deployment
directory seems to need world read/write to enable the
EAR file to deploy. The 9iAS admin user is part of the
group that owns the EAR file (and respective deployment
directory) but still cannot write to the
directory when permissions are set with chmod 755.
Thank you for any suggestions.One thing to try is in the JAR deployment profile for the EJB - stand on the File Groups node and click new to add a library group and make sure it includes the libraries/jar you added to your project.
If this doesn't help then you might want to try and cross post this on the OC4J forum:
OC4J -
Adapter Module .ear file deployed
Hi All,
I have an adapter module deployed long back on my dev server.
I want to retrive the same file from dev and deploy in on Quality server.
Can you let me know the path where this .ear file will be present on the SAP XI server.
Thx in advance
RavijeetHi Ravijeet,
We run under i5/OS (unix like) but I found my deployed Adapter Module under:
DX1 is the instance name.
sap.com is the vendor specified in the EJB module.
EOLConvertBean is my adapter module
/usr/sap/dx1/DVEBMGS70/j2ee/cluster/apps/sap.com/EOLConvertBeanEAR
/usr/sap/dx1/DVEBMGS70/j2ee/cluster/apps/sap.com/EOLConvertBeanEAR/EJBContainer/applicationjars/EOLConvertBean.jar
Hope it helps.
Martin
Edited by: Martin Lavoie Rousseau on Nov 4, 2010 2:41 PM -
Wl 8.1 sp1 .ear file deployment problems
I am Unable to deploy ear file in WL8.1 SP1. See the error below..
This ear fie is successfully deployed on WL6.1 SP3
IF i remove the componenet on which this error is thrown, the same error appears
on other componenet...
Can somebody explain what would cause this?
Exception thrown is:-->
Exception:weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]The EJB container
failed while creating the java:/comp/env namespace for this EJB deployment. javax.naming.NameAlreadyBoundException:
UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333) at
weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291) at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359) at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922) at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
5. The LOg of Activities:-->
[Deployer:149033]preparing application lpapp on wls1
[Deployer:149033]failed application lpapp on wls1
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
lpapp on wls1.:
Exception:weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/env namespace
for this EJB deployment.
javax.naming.NameAlreadyBoundException: UserTransaction is already bound; remaining
name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)I can give you the skeleton..
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<display-name>Application</display-name>
<description>Application description</description>
<module>
<web>
<web-uri>mywar.war</web-uri>
<context-root>mywar</context-root>
</web>
</module>
<module>
<ejb>myejbs.jar</ejb>
</module>
</application>
"skv" <[email protected]> wrote:
>
Unfortunately I can't.
But I can answer your questions. I have also open a case with bea and
so far no
luck.
Also the ear file take an awful lot of time to deploy. THe ear file
I have currently
contains 106 jar file (ejb's) and the deployment continues forever (>
than 25
minutes) and the status in console Shows 'In progress'
Rob Woollen <[email protected]> wrote:
Strange. Can you show me the contents of your EAR file (ie the file
layout) and your application.xml?
-- Rob
skv wrote:
I am Unable to deploy ear file in WL8.1 SP1. See the error below..
This ear fie is successfully deployed on WL6.1 SP3
IF i remove the componenet on which this error is thrown, the sameerror appears
on other componenet...
Can somebody explain what would cause this?
Exception thrown is:-->
Exception:weblogic.management.ApplicationException: prepare failedfor MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]TheEJB container
failed while creating the java:/comp/env namespace for this EJB deployment.javax.naming.NameAlreadyBoundException:
UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)at
weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
5. The LOg of Activities:-->
[Deployer:149033]preparing application lpapp on wls1
[Deployer:149033]failed application lpapp on wls1
[Deployer:149034]An exception occurred for task [Deployer:149026]Deployapplication
lpapp on wls1.:
Exception:weblogic.management.ApplicationException: prepare failedfor MorningMDB.jar104
Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
Unable to deploy EJB: MorningMDB from MorningMDB.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/envnamespace
for this EJB deployment.
javax.naming.NameAlreadyBoundException: UserTransaction is alreadybound; remaining
name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) -
How do I convert an war file to ear file, deploying weblogic apps
Problem Description: I have a war file from a legacy application that needs to be migrated to weblogic. To migrate this application to weblogic, we need a ear file. Reading weblogic doc. it says we needs to use ant utility on an exploded web content application folder/ directory to create the ear file. I need to covert the existing war file to ear file , if it is doable or create one from the scratch. I need to know how to do that in weblogic. Please let me know if you have any hints .
ThanksHI,
Please try the following to convert your WAR file into an EAR exploded archieve:
*1).* Create a Directory in your file system.
Example:
/home/apps/MyFirstEAR
*2).* Place the WAR file inside the above Directory. (Suppose your WAR file name is test.war)
Example:
/home/apps/MyFirstEAR/test.war
*3).* Now create a "META-INF" directory inside "/home/apps/MyFirstEAR" directory
*4).* Now create an "application.xml" file like following inside "/home/apps/MyFirstEAR/META-INF" directory:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<description>Test EAR Example</description>
<display-name>TestEAR Example</display-name>
<module>
<web>
<web-uri>test.war</web-uri>
<context-root>test</context-root>
</web>
</module>
</application>
*5).* Your EAR is ready now you can deploy the "MyFirstEAR" directory in the WebLogic Server.
NOTE: if you want to place the "test.war" file also as an exploaded format content inside the EAR then you need to extract the test.war file and then in place of the test.war you can have "test" directory at the same place.
You need to change the "application.xml" file like below in that case:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<description>Test EAR Example</description>
<display-name>TestEAR Example</display-name>
<module>
<web>
<font color=red> <web-uri>test</web-uri> </font><br>
<context-root>test</context-root>
</web>
</module>
</application>
For more information on an EAR application structure you can refer to : http://middlewaremagic.com/weblogic/?p=1952
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is Here) -
Error during ear file deployment
Hi,
I am getting the error while trying to deploy ear file using SDM.
The error log is
Starting Deployment of MyzipBean
Aborted: development component 'MyzipBean'/'sap.com'/'localhost'/'2008.06.13.17.44.31'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/MyzipBean.. Reason: Incorrect application sap.com/MyzipBean:Bean MyzipBean: can not find method ejbCreate() in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean MyzipBean: can not find method ejbCreate() in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/MyzipBean:Bean MyzipBean: can not find method ejbCreate() in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean MyzipBean: can not find method ejbCreate() in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.
What could be the reason?
Thanks,
JaishankarHi,
1. Restart the upgrade
2. When it shows the error above open callSdmViaSapinst.log and search for the application that can't be deployed
3. If application is STOPPED start it
4. Undeploy the application if it is STARTED
5. Press the "Retry" button in the error message dialog box from the
upgrade
6. If it fails again for another application go to 2.
Please refer SAP NOte 851590. I don't know if it work for u, as i have given this , it seems for Upgrade as you are developing.
Look into this thread also
Unable to deploy a module into XI Server
Regards
Aashish Sinha
Edited by: Aashish Sinha on Jun 13, 2008 3:20 PM
Edited by: Aashish Sinha on Jun 13, 2008 3:28 PM -
Sort order in Java application (oc4j container) -- ear file deployment
I have a Java application deploy in Oracle OC4J container (EAR file).
In my Java application (jsp), I have a SQL statement who return data but the
sort order is wrong. The letters "é" and all characters with accents
appears at the end of the result.
I tried many things to change the sort order (NLS parameters in database
and OAS10g parameter files).
When I use SQL*plus on database server, that's working.
The sort order is wrong when I use the java application.
Somebody can tell me what and where is the NLS parameters to change ?
Thanks
RobinRobin,
I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
Maybe you should try the Globalization Support forum?
Good Luck,
Avi. -
Ear file deploys on oc4j standalone, not on ias using the ent.appl.manager
We added security constraints to our web.xml, and this works when we deploy it on a standalone OC4J. Deploying this ear on the ias with the Enterprise application Manager: after choosing the ear-file, giving it a name and pushing the next button we get a nullpointer-exception.
After removing the security constraints the deployment works. Any ideas????
EelcoTo be complete, here's the web.xml:
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<!-- This file contains the configuration for a web-application.-->
<web-app>
<distributable />
<display-name>Laris Application</display-name>
<description>Laris Application</description>
<env-entry>
<description>Database connection string</description>
<env-entry-name>dbconnect</env-entry-name>
<env-entry-value>jdbc:oracle:thin:<user><pwd>@<host>:<port>:<sid></env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<env-entry>
<description>Dtd locatie string</description>
<env-entry-name>dtd_url</env-entry-name>
<env-entry-value>http://<host>:<port>/laris/dtd/</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<servlet>
<servlet-name>LarisController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>StartLarisService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>PortaalController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>PortaalService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>InvoerenAanspraakController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>InvoerenAanspraakService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ControlerenAanspraakController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>ControlerenAanspraakService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>BeoordelenAanspraakController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>BeoordelenAanspraakService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>BeslissenAanspraakController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>BeslissenAanspraakService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>BehandelenAanspraakController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>BehandelenAanspraakService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>CommunicatieGeneratorController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>CommunicatieGeneratorService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>KruisjestabelController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>KruisjestabelService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>CitesController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>LarisService.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>BaBoSSController</servlet-name>
<servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>LarisService.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>LarisController</servlet-name>
<url-pattern>Default/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PortaalController</servlet-name>
<url-pattern>Portaal/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>InvoerenAanspraakController</servlet-name>
<url-pattern>Portaal/InvoerenAanspraak/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ControlerenAanspraakController</servlet-name>
<url-pattern>Portaal/ControlerenAanspraak/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BeoordelenAanspraakController</servlet-name>
<url-pattern>BeoordelenAanspraak/Eenvoudig/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BeslissenAanspraakController</servlet-name>
<url-pattern>Beslissen/VaststellenBeslissing/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BehandelenAanspraakController</servlet-name>
<url-pattern>Behandelen/AdministratiefControleren/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CommunicatieGeneratorController</servlet-name>
<url-pattern>Informeren/CommunicatieGenerator/StartIt</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>KruisjestabelController</servlet-name>
<url-pattern>Kruisjestabel/Kruisjestabel/StartIt</url-pattern>
</servlet-mapping>
<!-- security roles -->
<security-role>
<role-name>sr_manager</role-name>
</security-role>
<security-role>
<role-name>sr_developer</role-name>
</security-role>
<!-- security constraints -->
<security-constraint>
<web-resource-collection>
<url-pattern>cabo/*</url-pattern>
<url-pattern>jheadstart/*</url-pattern>
<url-pattern>help/*</url-pattern>
<url-pattern>laris/*</url-pattern>
<url-pattern>images/*</url-pattern>
<url-pattern>uix/*</url-pattern>
</web-resource-collection>
<!-- authorization -->
<!-- <auth-constraint>
<role-name>sr_developer</role-name>
</auth-constraint> -->
</security-constraint>
<security-constraint>
<web-resource-collection>
<url-pattern>Default/*</url-pattern>
<url-pattern>Portaal/*</url-pattern>
<url-pattern>Informeren/*</url-pattern>
<url-pattern>Behandelen/*</url-pattern>
<url-pattern>Beslissen/*</url-pattern>
<url-pattern>BeoordelenAanspraak/*</url-pattern>
<!-- volgende is wel gewenst (in 1 keer alles beveiligen), maar werkt niet
<url-pattern>*</url-pattern> geeft error bij createmarlinbeanpag
<url-pattern>*/*</url-pattern> beveiligt gewoon niet
<url-pattern>./*</url-pattern> beveiligt niet alles
<url-pattern>./*/*</url-pattern> beveiligt niet(s)
<url-pattern>../*</url-pattern> beveiligt niets
-->
</web-resource-collection>
<!-- authorization -->
<auth-constraint>
<role-name>sr_developer</role-name>
</auth-constraint>
</security-constraint>
<!-- de volgende security constraint is niet zozeer voor de administrator
maar om er voor te zorgen dat bovenstaande constraint de toegang
beperkt tot alleen het gedefinieerde -->
<security-constraint>
<web-resource-collection>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>sr_administrator</role-name>
</auth-constraint>
</security-constraint>
<!-- authentication -->
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app> -
Application Ear file deployment on Oracle 9ias(9.0.3)
Hi,
I'm trying to deploy an application (JSP + BC4J) under Oracle 9ias using the Enterprise Manager (EM).
No error occurs during the process but I can not load the application with internet explorer.
the following message appears : "Not Found
The requested URL /AgatteWF/index.jsp was not found on this server."
Deploying the application under OC4J standalone with the same ear file works fine.
Does anyone got that problem ?
Any help is welcome
regardsHi
I already had a look to the log files.
They don't show any error.
the webcontext is correct but index.jsp is not placed under the "WEB_INF" directory.
I don't think that's the reason of the problem 'cause i succeeded once to deploy the same application under the IAS.
I made the same operations i did before (creating a new oc4j instance under IAS after having dropped the old one, deploying the application, creating the data source...)
But i don't know why it doesn't work this time. -
EAR File Deployment To Portal Query
Hi,
Could you someone help to answer this?
I was deploying a webdynpro EAR file via the SDM into the Portal, are the program information store in filesystem or database level ?
rgds,
Kein ChyeHi,
Log on to portal, go to system administration --> support -->portal run time --> browse deployment --> deployment over view -->here you will find "Click <b>here</b> to display all component archives." so just click on this link, here all records of all your deployments gets stored.
Find it, else please update the thread.
Regards,
Ameya
Message was edited by:
Ameya Pimpalgaonkar -
Incremental Fix - After J2EE EAR File Deployment
Oracle 9iAS 9.0.3.1 (MiddleTier)
Oracle 9ias 9.0.2.3 (Infrastructure)
Hi! We were successful in deploying a full J2EE/Struts based application as an EAR file through Enterprise Manager Web Site.
After the deployment, if we wanted to fix a issue in the module within the application, we just want to replace that Java Source File, without re-deploying the entire application. Is there an Oracle recommended approach for this?
I know we could do this with ANT but, Is this Oracle Supported incremental deployment approach..? Are they any other ways of doing this without re-deploying the whole application.
Your thoughts/help is greatly appreciated.
Thanks
RKOracle 9iAS 9.0.3.1 (MiddleTier)
Oracle 9ias 9.0.2.3 (Infrastructure)
Hi! We were successful in deploying a full J2EE/Struts based application as an EAR file through Enterprise Manager Web Site.
After the deployment, if we wanted to fix a issue in the module within the application, we just want to replace that Java Source File, without re-deploying the entire application. Is there an Oracle recommended approach for this?
I know we could do this with ANT but, Is this Oracle Supported incremental deployment approach..? Are they any other ways of doing this without re-deploying the whole application.
Your thoughts/help is greatly appreciated.
Thanks
RK -
P6.ear file deployment in weblogic server
i have installed primavera p6 r8.2 eppm in my machine and worked fine for first time. after restarting my machine the application(p6.ear) went to new state in weblogic server .how to convert this new state to active state.
i have tried with start service request option to change state from new to active in weblogic server .but it is not getting changed.
i have edited setDomainEnv file also . see below
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=d:/p6eepm/p6 -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
set USER_MEM_ARGS=-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m
set JAVA_VM=-server .
Can any one help on thisHi All,
Any suggestions
I am using NWDS 7.0 to create my Server Java Proxy for PI 7.1 EHP 1. I need this Server Java Proxy to make a HTTP GET call to a webserver.
Do I need to use JAX-RPC or I can use the new JAX-WS proxies to make my HTTP GET call.
Here is my ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<description>EJB JAR description</description>
<display-name>EJB JAR</display-name>
<enterprise-beans>
<session>
<ejb-name>SIPOCRESTIS_PortTypeBean</ejb-name>
<home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4</home>
<remote>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4</remote>
<local-home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4</local-home>
<local>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4</local>
<ejb-class>restComPOC.SIPOCRESTIS_PortTypeBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
And my ejb-j2ee-engine.xml is as below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">
<ejb-j2ee-engine>
<enterprise-beans>
<enterprise-bean>
<ejb-name>SIPOCRESTIS_PortTypeBean</ejb-name>
<jndi-name>MakeHttpCall</jndi-name>
<session-props/>
</enterprise-bean>
</enterprise-beans>
</ejb-j2ee-engine>
Thx in advance
Ravijeet -
WSDL files Deployment and necessary parameters needed for that
Hi ALL,
We have designed a scenario :
ABC(Webservices) <--> XI <--
> EP(Webservices)
We have two WSDL files available with us.
One file is provided by the ABC system and the other has been created from our ID in XI
On both the sides we have webservices.
Now my question is:
While creating the Webservices on both the sides, which WSDL file should be deployed on which end...??
And what are all the parameters that we need to pass to the BASIS teams for deployment of the files..??
Kindly help
Regards
AzaharHi,
Always Receiver system Webservice need to be deployed in XI server ( In U r case EP is the receiver System)
U need to create the WSDl file and give that file to ABC system.
No need of any parmaeters while deploying a file.
Regards,
Jayasimha Jangam -
Windows 7 answer file deployment and iscsi boot
Hi, I am trying to prepare an image with windows7 Ent that has been installed, went through "audit" and then shutdown with:
OOBE+Generalize+Shutdown
So that I can clone this image and the next time it boots, it will use answer file to customize, join domain etc.
The complication to this - is that I am using iscsi boot for my image, and working within Vmware ESX.
I can install Windows without any issues, get the drivers properly working, reboot and OOBE on the same machine - no issues.
The problems come when I clone the VM and the only part that changes (that I think really matters) is the mac address of the network card. The new clone when it comes up after the OOBE reboot hangs for about 10min and then proceeds without joining to domain.
Using Panter logs and network traces - I saw that the domain join command was timing out and in fact no traffic was being sent to the DC. So the network was not up. The rest of the answer file customization works fine.
As a test I brought up this new clone (with new mac) in Audit mode - and Windows reported that it found and installed drivers for new device - VMXNET3 Driver 2. So in fact it does consider this a new device.
Even though it iscsi boots from this new network card - later in process its unable to use it until driver is reinstalled.
In my answer file I tried with and without below portion but it didnt help:
<settings pass="generalize">
<component>
<DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
I also tried with E1000 NIC, but couldnt get windows to boot properly after the cdrom installation part.
So my question - is my only option to use workarounds like post OOBE scripts for join etc?
Is it possible to let Windows boot and then initiate an extra reboot once the driver was installed and then allow it to go to Customize phase?
thank you!Hi,
This might be caused by the iscsi boot.
iSCSI Boot is supported only on Windows Server. Client versions of Windows, such as Windows Vista® or Windows 7, are not supported.
Detailed information, please check:
About iSCSI Boot
Best regards
Michael Shao
TechNet Community Support -
Error 160078 when deploying WAR file after EAR file
I am tetsing an application which does automatic deployment to WebLogic 8.1 running on Windows XP using ejbgen tool through Ant.
The following deployment sequence produces an error. I deploy an EAR file with EJB JAR and WAR file inside. It deploys correctly. I then undeploy the EAR file. This also works. Next I deploy a WAR file using the same deployment name as for the EAR file (the 'name' parameter of weblogic.Deployer command). This deployment fails. If I restart WebLogic server, the same deployment of the WAR file succeeds.
Any idea what goes wrong?
Thank you.
Michael
Here is the command used for deployment (as reported by Ant):
[java] 'weblogic.Deployer'
[java] '-debug'
[java] '-verbose'
[java] '-noexit'
[java] '-remote'
[java] '-upload'
[java] '-name'
[java] 'discoverytestproject'
[java] '-source'
[java] 'C:/Projects/Jetson/Toolbox/Tests/Projects/DiscoveryTestProject/build/staging/discoverytestproject-ws.war'
[java] '-targets'
[java] 'myserver'
[java] '-adminurl'
[java] 't3://10.10.0.123:7001'
[java] '-user'
[java] 'system'
[java] '-password'
[java] 'password'
[java] '-deploy'
This is the error message:
<Oct 13, 2006 3:04:21 PM EDT> <Warning> <J2EE> <BEA-160018> <ComponentMBean: Nam
e = discoverytestproject-ws, Type = WebAppComponentConfig - Targeted on this ser
ver but, no corresponding module found in application descriptor. The component
mbean is being Ignored.>
<Oct 13, 2006 3:04:21 PM EDT> <Error> <J2EE> <BEA-160078> <None of the modules o
f application 'discoverytestproject' in 'META-INF/application.xml' are configure
d in the 'Application' entry in 'config.xml' to be targetted to 'myserver'.>
<Oct 13, 2006 3:04:21 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were d
etected while initiating Deploy task for application discoverytestproject.>
<Oct 13, 2006 3:04:21 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
e the deployment task with ID 6 for the application discoverytestproject.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: [J2EE:160078]None of the mod
ules of application 'discoverytestproject' in 'META-INF/application.xml' are con
figured in the 'Application' entry in 'config.xml' to be targetted to 'myserver'
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2556)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: [J2EE:160078]None of the mod
ules of application 'discoverytestproject' in 'META-INF/application.xml' are con
figured in the 'Application' entry in 'config.xml' to be targetted to 'myserver'
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>I am tetsing an application which does automatic deployment to WebLogic 8.1 running on Windows XP using ejbgen tool through Ant.
The following deployment sequence produces an error. I deploy an EAR file with EJB JAR and WAR file inside. It deploys correctly. I then undeploy the EAR file. This also works. Next I deploy a WAR file using the same deployment name as for the EAR file (the 'name' parameter of weblogic.Deployer command). This deployment fails. If I restart WebLogic server, the same deployment of the WAR file succeeds.
Any idea what goes wrong?
Thank you.
Michael
Here is the command used for deployment (as reported by Ant):
[java] 'weblogic.Deployer'
[java] '-debug'
[java] '-verbose'
[java] '-noexit'
[java] '-remote'
[java] '-upload'
[java] '-name'
[java] 'discoverytestproject'
[java] '-source'
[java] 'C:/Projects/Jetson/Toolbox/Tests/Projects/DiscoveryTestProject/build/staging/discoverytestproject-ws.war'
[java] '-targets'
[java] 'myserver'
[java] '-adminurl'
[java] 't3://10.10.0.123:7001'
[java] '-user'
[java] 'system'
[java] '-password'
[java] 'password'
[java] '-deploy'
This is the error message:
<Oct 13, 2006 3:04:21 PM EDT> <Warning> <J2EE> <BEA-160018> <ComponentMBean: Nam
e = discoverytestproject-ws, Type = WebAppComponentConfig - Targeted on this ser
ver but, no corresponding module found in application descriptor. The component
mbean is being Ignored.>
<Oct 13, 2006 3:04:21 PM EDT> <Error> <J2EE> <BEA-160078> <None of the modules o
f application 'discoverytestproject' in 'META-INF/application.xml' are configure
d in the 'Application' entry in 'config.xml' to be targetted to 'myserver'.>
<Oct 13, 2006 3:04:21 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were d
etected while initiating Deploy task for application discoverytestproject.>
<Oct 13, 2006 3:04:21 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
e the deployment task with ID 6 for the application discoverytestproject.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: [J2EE:160078]None of the mod
ules of application 'discoverytestproject' in 'META-INF/application.xml' are con
figured in the 'Application' entry in 'config.xml' to be targetted to 'myserver'
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2556)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: [J2EE:160078]None of the mod
ules of application 'discoverytestproject' in 'META-INF/application.xml' are con
figured in the 'Application' entry in 'config.xml' to be targetted to 'myserver'
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
Maybe you are looking for
-
How do I get my ipod back on the school wifi after being kicked off?
My school has password locked wifi, which every student knows the password to. Every so often, they kick people's iPod's off the wifi and it won't ever connect. Not during school, not football games or basketball games, not ever again. It really tick
-
I have iTunes 11.1.3 and when I click on iTunes Store in the top right corner I just get a blank screen. Please help me! I want to buy music!
-
How do I update Java for Adobe Flash CS3?
Hi, When I ran Secunia Software Inspector today it told me that the version of Java I have installed on my computer is out of date. It tells me that it is finding 3 out-of-date files: Once here: C:\Program Files\Java\jre1.6.0_04\bin\java.exe Twice he
-
HT3702 I was billed twice for the same products how can I claim my money back?
Hi I bought TV shows from the ITunes store and was billed twice how can I claim my money back?
-
ME3600-ME3800: service-instance & bridge-domain syntax
Hello, what is the best practice for the configuration of L3VPN on Cisco ME3XXX ? Old Syntax: interface GigabitEthernet0/1 switchport trunk allowed vlan none switchport mode trunk service instance 2 ethernet encapsulation dot1q 3 rewrite ingress