Stax Developer Community

Developer Community

Jean-Charles GIARDINA
Jean-Charles GIARDINA
  • Male
  • Montréal, Québec
  • Canada

Jean-Charles GIARDINA's Friends

  • Spike Washburn

Jean-Charles GIARDINA's Discussions

Error on stax run
4 Replies

Started this discussion. Last reply by Jean-Charles GIARDINA Mar 26, 2009.

 

Jean-Charles GIARDINA's Page

Latest Activity

Spike Washburn commented on Jean-Charles GIARDINA's blog post 'Testing webapp Struts with Hibernate'
Thanks for publishing your struts+hibernate "recipe". The next major version of the Stax SDK will actually have a new command based on Apache IVY that will allow you to download and install dependent jars into your apps using a simple…
Mar 29, 2009

Testing webapp Struts with Hibernate

I'm trying to test webapp Struts with Hibernate on Stax.To do this I download:- hibernate-distribution-3.3.1.G- hibernate-annotations-3.4.0.GA- slf4j-1.5.6- apache-log4j-1.2.15I add all needed (I hope) .jar in WEB-INF/lib:- antlr-2.7.6.jar- commons-collections-3.1.jar- commons-logging-1.0.4.jar- dom4j-1.6.1.jar- dom4j.jar- ejb3-persistence.jar- freemarker-2.3.8.jar- hibernate-annotations.jar- hibernate-commons-annotations.jar- hibernate-core.jar- hibernate3.jar- javassist-3.4.GA.jar-…See More
Blog post by Jean-Charles GIARDINA Mar 28, 2009
Jean-Charles GIARDINA replied to Jean-Charles GIARDINA's discussion 'Error on stax run'
Thanks for the tips. I ca run my Struts application now.
Mar 26, 2009
Spike Washburn replied to Jean-Charles GIARDINA's discussion 'Error on stax run'
I found a Tomcat dev thread talking about this problem and it seems to be related to the use of NIO on MacOS. I can't actually reproduce this problem on my Mac, so it's not a problem on all MaxOS installations. I checked my JVM and…
Mar 26, 2009
Jean-Charles GIARDINA replied to Jean-Charles GIARDINA's discussion 'Error on stax run'
Yeah :-( I'd try to create a basic application using stax create myapp When I use port 8081 I've the same error : INFO: Starting Coyote HTTP/1.1 on http-8081 2009-03-26 01:26:57 org.apache.tomcat.util.net.NioEndpoint…
Mar 26, 2009
Spike Washburn replied to Jean-Charles GIARDINA's discussion 'Error on stax run'
Whoa, never seen that one, though the SDK was recently converted over to using the NIO connection scheme. Do you get this same error when creating a basic application (just use: stax create mybasicapp) or is this specific to this application? Also,…
Mar 26, 2009

Error on stax run

Hi,I'd install Stax on my MacBook.I'd create a Struts application from Stax website, and I'd download it from my safari.When I run stax run all run good. But when I connect to http://localhost:8080 I can see this error :2009-03-26 00:47:53 org.apache.tomcat.util.net.NioEndpoint setSocketOptionsGRAVE:java.net.SocketException: Invalid argumentat sun.nio.ch.Net.setIntOption0(Native Method)at sun.nio.ch.Net.setIntOption(Net.java:152)at…See More
Discussion posted by Jean-Charles GIARDINA Mar 26, 2009

Profile Information

Which application stacks do you like to use when building web apps?
Servlets/JSP, Struts, Google Web Toolkit
What feature would you like to see Stax support next?
EJB !!!
About me:
I'm a Java Senior Developper.
I leave in Montreal since 2 years.
I'm working for a big enterprise (11 000 employees)

Jean-Charles GIARDINA's Blog

Jean-Charles GIARDINA

Testing webapp Struts with Hibernate

I'm trying to test webapp Struts with Hibernate on Stax.

To do this I download:

- hibernate-distribution-3.3.1.G

- hibernate-annotations-3.4.0.GA

- slf4j-1.5.6

- apache-log4j-1.2.15



I add all needed (I hope) .jar in WEB-INF/lib:

- antlr-2.7.6.jar

- commons-collections-3.1.jar

- commons-logging-1.0.4.jar

- dom4j-1.6.1.jar

- dom4j.jar

- ejb3-persistence.jar

- freemarker-2.3.8.jar

- hibernate-annotations.jar

-… Continue

Posted on March 27, 2009 at 9:00pm — 1 Comment

Comment Wall

You need to be a member of Stax Developer Community to add comments!

Join Stax Developer Community

  • No comments yet!
 
 
 

Quick Links

Send Feedback

If you have any questions or feedback about Stax, please drop us a note.

© 2012   Created by Spike Washburn.

Badges  |  Report an Issue  |  Terms of Service