Error while Deploying JAR file using SDM in EP system
Hi,
As per below mention URL for Installing and Deploying the Enrichment Controller ,I am confuguring MDM Enrichment Controller in EP system
http://help.sap.com/saphelp_nwmdm71/helpdata/en/44/aa411ce9d57454e10000000a11466f/frameset.htm
So, as per the Help in Step 7, its mention to deploy a specific adapter for the external enrichment service provider i.e JAR file.
And when i am trying to deploy the *.jar file , i am getting this message in SDM:
Summary:
========
There were 1 archives selected.
0 archives successfully loaded.
Loading of 1 archives failed.
Details:
========
1) Error loading archive
C:\Documents and Settings\<SDMUserID>.<EPsystemHostName>\Desktop\Adapter\MDMEnrichmentAdapter.jar
(server side name is: C:\usr\sap\SID\JC00\SDM\program\temp\MDMEnrichmentAdapter.jar)
com.sap.sdm.util.sduread.IllFormattedSduFileException: The information about the development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
there is no deployment descriptor declared
(C:\usr\sap\SID\JC00\SDM\program\temp\MDMEnrichmentAdapter.jar)
So, kindly guide me how to deploy this jar file on EP syetm or if any settings is required.
Regards;
Hanif
Edited by: Shaikh Hanif on Nov 22, 2010 2:47 PM
Hanif,
Check this wiki's,
http://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(Deploy)Problems-P29
http://wiki.sdn.sap.com/wiki/display/JSTSG/(GP)CannotDeployGPContent-WrongManifestFileAttributes
Good Luck!
Sandeep Tudumu
Similar Messages
-
Error While Deploying .sda File in SDM
Hi,
We have developed some GP Applications. To transport the GP Application to production system we have builded .sda file from the development portal and deployed it in SDM. But its throwing an error while deploying.
Production system details:
OS : AIX (ppc64) 5.3
EP : NW2004s SP 9
Oracle : 10.2
<b>We tried giving R/W permission to the .sda files after copying it in production. But still it throws the same error.</b>
The error we got while deploying in SDM is :
Deployment started Wed Mar 21 20:44:49 GMT+05:30 2007
===========================================================================
Starting Deployment of
com/sap/caf/eu/gp/fnd/tsp/contentD86B5900D79E11DBB0E4000D60ECF782
Aborted: development
component 'com/sap/caf/eu/gp/fnd/tsp/contentD86B5900D79E11DBB0E4000D60ECF782'/'sap.com'/'LOCAL'/'20070321165517'/'1':Caught exception during
application deployment from SAP J2EE Engine's deploy
service:java.rmi.RemoteException: Cannot deploy application
sap.com/comsapcafeugpfndtsp~contentD86B5900D79E11DBB0E4000D60ECF782.. Reason: <--Localization failed:
ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle',
ID='/usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.)', Arguments: []--> : Can't find resource for
bundle java.util.PropertyResourceBundle,
key /usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.); nested exception is:
com.sap.engine.services.deploy.container.DeploymentException: <-
-Localization failed:
ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle',
ID='/usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.)', Arguments: []--> : Can't find resource for
bundle java.util.PropertyResourceBundle,
key /usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.) (message ID:
com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment of
com/sap/caf/eu/gp/fnd/tsp/contentD86B5900D79E11DBB0E4000D60ECF782
finished with Error (Duration 8944 ms)
<b>Please guide me on how to solve this error.</b>
Kind Regards,
NirmalHi Dipankar,
I can't tell you the cause why you are facing this problem.
But I can suggest you a way that you can once again check the availability of plugins in your NWDS.
Contents of "gp_TopLevelDCs.zip" are
<b>1) sap.com caf eu gp api wd.dcref
2) sap.com caf eu gp api.dcref</b>
And
Location to Extract gp_TopLevelDcs.zip=>
<b>C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\SCs\sap.com\CAF\_comp\TopLevelDCs</b>
Contents of "gp_api_nw04s.zip" are-->
<b>1) api(folder)</b>
Location to Extract gp_api_nw04s.zip=>
<b>C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\eu\gp</b>
<b>I'm using NWDS 7.0.06</b>
Just check if this info can help you out.
Do make a reply if you stiil face the problem.
Regards,
Piyush -
Error while deploying EAR file through SDM
Hi All,
I am deploying EAR file through SDM. Its taking too much time to deploy in the 3rd stage (its just a simple hello file for testing purpose and its still in that stage for 2 hours).
When I see the log, I can see some fata error. Please suggest me what should I do.
==
Oct 15, 2008 4:31:44 PM Info: SDM started successfully.
Oct 15, 2008 4:33:21 PM Info: Opened client connection to sapretail (IP address
sapretail/172.20.177.203, remote port 58645)
Oct 15, 2008 4:33:23 PM Info: Request for Logon as admin accepted
Oct 15, 2008 4:39:07 PM Info: Loading archive '/usr/sap/trans/EPS/sap.comwdtu
torial~ex1.ear'
Oct 15, 2008 4:40:50 PM Info: Actions per selected component:
Oct 15, 2008 4:40:50 PM Info: Initial deployment: Selected development componen
t 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.14.12.51.57' will be deployed.
Oct 15, 2008 4:44:41 PM Info: Saved current Engine state.
Oct 15, 2008 4:44:48 PM Fatal: State BeforeNextDeployment can't process event I
nitiateDeployment
The reason I am doing through SDM because while deploying through NWDS its throwing an error
Oct 13, 2008 12:44:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : sapretail
SDM port : 50118
URL to deploy : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp41002sap.comwdtutorial~ex1.ear
Deployment exception : Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
Inner exception was :
Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
Please suggest a solution.
Regards,
JitenderNow, when I deploy through NWDS, I get the following error.
Result
=> deployment aborted : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp51346sap.comwdtutorial~ex1.ear
Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.15.21.04.16':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapretail] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
Deployment exception : The deployment of at least one item aborted -
J2EE cluster error while deploying "EAR" file from SDM tool
Hi all,
I am new to CRM ISA development side. I am learning how to build b2c ear file base on b2c.ear and then how to deploy through SDM. Everything is working fine till build tool. Successfully build my own b2c_ashish.ear file. then I started SDM GUI and try to deploy it. In SAP MMC all process are running. J2EE engine is also running fine. I have describe below which step I took.
PL. go through it an let me know about my mistake.
I am just pasting that portion of error which I am getting when I am accessing "/b2c_kce/b2c/init.do"
===================
A runtime error occurred
Contact the administrator
Start application
==================
do you have any idea in which log file it writes error so I can open that file and . I tried to access log file from "Admin" page.
If I am trying to access "/b2c_kce/admin/index.jsp" I am able to access those pages without problem only "/b2c_kce/b2c/init.do" I am getting problem like above "run time error Occured"
When I click on "Start Application" it is opening new window and showing same text.
I checked SAP MMC. it is showing all node Green "dgntisa", "dgntisa1" and "dgntisa0" Also All process like under "dgntisa0" process "jcontrol.exe" and "igswd.exe " are green.
I build "b2c_ashish" new by using build tool. It was also successful.
I start SDM server by "StartServer.bat" and after that I start SDM remote GUI.
I select "Deployment" tab and add "crm.b2c_ashish" for deployment then I click on Start button and I got below error for "J2EE Cluster" that "SDM could not start J2EE cluster on the host dgntisa"
Pl. if you have any idea then pl. let me know how to solve this error.
Deployment started Sun May 14 14:24:50 PDT 2006
===========================================================================
Starting Deployment of crm.b2c_ashish
Aborted: development component 'crm.b2c_ashish'/'sap.com'/'SAP AG'/'400.200605141307':
SDM could not start the J2EE cluster on the host dgntisa! The online deployment is terminated. JStartup Framework is not able to deliver an information about the cluster control instances! Please check the status of the J2EE Engine
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
Deployment of crm.b2c_ashish finished with Error (Duration 3250 ms)
===========================================================================
Above error start ater restarting "WAS" server. Now You can not deploy or undeploy any SDA or SCA component.
I follow above mentioned steps 2 time after restarting "WAS" server. but it seems that one service for J2EE cluster is not started. I also chekced the running mode of SDM and SAP J2EE version. SDM Runing mode is "integrated" and SAP J2EE version is " 6.30" While using a build file it is showing J2EE engin version.
=======================================================Would you post the same thread under SAP Netweaver or WAS?
-
Error while deploying war file using JRUN JMC
Hi,
I am getting "Deployment service failed to deploy war file" Error
while trying to deploy a war file using JRUN Mgmt console.
If anyone has any idea about it, please help.
Thanks
JitCheck the logs. There might be a detailed exception in it. My guess is that it might have something to do with the deployment descriptors.
If you could post the deployment descriptors and the exception stack trace, it would be easier to figure out. -
Error while deploying jar file in jboss
Hi,
I am trying to deploy a jar file in jboss, i have copied the jar in jboss_home/server/default/deploy/ directory. and i am getting the following errors while starting the jboss server.
ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
0.5.GA/server/default/deploy/AdminServiceBean.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
rServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
erceptor.java:74)
at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(Deployer
InterceptorEJB.java:44)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy26.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
can anyone please help me on this
Thanks,
MalertHanif,
Check this wiki's,
http://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(Deploy)Problems-P29
http://wiki.sdn.sap.com/wiki/display/JSTSG/(GP)CannotDeployGPContent-WrongManifestFileAttributes
Good Luck!
Sandeep Tudumu -
Error while Building Jar files using [ejbc]
Hi,
I am building EJB's using [ant ejbc] for upgrade from Weblogic 6.1 to Weblogic 10.0. The code gets build fine but when creating the Jar file it is throwing me the following error :-
[ejbc] Loading properties file: /C:/dev/MarketingOne/thirdparty/sms/lib/logging.//config/logging.properties
[ejbc] SMS_ERROR:
[ejbc] Properties:
[ejbc] - Failed to load properties file: /C:/dev/MarketingOne/thirdparty/sms/lib/logging.//config/logging.properties
[ejbc] java.io.FileNotFoundException: C:\dev\MarketingOne\thirdparty\sms\lib\logging.\config\logging.properties (The system cannot find the path specified)
[ejbc] - Either invalid SMS_HOME: /C:/dev/MarketingOne/thirdparty/sms/lib/logging./ or invalid <I>SERVICE</I>_P
ROPERTIES_FILE_NAME
[ejbc] at java.io.FileInputStream.open(Native Method)
[ejbc] please set SMS_HOME using -D option at JVM start up.
Can anybody provide me with a solution for this as the path mentioned for SMS Logging.properties file is correct..??Actually the folder 'lib' consists of a logging Executable Jar file and the SMS folder consists of 'config' and 'lib' folders. Inside the 'config folder is a logging.properties file.
But Actually I am not getting any idea as to from where this command is being triggered because my targets.xml file does not have any such command whereas it just builds all the files and then creates the jar file.
Is it a problem of using EJB 2.0 in Weblogic 10.0 environment or jdk1.5..?? -
Error while deploying .sda file using t-code Sdoe_upload_archive
Dear all,
After transport all the SWDC to another client, i try to deploy the sca file using the tcode Sdoe_upload_archive and i am getting this error : " DataObject Transid '005056C000081DDD9BA073B0B4974E15' doesnot exist/is inactive in DOE.
Can anyone pls share some idea how to resolve this problem? thank you
Regards,
JoanHi,
Were you able to reach the screen mobile component administration?
From sap easy access menu>click the user menu>Data Orchestration Admin and Mon portal-->administration link
You mean you are not able to find the MCD at all?I guess your mobile component will be of type application.
May be you can scan through the MCDs listed after a wild card search and check the dataobject dependencies for each.
Some how the MCD that you are trying to upload contains dataobjects that are not present in the system.
You mentioned 'After transport all the SWDC to another client' , what exactly was done in this step?
Regards,
Liji -
Error while deploying SAR files through SDM
HI,
When i am trying to apply patchesthrough SDM i am getting the following error:
System: ECC 6.0
ERROR:
Starting Deployment of tc/bizc/ws/ear
Aborted: development component 'tc/bizc/ws/ear'/'sap.com'/'MAIN_APL70VAL_C'/'963770':
Error: Caught the following error or exception: "java.lang.NoClassDefFoundError"
Additional error message is:
com/sap/engine/deploy/manager/DeployManagerException
IF some knows the answer for the problem. Please help, points will be rewarded.
Regards,
Magham.Hi Megha,
1.Please check in the composit note whether any other SCA or SDA needs to be deployed before the selected one.
2. Try to deploy it after restarting the J2ee-engine.
3. Download the file again from sapmarket place and try with new one.
If the problem persists then please copy the full exception trace in the post.
Regards,
Satyendra -
Error while Deploying .EAR file
Hi All,
Iam getting the following Error while deploying a .ear file (generated by jdeveloper 11g) into OC4J 10.1.3.3
[Apr 16, 2008 3:49:00 PM]application : ModelEJB is in failed state
[Apr 16, 2008 3:49:00 PM] Operation failed with error: Missing class: oracle.jbo.server.ejb.StatefulSessionBeanImpl Dependent class: model.server.ejb.beanmanaged.AppModuleServer Loader: ModelEJB.root:0.0.1 Code-Source: /D:/OC4J/j2ee/home/applications/ModelEJB/ModelEJB.jar Configuration: in D:\OC4J\j2ee\home\applications\ModelEJB (Failure analysis caught java.lang.IllegalStateException: ClassLoader "ModelEJB.root:0.0.1" (from in /D:/OC4J/j2ee/home/applications/ModelEJB/): This loader has been closed and should not be in use.)
Can some one help me in this...
Thanks & Regards,
KaushikHi,
The name of the data-source should match with the value of 'Location' in data-sources.xml
ex: "jdbc/OracleDS"
Can you give more details of your problem like how you are deploying?
Kavitha -
Getting an Error while deploying ear file to WAS 6.40 server
Hi All,
I am getting following error while deploying the application
Result
=> deployment aborted : file:/C:/DOCUME1/bv45127/LOCALS1/Temp/temp31955boc.com~cedapp.ear
Aborted: development component 'cedapp'/'boc.com'/'QUA_00000127_D'/'20070328162705':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application boc.com/cedapp.. Reason: Exception during generation of components of application boc.com/cedapp in container EJBContainer.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application boc.com/cedapp in container EJBContainer.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
I have added reference to JCO in application-j2ee-engine.xml.
Please guide me
Thanks
BidhudasHi Again,
Now with a different problem.
I have removed configuration and imported the configuration again. But now it is not recognizing API ( created by me with all common classes as java project).
Structre of the application is as follows
Cedapp - ear file
Cedejb - ejb module
Cedweb web module
Cedapi - java project with common classes used in both ejb module and web module and published as library. This refered in both the ejbmodule and web module.
The problem now I am facing is that cedapi is not getting recognized by ejb module or web module. But it is available in used dcs of each. -
Error while Deploying war file in SunOneWebServer
Hi,
I am getting the following error while deploying my war file in sunonewebserver 6.1
Server Start Up
<dl><dt>Status:
</dt><dd>[https-ctsintcoora5]: start failed. (2: No such file or
directory)
[https-ctsintcoora5]: Sun ONE Web Server 6.1 B08/22/2003 12:37 [https-ctsintcoora5]: info: CORE5076: Using [Java HotSpot(TM)
Server VM, Version 1.4.1_03] from [Sun Microsystems Inc.]
[https-ctsintcoora5]: info: WEB0100: Loading web module in virtual
server [https-ctsintcoora5] at [TestTomcatProject]
[https-ctsintcoora5]: info: WEB0100: Loading web module in virtual
server [https-ctsintcoora5] at [search]
[https-ctsintcoora5]: info: CORE3282: stdout: PARSE error at line
4 column -1
[https-ctsintcoora5]: info: CORE3282: stdout:
org.xml.sax.SAXParseException: Attribute "xmlns" is not declared for element
"web-app".
[https-ctsintcoora5]: failure: ContextConfig[TestTomcatProject]
WEB3524: Parse error in application web.xml
[https-ctsintcoora5]: org.xml.sax.SAXParseException: Attribute
"xmlns" is not declared for element "web-app".
[https-ctsintcoora5]: at
org.apache.crimson.parser.Parser2.error(Parser2.java:3210)
[https-ctsintcoora5]: at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1456)
[https-ctsintcoora5]: at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:534)
[https-ctsintcoora5]: at
org.apache.crimson.parser.Parser2.parse(Parser2.java:318)
[https-ctsintcoora5]: at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
[https-ctsintcoora5]: at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
[https-ctsintcoora5]: at
javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
[https-ctsintcoora5]: at
javax.xml.parsers.SAXParser.parse(SAXParser.java:89)
[https-ctsintcoora5]: at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
[https-ctsintcoora5]: at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:311) [https-ctsintcoora5]: at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:990) [https-ctsintcoora5]: at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:256) [https-ctsintcoora5]: at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155) [https-ctsintcoora5]: at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3679) [https-ctsintcoora5]: at
com.iplanet.ias.web.WebModule.start(WebModule.java:238)
[https-ctsintcoora5]: at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-ctsintcoora5]: at
org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
[https-ctsintcoora5]: at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-ctsintcoora5]: at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
[https-ctsintcoora5]: at
org.apache.catalina.startup.Embedded.start(Embedded.java:995)
[https-ctsintcoora5]: at
com.iplanet.ias.web.WebContainer.start(WebContainer.java:411)
[https-ctsintcoora5]: at
com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:506)
[https-ctsintcoora5]: at
com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
[https-ctsintcoora5]:
[https-ctsintcoora5]: failure: ContextConfig[TestTomcatProject]:
WEB3525: Occurred at line 4 column -1
[https-ctsintcoora5]: failure: ContextConfig[TestTomcatProject]:
WEB3541: Marking this application unavailable due to previous error(s)
[https-ctsintcoora5]: failure: WebModule[TestTomcatProject]:
WEB2705: Context startup failed due to previous errors
[https-ctsintcoora5]: failure: WebModule[TestTomcatProject]:
WEB2720: Error initializing naming context for context /TestTomcatProject [https-ctsintcoora5]: javax.naming.NamingException: WEB3880:
Unknown context name :
StandardEngine[null].StandardHost[https-ctsintcoora5].StandardContext[TestTomcatProject] [https-ctsintcoora5]: at
org.apache.naming.ContextBindings.bindThread(ContextBindings.java:207)
[https-ctsintcoora5]: at
org.apache.catalina.core.StandardContext.bindThread(StandardContext.java:4068) [https-ctsintcoora5]: at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3788) [https-ctsintcoora5]: at
com.iplanet.ias.web.WebModule.stop(WebModule.java:302)
[https-ctsintcoora5]: at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3759) [https-ctsintcoora5]: at
com.iplanet.ias.web.WebModule.start(WebModule.java:238)
[https-ctsintcoora5]: at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-ctsintcoora5]: at
org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
[https-ctsintcoora5]: at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-ctsintcoora5]: at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
[https-ctsintcoora5]: at
org.apache.catalina.startup.Embedded.start(Embedded.java:995)
[https-ctsintcoora5]: at
com.iplanet.ias.web.WebContainer.start(WebContainer.java:411)
[https-ctsintcoora5]: at
com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:506)
[https-ctsintcoora5]: at
com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
[https-ctsintcoora5]:
[https-ctsintcoora5]: startup failure: could not bind to port 80
(Permission denied)
[https-ctsintcoora5]: failure: HTTP3127: [LS ls1]
http://ctsintcoora5:80: Error creating socket (Permission denied)
[https-ctsintcoora5]: failure: HTTP3094: 1 listen sockets could
not be created
[https-ctsintcoora5]: failure: CORE3186: Failed to set
configuration
[https-ctsintcoora5]: failure: server initialization failed
alert("Warning: https-ctsintcoora5\nThis server failed to start correctly.");</dd></dl>
<dl><dt>Error
</dt><dd>An error occurred during startup.
</dd><dd>The server https-ctsintcoora5 was not started.</dd></dl>I have changed the dtd format of my web.xml also:
my web.xml goes like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<servlet>
<servlet-name>validateuser</servlet-name>
<servlet-class>validateuser</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>validateuser</servlet-name>
<url-pattern>/validateuser</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>updateprofile</servlet-name>
<servlet-class>updateprofile</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>updateprofile</servlet-name>
<url-pattern>/updateprofile</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>registeruser</servlet-name>
<servlet-class>registeruser</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>registeruser</servlet-name>
<url-pattern>/registeruser</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>jspfiles/Home.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
</web-app>
is there anything that needs to be changed?
thanks in advance
DhariniWow, that's a really unhelpful error message.
It sounds like your web app is attempting to use a malformed tag library. Did you create your own TLD file? In either case, check your web app for *.tld files. One of them apparently contains a <displayname> element instead of a display-name attribute. -
Error while deploying war file inOC4J through o9ias
Dear friends
I receive an error while deploying a war file to oracle 9i application server stating that one or more process is running, shutdown by 9iAS or by enterprise manager or use dcmctl resynInstance to free the resource.
This error happens when one deploy is either interrupted or not deployed properly. But even after stopping the process by "dcmctl stop" or by the command "dcmctl resynInstance" i am not able to deploy any more applications. Kindly guide meYou probably want to post this question over in the OC4J forum or in one of the 9iAS forums. ODBC is a Windows C++ & VB client API, so it doesn't have a lot to do with the Oracle application server or OC4J.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Class not found error while executing jar file
I have written a java code in which i am connecting to database....when i run the class file using......java class_filename it works........
but when i run the jar file using .......java -jar jar_name ...yi gives me the error as 'Class not found'......
can anybody help me please......
Thanks and Regards,
Siddheshthat class is part of jar file.....in classpath i have included zip files for jdbc ...to get databse connection.....and the jar being executed ................still it gives the error ClassDefnotfound which i think is due to database connection problem.....the exception is raised while.....
Class.ForName("Driver_name").newInstance();/ This driver is present in zip files that i have added in classpath....
above statement doesn,t giv error while i execute the class file............but exception while executing jar file only..
Thnaks and regards,
siddhesh -
Error in deploying .jar file from JDeveloper 10.1.3.5
Hello,
I want to deploy .jar file in a machine, instead of having to install JDeveloper to run the application (it contains: Web Services and Data Base).
I have followed the following steps in JDeveloper to create the .jar file:
1) Right click over the project: New... --> General (All Technologies option selected) --> Deployment Profiles --> JAR File
2) I have selected "Include Manifest File" option specifying the application's main class
3) In JAR Deployment Profile Properties window: File Groups --> Project Output --> Contributors are selected: "Project Output Directory" and "Project Dependencies"
4) With the previous steps, JDeveloper generates a .deploy file. It is created in Resources folder. From this folder, I have selected the .deploy file and right click and I have selected "Deploy to JAR file"
The .jar is created succesfully. In this point, I try to execute with the command:
java -jar NAME_OF_THE_DIRECTORY_WHERE_THE FILEIS_DEPLOYED\NameFile.jar
and I have the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
at project.proxy.AccountClient.<init><AccountClient.java>
at project.proxy.AccountClient.main<init><AccountClient.java>
The Manifest File content is:
Manifest-Version: 1.0
Created-By: Oracle JDeveloper 10.1.3.5.0
Main-Class: project.proxy.AccountClient
I have tested with differents variables to create the .jar file, but always the error is the same. And I haven't found information to solve it. For this reason, I appreciate any help.
Thank you and regards.
Edited by: user1634407 on 31-mar-2010 8:27
Edited by: user1634407 on 31-mar-2010 8:47If you are just building a client that access a Web service you need a JAR and not a WAR.
Ok!
One thing to try is look at the command line that JDeveloper uses to run your client (it's in the log window) - specifically look at the classpath used.
Then try and run the same thing from a command line and see if it works.
Nowadays, the application is running with a .BAT file, it contains the statement released from the JDeveloper console, and it is working perfectlly.
I try to do the same from a command line, and it works too.
Assuming it is - you can either use that, or you'll need to make sure that your JAR includes all the mentioned jars that were in the class path - this is done through the library type file group.
To create the .JAR file I have choosen the following options (JAR Deployment Profile Properties):
1) Include Manifest File --> I have selected the class that contains the main class (from the Browse option)
2) I left the default File Groups (Project Output) --> it has: Project Output Directory + Project Dependencies
3) As you said me, I have created a new File Group (type: Libraries) --> and here, I have selected all the possible Contributors. These match those specified in the project (Oracle XML Parser v2, J2EE, JAX-RPC Client, Commons Logging 1.0.3, Ojdbc14.jar).
4) Deployment to JAR File successfully.
The resulting MANIFEST.MF is:
Manifest-Version: 1.0
Created-By: Oracle JDeveloper 10.1.3.5.0
Main-Class: project.proxy.Execution
It hasn't definied "Class-Path", althought to especified a new File Group with the libraries... Is it an error?
If I extract the .JAR file, I see all libraries, and I have two folders: one with .class files of my project and other one is META-INF with MANIFEST.MF file.
5) From command line I executed:
C:\jdevstudio10135\jdk\bin > java -jar C:\jdevstudio10135\jdev\mywork\project\project\deploy\NameFile.jar
And the result is an error:
Exception in thread "main": java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
I think the error is because it can not find the library ServiceFactory, but it is especified inside JAX-RPC Client library. What is wrong?
*6)* I have tried too to insert in "JAR Deployment Profile Properties" (in JAR options) an additional Manifest File to merge into MANIFEST.MF, to include "Class-Path" with all libraries's project (the same JAR from the statement released from the JDeveloper console), but I think that it is a limit, because if I insert all libraries the "Class-Path" doesn't inserted in MANIFEST.MF. The maxim is:
Class-Path: C:\jdevstudio10135\jdev\mywork\project\project\classes C:\jdevstudio10135\lib\xmlparserv2.jar C:\jdevstudio10135\lib\xml.jar C:\jdevstudio10135\j2ee\home\lib\activation.jar C:\jdevstudio10135\j2ee\home\lib\ejb.jar C:\jdevstudio10135\j2ee\home\lib\jms.jar C:\jdevstudio10135\j2ee\home\lib\jta.jar C:\jdevstudio10135\j2ee\home\lib\mail.jar C:\jdevstudio10135\j2ee\home\lib\servlet.jar C:\jdevstudio10135\webservices\lib\jaxrpc-api.jar
The following libraries afther the previous one aren't allowed to include because I think that is exceeding the maximum size.
I have tested to create various MANIFEST.MF with different PATHs libraries, but it isn't work to include in the MANIFEST.MF file all libraries...
(C:\jdevstudio10135\webservices\lib\wsclient.jar
C:\jdevstudio10135\webservices\lib\wsserver.jar
C:\jdevstudio10135\webservices\lib\wssecurity.jar
C:\jdevstudio10135\webservices\lib\wsdl.jar
C:\jdevstudio10135\webservices\lib\orasaaj.jar
C:\jdevstudio10135\webservices\lib\saaj-api.jar
C:\jdevstudio10135\webservices\lib\orawsdl.jar
C:\jdevstudio10135\webservices\lib\orawsrm.jar
C:\jdevstudio10135\webservices\lib\jaxr_api.jar
C:\jdevstudio10135\webservices\lib\orajaxr.jar
C:\jdevstudio10135\webservices\lib\relaxngDatatype.jar
C:\jdevstudio10135\webservices\lib\jaxb-impl.jar
C:\jdevstudio10135\webservices\lib\jaxb-libs.jar
C:\jdevstudio10135\webservices\lib\xsdlib.jar
C:\jdevstudio10135\webservices\lib\mdds.jar
C:\jdevstudio10135\jlib\jaxen.jar
C:\jdevstudio10135\jlib\oraclepki.jar
C:\jdevstudio10135\jlib\ojpse.jar
C:\jdevstudio10135\jlib\osdt_core.jar
C:\jdevstudio10135\jlib\osdt_cert.jar
C:\jdevstudio10135\jlib\osdt_xmlsec.jar
C:\jdevstudio10135\jlib\osdt_wss.jar
C:\jdevstudio10135\jlib\osdt_saml.jar
C:\jdevstudio10135\jlib\repository.jar
C:\jdevstudio10135\jlib\ojmisc.jar
C:\jdevstudio10135\j2ee\home\lib\http_client.jar
C:\jdevstudio10135\j2ee\home\jazncore.jar
C:\jdevstudio10135\j2ee\home\oc4jclient.jar
C:\jdevstudio10135\rdbms\jlib\xdb.jar
C:\jdevstudio10135\diagnostics\lib\ojdl2.jar
C:\jdevstudio10135\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar
C:\jdevstudio10135\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar
C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar
C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14_g.jar
C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14dms.jar
C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14dms_g.jar)
With this .MF file (or including only "C:\jdevstudio10135\jdev\mywork\project\project\classes") I have solved the other problem (not found the libraries), but it still not working, the error is a little different:
Exception in thread "main": java.lang.NoClassDefFoundError: project/proxy/Execution
The path where the main class is: C:\jdevstudio10135\jdev\mywork\project\project\classes\project\proxy\Execution.class
I have tried to insert directlly the following paths in "Main Class" option of "Include Manifest File":
C:\jdevstudio10135\jdev\mywork\project\project\classes\project\proxy\Execution
C:\\jdevstudio10135\\jdev\\mywork\\project\\project\\classes\\project\\proxy\\Execution
And with these values, the error is the same: Exception in thread "main": java.lang.NoClassDefFoundError
I am not sure if the error is a bug of JDeveloper 10.1.3.5 or it is something that I don't correctly. Any idea?
Thank you again and regards.
Edited by: user12085357 on 08-abr-2010 1:31
Edited by: user12085357 on 08-abr-2010 1:38
Edited by: user12085357 on 08-abr-2010 6:58
Maybe you are looking for
-
Can we merge data from multiple sources in Hyperion Interactive Reporting ?
Hi Experts, Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2 Oracle, Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE? Thanks, V
-
IPod cannot be synced the required disc cannot be found
Hello i dont know if someone already posted about this, i couldnt find something like it. My iPod is a Shuffle first generation When i connect my ipod to my computer it detects its as normal (Driver F or G), then itunes opens and then says "ipod has
-
Hi all, Just purchased a DKU-2 usb cable for my Nokia 6230, i installed the pc suite software which came with it and then tried connecting my phone to the pc as the wizard stated, it then froze while attempting to connect the phone to the pc. I then
-
PDF verkleinern in Acrobat Pro XI
Hallo! Gibt es eine Möglichkeiten eine PDF-Datei mit einer großen MB-Anzahl zu verkleinern? Im Acrobat Pro XI gibt es ja die Funktion (Dokument>Datei verkleinern oder auf englisch document>reduce file size) nicht mehr... Vielen Dank im Voraus für die
-
Displaying a dialog box.
I have to display a dialog box by using ADF faces. I am able to create a pop up, but need a dialog box in its place. Does anyone know how to accomplish this? thanks. Minaz.