Hello,
You must use the "ejipt.home" property for avoid the NullPointerException.
java -Djava.security.policy=ejipt.policy -Dejipt.home=%EJIPT_HOME% -classpat
h %JAVA_EXT%
allaire.ejipt.tools.Deploy
We posted this question on
http://forums.allaire.com/jrunconf/Thread.cfm?CFID=56047&CFTOKEN=38111083&&M
essage_ID=579385&_
Regards,
Ernesto Botella.
-----Mensaje original-----
De: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
Enviado el: s�bado 30 de septiembre de 2000 0:18
Para: JRun-Talk
Asunto: RE: deploy tool will not recognize beans with deployment
descript or?
<<
Is it true that you have the XML file in "meta-inf" and
not "META-INF"?
>>
It is true that the jar file displays "meta-inf", however, it is "META-INF
in the file system.
I use the following jar command (my ejb-jar.xml file is in
\extranet\java\com\alcoa\alecomm\productsalemgmt\META-INF):
cd \extranet\java\com\alcoa\alecomm\productsalemgmt\
jar cf %out%productsalemgmt.jar META-INF
I think it is finding the xml file, getting a null pointer exception when I
run the deploy tool.
C:\Applications\JRun>java -Djava.security.policy=jrun.policy -classpath
lib/ejip
t_tools.jar allaire.ejipt.tools.Deploy
Warning: servers\default\deploy\deploy.properties not found
Exception: [16:57:05] java.lang.NullPointerException
Warning: No beans found in jar(s)
Thanks.
Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA 15212
(412) 553-4900 (phone) (412) 553-2484 (fax)
-----Original Message-----
From: Scott Stirling [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 5:08 PM
To: JRun-Talk
Subject: RE: deploy tool will not recognize beans with deployment
descript or?
Hi Phil,
As far as I can tell, the Deploy tool looks in your jar for
"META-INF/ejb-jar.xml". If it doesn't find that, then it assumes you're
using the old properties set-up, which triggers it to look for
default.properties. Is it true that you have the XML file in "meta-inf" and
not "META-INF"? If so, try renaming it to upper-case and rejar and try
again. Let me know what happens. Looks like we ought to log a more
specific warning message.
Scott Stirling
Allaire Corporation
http://www.allaire.com/developer/jrunreferencedesk/
> -----Original Message-----
> From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 29, 2000 3:02 PM
> To: JRun-Talk
> Subject: deploy tool will not recognize beans with deployment
> descriptor?
>
>
> I have several beans that I jar up. I have my ejb_jar.xml in
> same jar in
> "meta-inf" directory
>
> I call deploy command line tool, and it says
>
> C:\Applications\JRun>java -Djava.security.policy=jrun.policy
> -classpath
> lib/ejipt_tools.jar allaire.ejipt.tools.Deploy
> Warning: No default.properties found in
> servers\default\deploy\productsalemgmt.jar
> Warning: No beans found in jar(s)
>
> What am I doing wrong??
>
> Thanks!
>
> Phillip Rhodes
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.