facebook

Problem with deploying on Resin 3… and some questions

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #226454 Reply

    ivj
    Member

    Hi!

    I have resin-pro-3.0.12 running.

    I create a simple web project, configure it to work on “/”. Create a simple .jsp page which references a Test class.

    So, when I do the deployment thingy, everything works just fine.

    Now, when I start up the server, everything works just fine as well.

    However, when I request the page at “localhost:8080/” i get Resin’s default page.

    If I request “localhost:8080/myProject/” THEN I get my page. But this is only the beginning of the problems.

    The page starts to complie, but it tells me that it can’t find my Test class.

    I look in my resin directory, and I have a /deploy/myProject (hmm, I guess myeclipse created it). Test class is in it’s proper location (WEB-INF/classes), and everything seems to be fine.

    I look at conf/resing.conf and I see nothing talking about the deploy folder (Except for some uncommented “ear” which I don’t know what it is).

    So, can you tell me what the problem could be? And can you tell me how myeclipse gets resin to work with “deploy” directory?

    #226455 Reply

    ivj
    Member

    Hmm 🙂

    ok apparently the “/myProject” was in fact declared in the project’s properties (even though I could swear I specified just “/” when I was creating it).

    Also, class Test was in the default package, and I moved it into “test” package, and everything started working. Yooupie!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem with deploying on Resin 3… and some questions

You must be logged in to post in the forum log in