• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

j2ee deploytool not opening!!!

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have j2ee on windows 98 and have successfully deployed a ejb previously on it ,(the deployment was ok but I could not run the client) now when I want to reopen the deploytool by first running the j2eee server and then setting home and path and then I say deploytool in the command prompt , what I get is
the first deploytool screen and then my ms dos prompt runs a long list of errors, I tried finding the .ear files and delete them so that deploytool starts without the previous ejb I deployed but I can't find the .ear file anywhere on my computer what should I check now???Please help
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello!
the exception is nullpointer exception.
to get the deploytool again you may try the following.
-find delete .ear files you have created for yr.application deployment(in the directory you mentioned while deployment).
-find and delete .jar files (which will be starting with yr.application name).these files will be in -
C:\j2sdkee...\repository\computername\applications....here delete all the jar files which are particular to yr. application.
there are still jar files in \repository\gnrtemp\...
here also delete the jar files of yr.applications.
-delete log files.
-still there is another directory you have to look for.
C:\windows\j2eedeploytool\...
here there will be yr.application files.delete them.
if you do all these you can start the deploytool even without warnings.
-there is another way of doing this.execute cleanup.bat in j2sdkee...\bin directory after shutting down the server.but to what extent it does i don't know.
pl.verify the directory structure and names.
only thing when deleting just be careful
that's all deploytool can be run
 
Mohammed Umer
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks once more, your really cool!!!
I did not find any .ear files but I deleted the jar files like u
said, I had copied a jar file to the c:\j2sdkee1.2.1\bin which I noticed and deleted and the deploytool opened after giving a warning that it could not find the previous EJB file.
Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic