• 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
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

i cannot run my JBoss program

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can somebody help me with this JBoss???i'm a newcomer in this area.....i hav install the JBoss and write the program.but i can't run the program....can u suggest tutorial or documentation how to run my program using this JBoss.....
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm going to guess that the program you are talking about is a web appliction, yes? If its not, please explain what you are trying to do in a bit more detail. If it is, JBoss ships with a web application called jmx-console.war. You can use this as an example of how web apps are packaged on JBoss, which might get you going.
 
adul mesuan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ERROR [UDP] exception=java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(Unknown Source)
at java.io.ObjectInputStream.readInt(Unknown Source)
at org.jgroups.Message.readExternal(Message.java:479)
at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:686)
at org.jgroups.protocols.UDP.run(UDP.java:249)
at java.lang.Thread.run(Unknown Source)

* i got this error while running my JBoss prompts.Could u tell me why am I having this problem..and what actually is the problem...
 
adul mesuan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
C:\Program Files\jboss-4.0.3SP1\client\jnp-client.jar;C:\Program Files\jboss-4.0.3SP1\client\ejb.jar;
C:\Program Files\jboss-4.0.3SP1\client\jboss-client.jar;
C:\Program Files\jboss-4.0.3SP1\Welcome;
C:\Program Files\jboss-4.0.3SP1\jboss-j2ee.jar;
C:\j2sdk1.4.2_04\lib\tools.jar;
C:\Program Files\jboss-4.0.3SP1\client\jbossall.jar

* I create a class path like this(above),then i compile my java file using this command...
javac welcome.java

then the error came out says "package javax.ejb does not exist"

can anybody give some solution to my problem.....how do i compile my java program.....
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


how do i compile my java program.....


Make sure j2ee.jar is in your classpath. You might try using short directory names in your classpath (i.e. c:/PROGRA~1 instead of C:/Program Files). Use dir /X to find out what a short name should look like.
 
reply
    Bookmark Topic Watch Topic
  • New Topic