• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Question on GlassFish

 
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know if anyone has knowledge about Sun's App Server and the use of the GlassFish plugin in Eclipse or not.

If so, I have a question. Per the glassfish startup guide, I read that after I got my server up and running and put the EAR file in the autodeploy folder that my project should begin. I am just getting 404 errors.

We are currently working with JBoss app server and we're finding it to be a royal pain to work with. It's hard to get answers to questions either on the forum or anywhere else for that matter.

At any rate, any suggestions or direction would be greatly appreciated.

Regards.
 
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,

the information you gave us is not sufficient to say for sure where the problem is.

First check in the admin web interface if the deployed application is shown there. Maybe it will also show the context root. Is it the same one you tried?

Did you use the right port? Glassfish runs many HTTP servers with different purposes simultaneously on different ports. I think the default server for your own web applications uses port 3370, so yourwebapp would be at http://yourserver:3370/yourwebapp/

Did you set the correct content-root in the application.xml? Here is an example:


You could also try to deploy the war only first. That doesn't help so much for debugging, though.

Kai
[ February 22, 2007: Message edited by: Kai Witte ]
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kai,

Thanks for the info. I am new to setting up an app server and did not have the addl info to give you because I did not know that I had to setup an XML file. I did not see this info either in the setup guide.

I will try what you've suggested and hopefully it will work.

Thank you for your time and reply.
 
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic