Purnendu Hota

Greenhorn
+ Follow
since Jul 15, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Purnendu Hota

Hi
I got this from IBM site but not very clear. It says
-------------------------------------------------------
This is a current restriction/limitation of the deploy tool. You must package qualify any Enterprise Java Beans.
--------------------------------------------------------

Any clue?
Thanks
purnendu
Error Deploying an EJB That Is Not Package Qualified
Document Description:
When attempting to deploy an EJB jar file containing classes that are not package qualified, the following exception occurs:
Deploy Error: Deployment(createEJSJar) failed
Exception:
Deployment[createEJSJar] failed.
EJBDeploy: setupWorkingDir(): Setting up working directory C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir
EJBDeploy: open(): Processing jar file C:\MpkLab\HelloLabEJB\HelloLabEJB.jar
EJBJar: processJar(): Extracting jar file C:\MpkLab\HelloLabEJB\HelloLabEJB.jar to directory
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found HelloLabEJB.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
HelloLabEJB.ser
EJBDeploy: open(): Verifying EJB HelloLabBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloLabBean
Class name: EJSRemoteHelloLabHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloLabBean
Class name: EJSHelloLabHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloLabBean
Class name: EJSRemoteHelloLab
EJBDeploy: compileClasses(): Searching for source files...
Found C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSHelloLabHomeBean.java
Found C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLab.java
Found C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLabHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar -classpath
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar;C:/WebSphere/AppServer35/lib/ibmwebas.jar;C:/WebSphere/AppServer35/properties;C:/WebSphere/AppServer35/lib/serv let.jar;C:/WebSphere/AppServer35/lib/webtlsrn.jar;C:/WebSphere/AppServer35/lib/lotusxsl.jar;C:/WebSphere/AppServer35/lib/compat.jar;C:/WebSphere/AppServer35/lib/xalan.jar;C:/WebSph ere/AppServer35/lib/ns.jar;C:/WebSphere/AppServer35/lib/ejs.jar;C:/WebSphere/AppServer35/lib/ujc.jar;C:/WebSphere/AppServer35/lib/idb.jar;C:/WebSphere/AppServer35/lib/repository.ja r;C:/WebSphere/AppServer35/lib/admin.jar;C:/WebSphere/AppServer35/lib/swingall.jar;C:/WebSphere/AppServer35/lib/console.jar;C:/WebSphere/AppServer35/lib/was20cm.jar;C:/WebSphere/Ap pServer35/lib/tasks.jar;C:/WebSphere/AppServer35/lib/xml4j.jar;C:/WebSphere/AppServer35/lib/vaprt.jar;C:/WebSphere/AppServer35/lib/sslight.jar;C:/WebSphere/AppServer35/lib/ibmjndi. jar;C:/WebSphere/AppServ
er35/lib/deployTool.jar;C:/WebSphere/AppServer35/lib/databeans.jar;C:/WebSphere/AppServer35/classes;C:/WebSphere/AppServer35/jdk/lib/tools.jar;C:/WebSphere/AppServer35/lib/jsp10.ja r;C:/WebSphere/AppServer35/lib/ace.jar;$(DER_DRIVER_PATH)/lib/dertrjrt.jar
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLabHome.java
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSHelloLabHomeBean.java
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLab.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar;C:/WebSphere/AppServer35/lib/ibmwebas.jar;C:/WebSphere/AppServer35/properties;C:/WebSphere/AppServer35/lib/serv let.jar;C:/WebSphere/AppServer35/lib/webtlsrn.jar;C:/WebSphere/AppServer35/lib/lotusxsl.jar;C:/WebSphere/AppServer35/lib/compat.jar;C:/WebSphere/AppServer35/lib/xalan.jar;C:/WebSph ere/AppServer35/lib/ns.jar;C:/WebSphere/AppServer35/lib/ejs.jar;C:/WebSphere/AppServer35/lib/ujc.jar;C:/WebSphere/AppServer35/lib/idb.jar;C:/WebSphere/AppServer35/lib/repository.ja r;C:/WebSphere/AppServer35/lib/admin.jar;C:/WebSphere/AppServer35/lib/swingall.jar;C:/WebSphere/AppServer35/lib/console.jar;C:/WebSphere/AppServer35/lib/was20cm.jar;C:/WebSphere/Ap pServer35/lib/tasks.jar;C:/WebSphere/AppServer35/lib/xml4j.jar;C:/WebSphere/AppServer35/lib/vaprt.jar;C:/WebSphere/AppServer35/lib/sslight.jar;C:/WebSphere/AppServer35/lib/ibmjndi. jar;C:/WebSphere/AppServer35/lib/deployTool.jar;C:/WebSphere/AppServer35/lib/databeans.jar;C:/WebSpher
e/AppServer35/classes;C:/WebSphere/AppServer35/jdk/lib/tools.jar;C:/WebSphere/AppServer35/lib/jsp10.jar;C:/WebSphere/AppServer35/lib/ace.jar;$(DER_DRIVER_PATH)/lib/dertrjrt.jar
-keep -iiop -d C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar .EJSRemoteHelloLabHome
error: Class .EJSRemoteHelloLabHome not found.
1 error
rmic return code = 1
com.ibm.ejs.sm.exception.DeploymentException: Deployment[createEJSJar] failed.
EJBDeploy: setupWorkingDir(): Setting up working directory C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir
EJBDeploy: open(): Processing jar file C:\MpkLab\HelloLabEJB\HelloLabEJB.jar
EJBJar: processJar(): Extracting jar file C:\MpkLab\HelloLabEJB\HelloLabEJB.jar to directory
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found HelloLabEJB.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
HelloLabEJB.ser
EJBDeploy: open(): Verifying EJB HelloLabBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloLabBean
Class name: EJSRemoteHelloLabHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloLabBean
Class name: EJSHelloLabHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloLabBean
Class name: EJSRemoteHelloLab
EJBDeploy: compileClasses(): Searching for source files...
Found C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSHelloLabHomeBean.java
Found C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLab.java
Found C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLabHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar -classpath
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar;C:/WebSphere/AppServer35/lib/ibmwebas.jar;C:/WebSphere/AppServer35/properties;C:/WebSphere/AppServer35/lib/serv let.jar;C:/WebSphere/AppServer35/lib/webtlsrn.jar;C:/WebSphere/AppServer35/lib/lotusxsl.jar;C:/WebSphere/AppServer35/lib/compat.jar;C:/WebSphere/AppServer35/lib/xalan.jar;C:/WebSph ere/AppServer35/lib/ns.jar;C:/WebSphere/AppServer35/lib/ejs.jar;C:/WebSphere/AppServer35/lib/ujc.jar;C:/WebSphere/AppServer35/lib/idb.jar;C:/WebSphere/AppServer35/lib/repository.ja r;C:/WebSphere/AppServer35/lib/admin.jar;C:/WebSphere/AppServer35/lib/swingall.jar;C:/WebSphere/AppServer35/lib/console.jar;C:/WebSphere/AppServer35/lib/was20cm.jar;C:/WebSphere/Ap pServer35/lib/tasks.jar;C:/WebSphere/AppServer35/lib/xml4j.jar;C:/WebSphere/AppServer35/lib/vaprt.jar;C:/WebSphere/AppServer35/lib/sslight.jar;C:/WebSphere/AppServer35/lib/ibmjndi. jar;C:/WebSphere/AppServ
er35/lib/deployTool.jar;C:/WebSphere/AppServer35/lib/databeans.jar;C:/WebSphere/AppServer35/classes;C:/WebSphere/AppServer35/jdk/lib/tools.jar;C:/WebSphere/AppServer35/lib/jsp10.ja r;C:/WebSphere/AppServer35/lib/ace.jar;$(DER_DRIVER_PATH)/lib/dertrjrt.jar
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLabHome.java
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSHelloLabHomeBean.java
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar\EJSRemoteHelloLab.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath
C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar;C:/WebSphere/AppServer35/lib/ibmwebas.jar;C:/WebSphere/AppServer35/properties;C:/WebSphere/AppServer35/lib/serv let.jar;C:/WebSphere/AppServer35/lib/webtlsrn.jar;C:/WebSphere/AppServer35/lib/lotusxsl.jar;C:/WebSphere/AppServer35/lib/compat.jar;C:/WebSphere/AppServer35/lib/xalan.jar;C:/WebSph ere/AppServer35/lib/ns.jar;C:/WebSphere/AppServer35/lib/ejs.jar;C:/WebSphere/AppServer35/lib/ujc.jar;C:/WebSphere/AppServer35/lib/idb.jar;C:/WebSphere/AppServer35/lib/repository.ja r;C:/WebSphere/AppServer35/lib/admin.jar;C:/WebSphere/AppServer35/lib/swingall.jar;C:/WebSphere/AppServer35/lib/console.jar;C:/WebSphere/AppServer35/lib/was20cm.jar;C:/WebSphere/Ap pServer35/lib/tasks.jar;C:/WebSphere/AppServer35/lib/xml4j.jar;C:/WebSphere/AppServer35/lib/vaprt.jar;C:/WebSphere/AppServer35/lib/sslight.jar;C:/WebSphere/AppServer35/lib/ibmjndi. jar;C:/WebSphere/AppServer35/lib/deployTool.jar;C:/WebSphere/AppServer35/lib/databeans.jar;C:/WebSpher
e/AppServer35/classes;C:/WebSphere/AppServer35/jdk/lib/tools.jar;C:/WebSphere/AppServer35/lib/jsp10.jar;C:/WebSphere/AppServer35/lib/ace.jar;$(DER_DRIVER_PATH)/lib/dertrjrt.jar
-keep -iiop -d C:\WebSphere\AppServer35\deployedEJBs\HelloLabEJBWorkingDir\__ejbjar .EJSRemoteHelloLabHome
error: Class .EJSRemoteHelloLabHome not found.
1 error
rmic return code = 1

