- This topic has 7 replies, 3 voices, and was last updated 20 years, 9 months ago by Bill Winspur.
-
AuthorPosts
-
Bill WinspurMemberPreviously, I reported that the ME deployment dialog, working with
the jboss4 connector would not deposit a war archive into the jboss
deploy/ directory. With much help from the list, I found that
running eclipse under jdk1.4.1 instead of 1.4.2, made that problem
go away.However, that was a trivial, one-line of of output html web-app. A more
complex servlet deployment fails, due to the fact that the web.xml
deployment descriptor in the project, does not make it into the war file
deploying thru the jboss4 connector. Instead a file containing only an
empty <web-app></web-app> element appeared in the war.My workaround for that, was to deploy to orion, then manually copy the
war deposited into orion’s application-autodeploy/ directory by ME,
into the jboss deploy/directory. This worked, and the servlet executed
as expected.I see from the forum that nobody else is reporting this kind of problem.
I wonder what I’m doing wrong?Bill.
Scott AndersonParticipantBill,
So, it sounds like you’re using our packaged deployment option on a simple web project, right?
What’s in the web.xml file in your web project? Is it in the WEB-INF subdirectory where it belongs? The default file is an empty one, but once you start building your application you either have to write it yourself or build it using XDoclet so that it is correct. Are you doing either of these?
Bill WinspurMemberYes, I’m using packaged deployment on a simple web project.
The web.xml is in WEB-INF
I wrote it myslelf.
===============
<web-app>
<servlet>
<servlet-name>nokNok</servlet-name>
<servlet-class>com.wynnon.commandTunnel.server.CommandTunnelServlet</servlet-class>
<init-param>
<param-name>com.wynnon.protocol.server.key</param-name>
<param-value>com.wynnon.commandTunnel.server.examples.NokNokJokeRepository</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>nokNok</servlet-name>
<url-pattern>/comedian</url-pattern>
</servlet-mapping>
</web-app>
===============
The navigator view of the project is:
I dont think that worked … let me know how to include an image if it would help
===============
By the way, the NokNoKJokeRepository (above) is a debugging aritifact 🙂 , not a contract deliverable, of which i have a few … 🙁
Another by the way: what is this forum software? I see it around a lot.
Riyad KallaMemberWe didn’t get the image, you can email it to us at [email protected] though. The forums software is phpBB (www.phpBB.com I believe). Its a great piece of software.
Bill WinspurMemberI e-mailed the image, as suggested, a day or so ago and just got a reply from an anonymous and puzzled person in tech support.
Replied that Riyad suggested the e-mail.
I see 2.7 is out, might that help with my problem ?
Bill.
Riyad KallaMemberBill,
Sorry for the delay I promise we aren’t ignoring you. We are really beating on 2.7 GA (final release) internally right now because we want to release it next week. If its not too much trouble, would you be able to wait until next week, upgrade MyEclipse and see if your problem goes away?
Scott AndersonParticipantBill,
I saw your screenshot and the layout of the project appears correct. I’ll suggest two things. First, until we release 2.7 GA, how about using exploded deployment? That should at least get you around the issue. Second, the packaged deployer was rewritten for 2.7 GA so I would expect that it addresses this issue as we haven’t found any problems with it in internal test yet. Thanks again for your patience.
Bill WinspurMemberThat’ll work – Thanks.
-
AuthorPosts