RE: [JBoss-user] Building jboss-docs
|-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Madock |Chiwenda |Sent: Sunday, October 28, 2001 11:52 PM |To: Marko ©trukelj; [EMAIL PROTECTED] |Subject: RE: [JBoss-user] Building jboss-docs | | |Hi folks, | |Thanks for your advice. I succeeded to build the docs on windows |2000 server. Yes it is meant for *serious* users, and if you are a serious user you should really check the book and it is included in the $10 doco build, plgc marcf | |Cheers | |Madock | |10/23/01 7:09:15 PM, Marko ©trukelj <[EMAIL PROTECTED]> wrote: | |> |> |> |> |> |> I'd say it's a Windows 98 problem. I see this every time I try building |> |> jboss on Win98. |> |> Win98 just doesn't understand the more advanced batch syntax, and has |> |> severe limits on the size of environment variables values. Besides you |> can't set console buffer so you can track command line output. |It's just |> impossible to work on Win98. |> |> |> I suggest you start using linux or winnt for development. Or |maybe cygwin |> works on win98 - i didn't try. Or maybe there are some trick to fix the |> problems mentioned above and it's just that I don't know about them. |> |> |> Regards, |> |> |> Marko. |> |> |> > -Original Message- |> > From: danch [mailto:[EMAIL PROTECTED]] |> > Sent: Tuesday, October 23, 2001 5:49 PM |> > Cc: Madock Chiwenda; [EMAIL PROTECTED] |> |> > Subject: Re: [JBoss-user] Building jboss-docs |> > |> > |> > The 'bad command or file name' might be because Java isn't on |> |> > your PATH. |> > |> > Tobias Frech wrote: |> > |> |> > > Madock Chiwenda wrote: |> > > |> > >>Hi folks, |> > >> |> |> > >>How to build jboss-docs on win98. I have checked out the |> > module from sourceforge.net. but I cat find notes on how to |> > build. batch files seems not to work with "bad |> > >>command or file name" |> |> > >> |> > > |> > > Check out the the jboss-docs module |> > > cd to build |> |> > > build |> > > |> > > Should work this way. |> > > |> |> > > Tobias |> > > |> > > ___ |> > > JBoss-user mailing list |> |> > > [EMAIL PROTECTED] |> > > https://lists.sourceforge.net/lists/listinfo/jboss-user |> > > |> > |> |> > |> > |> > ___ |> > JBoss-user mailing list |> |> > [EMAIL PROTECTED] |> > https://lists.sourceforge.net/lists/listinfo/jboss-user |> > | | | | |_ |Do You Yahoo!? |Get your free @yahoo.com address at http://mail.yahoo.com | | |___ |JBoss-user mailing list |[EMAIL PROTECTED] |https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Building jboss-docs
Hi folks, Thanks for your advice. I succeeded to build the docs on windows 2000 server. Cheers Madock 10/23/01 7:09:15 PM, Marko ©trukelj <[EMAIL PROTECTED]> wrote: > > > > > > I'd say it's a Windows 98 problem. I see this every time I try building > > jboss on Win98. > > Win98 just doesn't understand the more advanced batch syntax, and has > > severe limits on the size of environment variables values. Besides you > can't set console buffer so you can track command line output. It's just > impossible to work on Win98. > > > I suggest you start using linux or winnt for development. Or maybe cygwin > works on win98 - i didn't try. Or maybe there are some trick to fix the > problems mentioned above and it's just that I don't know about them. > > > Regards, > > > Marko. > > > > -Original Message- > > From: danch [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 23, 2001 5:49 PM > > Cc: Madock Chiwenda; [EMAIL PROTECTED] > > > Subject: Re: [JBoss-user] Building jboss-docs > > > > > > The 'bad command or file name' might be because Java isn't on > > > your PATH. > > > > Tobias Frech wrote: > > > > > > Madock Chiwenda wrote: > > > > > >>Hi folks, > > >> > > > >>How to build jboss-docs on win98. I have checked out the > > module from sourceforge.net. but I cat find notes on how to > > build. batch files seems not to work with "bad > > >>command or file name" > > > >> > > > > > > Check out the the jboss-docs module > > > cd to build > > > > build > > > > > > Should work this way. > > > > > > > Tobias > > > > > > ___ > > > JBoss-user mailing list > > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > ___ > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] sorting with findAll()
I've just checked the fix for this into the JBoss 2.4 branch. It should be present in the next stable release. -danch Frank Morton wrote: > Thanks! > > > >> Poked into the code last night and realized that (as I feared) there's a >> problem with sorting the findAll this way - it ignores anything you put >> in jaws.xml anyway. Workaround is to give it a different name, >> remembering to specify a query that always evaluates to true ('1 = 1' >> seems to work for me in postgresql) >> >> I'll look into a fix for this. >> >> danch >> >> Dmitri Colebatch wrote: >> >> >>> On Thu, 18 Oct 2001, Frank Morton wrote: >>> >>> >>> The docs refer to "jaws.xml" for this, but I'm a newbie confused if this file is now called "standardjaws.xml" and they are the same file or if they are different. >>> >>> that "jaws.xml" is in the .jar's META-INF directory with ejb-jar.xml and >>> jboss.xml >>> >>> hth >>> dim >>> >>> >>> ___ >>> JBoss-user mailing list >>> [EMAIL PROTECTED] >>> https://lists.sourceforge.net/lists/listinfo/jboss-user >>> >> >> >> >> ___ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Re: name not bound... HELP
David Treves wrote: > Hi, > > it's me again... I found out that I should not add in the lookup string the > "java:comp/" but only the resource reference. Can anyone please explain why? See my previous response. Additionally, I should point out that putting settings in web.xml won't work unless you're running Tomcat and JBoss in integrated mode and your app is in an ear, so that JBoss can provide the appropriate environment naming context (the 'java:comp/env' namespace) to your webapp. > > One other thing, I noticed that everytime I compile a servlet and refresh > the browser I bump intothe following error: > > Error: 500 > Location: /webTrails/default.htm > Internal Servlet Error: > > java.lang.IllegalStateException: Can't happen - classname is null, who added > this ? > at > org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:261) > at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289) > at org.apache.tomcat.core.Handler.service(Handler.java:254) > at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > at > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81 > 2) > at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) > at > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC > onnectionHandler.java:213) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) > at java.lang.Thread.run(Thread.java:539) > > > Where does that come from??? > At the risk of sounding flip, it seams to be coming from org.apache.tomcat.core.ServletWrapper.loadServlet 8^}) Seriously, that is a bit odd - I've not seen it before. It seams that apache is getting confused when reloading your servlet after you make a change. I'm assuming that when you compile, you're compiling to the directory that Tomcat deployed to? Or when you say 'compile' do you mean an ear rebuild and hot-deploy? Do you have any tags in your web.xml that might not quite be right? -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] name not bound... HELP
David Treves wrote: > > > Note that I used all JBoss's defaults, I did not add tags to > the web.xml file, That's one reason the java:comp/AuthHome didn't work. The other is that even with the ejb-ref tag, you'd need to look up 'java:comp/env/{whatever you named the ejb-ref}' As you note in your other mail, looking up the bare JNDI name for the bean (or the bean name, taking JBoss' defaults) works fine. That _is_ less portable, however. -danch ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: name not bound... HELP
Hi, it's me again... I found out that I should not add in the lookup string the "java:comp/" but only the resource reference. Can anyone please explain why? One other thing, I noticed that everytime I compile a servlet and refresh the browser I bump intothe following error: Error: 500 Location: /webTrails/default.htm Internal Servlet Error: java.lang.IllegalStateException: Can't happen - classname is null, who added this ? at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:261) at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289) at org.apache.tomcat.core.Handler.service(Handler.java:254) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81 2) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:539) Where does that come from??? Thanks again, David. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] name not bound... HELP
Hi, I am using JBoss 2.4.3 + Tomcat (the pack offered in jboss.org). Everything was fine, I created some servlets and they integrated wonderfully with the beans I wrote. Now, for some reason, which I cannot find, the servlets began today to throw NameNotFoundException when looking for the bean. I checked and the server responses well to a client applications using this JBoss server. the name I am looking for is "java:comp/AuthHome", it says that AuthHome is not bound. I can learn from that, that the server responses but does not bound the bean name. Can anyone think of a reason why this error occurred? Note that I used all JBoss's defaults, I did not add tags to the web.xml file, and no context parameters, according to what I read it is made by JBoss. Thanks in advance! David.