--------
com.ibm.ejs.sm.client.command.ExecutionException: Error during deploying jar file.
at com.ibm.ejs.sm.client.RepositoryOpException.<init>(RepositoryOpException.java:51)
at com.ibm.ejs.sm.client.command.ExecutionException.<init>(ExecutionException.java:63)
at com.ibm.ejs.sm.client.command.DeployJarCommand.execute(DeployJarCommand.java:86)
at com.ibm.ejs.sm.client.command.CommandManager$ExecutionThread.run(CommandManager.java:282)

18 years ago
Hi
I am also geting the same error.
com.ibm.ejs.sm.client.command.ExecutionException: Error during deploying jar file.
I am using WAS 3.5 on Win2000 and created the .jar using JetAce for deployment. This .jar file contains both SBeans and EBeans. Is there a limitation in number beans can be deployed in a evaluation copy of WAS?
Any help on this will be appreciated.
Thanks
Purnendu
18 years ago
Hi
I have created a jar mainly consisting of Session Bean, now ehn I am trying to install it in websphere 3.5, it is giving the folloing error. PLEASE HELP.

Exception:
java.lang.NullPointerException
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:119)
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:101)
at com.ibm.ejs.util.jar.ClasspathManager.addJarFile(ClasspathManager.java:95)
at com.ibm.ejs.sm.active.ActiveFileBrowserService.listFiles(ActiveFileBrowserService.java:261)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.active.ActiveObject.invokeContainedObject(ActiveObject.java:474)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgent_Stub.invokeActiveObject(Unknown Source)
at com.ibm.ejs.sm.beans.ServiceBaseImpl.invokeActiveObject(ServiceBaseImpl.java:50)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.invoke(FileBrowserServiceBean.java:254)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.listFiles(FileBrowserServiceBean.java:163)
at com.ibm.ejs.sm.beans.EJSRemoteFileBrowserService.listFiles(EJSRemoteFileBrowserService.java:197)
at com.ibm.ejs.sm.beans._EJSRemoteFileBrowserService_Tie._invoke(Unknown Source)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(Unknown Source)
at com.ibm.CORBA.iiop.ORB.process(Unknown Source)
at com.ibm.CORBA.iiop.WorkerThread.run(Unknown Source)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:528)
com.ibm.ejs.sm.exception.DeploymentException: java.lang.NullPointerException
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:119)
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:101)
at com.ibm.ejs.util.jar.ClasspathManager.addJarFile(ClasspathManager.java:95)
at com.ibm.ejs.sm.active.ActiveFileBrowserService.listFiles(ActiveFileBrowserService.java:261)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.active.ActiveObject.invokeContainedObject(ActiveObject.java:474)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgent_Stub.invokeActiveObject(Unknown Source)
at com.ibm.ejs.sm.beans.ServiceBaseImpl.invokeActiveObject(ServiceBaseImpl.java:50)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.invoke(FileBrowserServiceBean.java:254)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.listFiles(FileBrowserServiceBean.java:163)
at com.ibm.ejs.sm.beans.EJSRemoteFileBrowserService.listFiles(EJSRemoteFileBrowserService.java:197)
at com.ibm.ejs.sm.beans._EJSRemoteFileBrowserService_Tie._invoke(Unknown Source)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(Unknown Source)
at com.ibm.CORBA.iiop.ORB.process(Unknown Source)
at com.ibm.CORBA.iiop.WorkerThread.run(Unknown Source)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:528)

