|Come on,
|
|you don't know that java files with package must reside under a directory
|tree that replaces "." in package declaration with "/" for directories ?
|
this is beyond what we are supposed to support, the man obviously doesn't
know basic stuff...
|Put your class files under directory se/jadata/jox !!!
Ok, it is what I call "abusive newbies" I think we have about 140 mails from
our friend ranging from "I need ./ to start?" to "oh I mistyped the name (10
mails to figure it out)".
teach him to fish? nah...
Give a man a fish? nah...
buy "filet-o-fish" at McDonalds,
and he will be there every day.
as long as you serve him he believes we are the McDonalds of App Servers
marc
|Simon
|
|> -----Original Message-----
|> From: Andersson, Jan [mailto:[EMAIL PROTECTED]]
|> Sent: lunedì 8 gennaio 2001 11:00
|> To: '[EMAIL PROTECTED]'
|> Subject: [jBoss-User] More simple newbie problems (when will it end?)
|>
|>
|>
|> Hi guys!
|>
|> I've been trying for some days to get my first EJBs running on jBoss.
|> Numerous problems have turned up. Maybe you can help me?
|> Pleeeeease! I feel
|> I'm running out of steam on this. It shouldn't be that hard
|> to get this
|> thing going, would it?
|>
|> The current situation:
|>
|> jBoss restarted in a command prompt where CLASSPATH is empty.
|> Created a .jar
|> and autodeployed it in jboss-2.0-FINAL\deploy. Then a series of error
|> messages appear, all complaining that the fully-qualified
|> name of different
|> parts of the bean is not there. As far as I can see, they
|> are. See below for
|> error message, the contents of the .jar, and the contents of the
|> ejb-jar.xml.
|>
|> What is going on here?
|>
|> Regards,
|> Jan Andersson
|>
|> ---------------------------------------
|>
|> [Verifier]
|> Bean : NumberGenerator
|> Section: 16.2
|> Warning: The Bean Provider must specify the fully-qualified
|> name of the Java
|> cla
|> ss that implements the enterprise bean's business methods.
|>
|> [Verifier]
|> Bean : NumberGenerator
|> Section: 16.2
|> Warning: The Bean Provider must specify the fully-qualified
|> name of the
|> enterpri
|> se bean's home interface in the home element.
|>
|> [Verifier]
|> Bean : NumberGenerator
|> Section: 16.2
|> Warning: The Bean Provider must specify the fully-qualified
|> name of the
|> enterpri
|> se bean's remote interface in the remote element.
|>
|> [Verifier]
|> Bean : NumberGenerator
|> Section: 16.2
|> Warning: The Bean Provider must specify the fully-qualified
|> name of the
|> enterpri
|> se bean's primary key class in the prim-key-class element.
|>
|> ---------------------------------------
|>
|> Listing the .jar produces this:
|>
|> C:\Temp>jar tf numgen.jar
|> META-INF/
|> META-INF/MANIFEST.MF
|> NumberGeneratorHome.class
|> NumberGeneratorBean.class
|> NumberGeneratorBeanPK.class
|> NumberGenerator.class
|> META-INF/ejb-jar.xml
|>
|> ---------------------------------------
|>
|> Unpacking the .jar and listing the contents of ejb-jar.xml
|> produces this:
|>
|> C:\Temp>more META-INF\ejb-jar.xml
|> <?xml version="1.0" encoding="UTF-8"?>
|>
|> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
|> JavaBeans 1.
|> 1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
|>
|> <ejb-jar>
|> <enterprise-beans>
|> <entity>
|> <ejb-name>NumberGenerator</ejb-name>
|> <home>se.jadata.jox.NumberGeneratorHome</home>
|> <remote>se.jadata.jox.NumberGenerator</remote>
|> <ejb-class>se.jadata.jox.NumberGeneratorBean</ejb-class>
|> <persistence-type>Container</persistence-type>
|>
|> <prim-key-class>se.jadata.jox.NumberGeneratorBeanPK</prim-key-class>
|> <reentrant>False</reentrant>
|> </entity>
|> </enterprise-beans>
|> </ejb-jar>
|>
|>
|>
|>
|> --
|> --------------------------------------------------------------
|> To subscribe: [EMAIL PROTECTED]
|> To unsubscribe: [EMAIL PROTECTED]
|> List Help?: [EMAIL PROTECTED]
|>
|
|
|--
|--------------------------------------------------------------
|To subscribe: [EMAIL PROTECTED]
|To unsubscribe: [EMAIL PROTECTED]
|List Help?: [EMAIL PROTECTED]
|
|
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]