You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rajas kumar <pr...@yahoo.com> on 2004/12/26 13:07:03 UTC

rmic problem while installing ejb jar file

Hai can anybody help me for to solve this problem. I am using websphere sever 5.1. while i am deploying ejb application throw maven it giving rmic error eventhough i am using websphere java home. 
 
    [wasInstallApp] Building: /EJBModule1.
    [wasInstallApp] Deploying jar EJBModule1
    [wasInstallApp] Generating deployment code
    [wasInstallApp] Refreshing: /EJBModule1/ejbModule.
    [wasInstallApp] Building: /EJBModule1.
    [wasInstallApp] Invoking RMIC.
    [wasInstallApp] error: Could not load the IBM Java ORB runtime.
    [wasInstallApp] 1 error
    [wasInstallApp] An unexpected exception was thrown.  Halting execution.
    [wasInstallApp] Shutting down workbench.
    [wasInstallApp] Error generating RMI code: RMIC Command returns RC = 1. The
problems which stopped RMIC are displayed, and have also been recorded in the .l
og file in C:\Documents and Settings\praveen.kumar\Local Settings\Temp\app_1010f
3d7547\dpl\a483979c\.metadata.
    [wasInstallApp] RMIC command was:
    [wasInstallApp] -extdirs C:\WebSphere\AppServer\java\jre\lib\core.jar;C:\Web
Sphere\AppServer\java\jre\lib\graphics.jar;C:\WebSphere\AppServer\java\jre\lib\s
ecurity.jar;C:\WebSphere\AppServer\java\jre\lib\server.jar;C:\WebSphere\AppServe
r\java\jre\lib\xml.jar;C:\WebSphere\AppServer\java\jre\lib\charsets.jar;C:\WebSp
here\AppServer\java\jre\lib\ext;C:\WebSphere\AppServer\java\lib;C:\WebSphere\App
Server\classes;C:\WebSphere\AppServer\lib;C:\WebSphere\AppServer\lib\ext;C:\WebS
phere\AppServer\web\help;C:\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.e
tools.ejbdeploy\runtime;C:\java\lib; -classpath C:\Documents and Settings\pravee
n.kumar\Local Settings\Temp\app_1010f3d7547\dpl\a483979c\EJBModule1\ejbModule;C:
\Documents and Settings\praveen.kumar\Local Settings\Temp\app_1010f3d7547\dpl\a4
83979c\EJBModule1\imported_classes -iiop -always -keep -d C:\Documents and Setti
ngs\praveen.kumar\Local Settings\Temp\app_1010f3d7547\dpl\a483979c\EJBModule1\ej
bModule -sourcepath C:\Documents and Settings\praveen.kumar\
    [wasInstallApp] Local Settings\Temp\app_1010f3d7547\dpl\a483979c\EJBModule1\
ejbModule ejb.EJSRemoteStatelessUserHome_15ecc414 ejb.EJSRemoteStatelessUser_15e
cc414
    [wasInstallApp] ADMA5007I: EJBDeploy completed on C:\DOCUME~1\PRAVEE~1.KUM\L
OCALS~1\Temp\app_1010f3d7547\dpl\dpl_ApplicationModule1.ear
    [wasInstallApp] ADMA5008E: EJBDeploy failed on C:\DOCUME~1\PRAVEE~1.KUM\LOCA
LS~1\Temp\app_1010f3d7547\dpl\dpl_ApplicationModule1.ear: com.ibm.websphere.mana
gement.exception.AdminException: ADMA0063E: Error in EJB deploy - [An unexpected
 exception was thrown.  Halting execution.]
    [wasInstallApp] ADMA5011I: Cleanup of temp dir for app ApplicationModule1 do
ne.
    [wasInstallApp] ADMA5014E: Installation of application ApplicationModule1 fa
iled.
    [wasInstallApp] WASX7017E: Exception received while running file "C:\DOCUME~
1\PRAVEE~1.KUM\LOCALS~1\Temp\wsant32340jacl"; exception information: com.ibm.ws.
scripting.ScriptingException: WASX7132E: Application install for E:\websphere\te
st\test\ApplicationModule1\test.ear failed: see previous messages for details.
    [wasInstallApp]
    [wasInstallApp] [ERROR] Java Result: 105
    [wasInstallApp] Installed Application [E:\websphere\test\test\ApplicationMod
ule1\test.ear]
BUILD SUCCESSFUL
Total time: 31 seconds
Finished at: Sun Dec 26 17:28:18 IST 2004

 
But i am able to deploy through console.Plz send solution for this.

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.
		
---------------------------------
Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.

Re: rmic problem while installing ejb jar file

Posted by Dion Gillard <di...@gmail.com>.
On Sun, 26 Dec 2004 04:07:03 -0800 (PST), rajas kumar
<pr...@yahoo.com> wrote:

>     [wasInstallApp] Invoking RMIC.
>     [wasInstallApp] error: Could not load the IBM Java ORB runtime.
>     [wasInstallApp] 1 error
>     [wasInstallApp] An unexpected exception was thrown.  Halting execution.
>     [wasInstallApp] Shutting down workbench.


Looks like you're not running with the IBM JDK. Is JAVA_HOME set to the WAS JDK?
-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org