--------
com.ibm.ejs.sm.client.ClientException: Exception occurred
at com.ibm.ejs.sm.client.ClientException.<init>(ClientException.java:41)
at com.ibm.ejs.sm.client.ExceptionManager.handleExc(ExceptionManager.java:75)
at com.ibm.ejs.sm.client.ui.editor.JarFileGUI.getJarFileChoice(JarFileGUI.java:467)
at com.ibm.ejs.sm.client.ui.editor.JarFileGUI.<init>(JarFileGUI.java:287)
at com.ibm.ejs.sm.client.ui.editor.EnterpriseBeanPropertySheet.handleJarBrowsing(EnterpriseBeanPropertySheet.java:1172)
at com.ibm.ejs.sm.client.ui.editor.EnterpriseBeanPropertySheet.access$5(EnterpriseBeanPropertySheet.java:1099)
at com.ibm.ejs.sm.client.ui.editor.EnterpriseBeanPropertySheet$PropertySheetListener.actionPerformed(EnterpriseBeanPropertySheet.java:1411)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1068)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1103)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:380)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:252)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:222)
at java.awt.Component.processMouseEvent(Component.java:3169)
at java.awt.Component.processEvent(Component.java:3008)
at java.awt.Container.processEvent(Container.java:995)
at java.awt.Component.dispatchEventImpl(Component.java:2319)
at java.awt.Container.dispatchEventImpl(Container.java:1026)
at java.awt.Component.dispatchEvent(Component.java:2315)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2050)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1834)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1737)
at java.awt.Container.dispatchEventImpl(Container.java:1026)
at java.awt.Window.dispatchEventImpl(Window.java:764)
at java.awt.Component.dispatchEvent(Component.java:2315)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:359)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:118)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

18 years ago