How come you're getting a different error message now?  before it said it
couldn't find default.properties, now it says it can' find
deploy.properties.  You will need a deploy.properties in the deploy
directory.  When you put one there, make sure you add:

ejipt.logStackTrace=true

in it at the bottom so we can see a stack trace when an error occurs.  If
you have a stack trace for the NPE, that would help.

Scott Stirling
Allaire Corporation
http://www.allaire.com/developer/jrunreferencedesk/

> -----Original Message-----
> From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 29, 2000 6:18 PM
> To: JRun-Talk
> Subject: 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=list
s/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?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to