[JBoss-user] unsubscribing not succeed through Sourceforge...
Hi, Not exactly a JBoss Q... ;-) I don't know where to send it. I hope one of you could help... I tried to unsubscribe myself via lists.sourceforge.net. I got the message (in the site + email) that I was removed, yet I still get emails from the list... Should I do anything else? Thanks and sorry... David.
[JBoss-user] with empty string
Hi, a really quick question, how can I pass an like the following: varName java.lang.String Notice that the value is empty, this entry won't allow the EJB container (JBoss 2.4.3) to deploy the bean, since it is considered as null. If so, how do I pass empty Strings environment entries? Thanks! David.
[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.
[JBoss-user] finder methods in JBoss
Hi, I am trying to deploy an Entity Bean in JBoss 2.4.0. The thing is that I cannot find how to set the finder methods, I realized already that I need to add them to the remote interface (extends EJBObject), that's good for simple finders. But, what about more complicated finder methods? For example ejbFindMaxSalary(). I understood from the documentation that JBoss does only "SELECT * FROM tbl", and adds no WHERE clause to the query. How can I query for information WITH restrictions? I know that in WebLogic there is a way to define restrictions on the SELECT query and therefore to filter the results in the SQL level. Is there a way to do so in JBoss? P.S. - Why the GUI ejb-jar.xml creator was removed from 2.4.x versions of JBoss? What are the solution of JBoss for creating the ejb-jar.xml and jboss.xml files, manually only? Thanks for your time, David Treves.
[JBoss-user] integrating with MS Sql Server
Hi, I am running JBoss 2.4.0 and I wish to integrate it with MS Sql Server. I went through the documentation, but it seems like I am missing something... I added the relevant " to jboss.jcml and the definition of the Minerva connection pool, but when I test it and run the server it is stucked on the line where it is trying to run that service/thread. The MBean I added is: org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl SQLServerPool jdbc:odbc:ejb sa mamamia 120 10 false false false true 12 180 false false 1.0 0 and the line where the initializing process is stucked at is: [XADataSourceLoader] Started[XADataSourceLoader] Starting[SQLServerPool] XA Connection pool SQLServerPool bound to java:/SQLServerPool Any idea why that happens? Thanks in advance, David.
[JBoss-user] JBoss 2.4 spec
Hi, I am working on an EJB application and I wish to read the specification of the JBoss 2.4 server. The thing is that I managed to find only the online documentation that JBoss.org offer in the site. Where can I find all the info I need about running EJBs in JBoss. For example I wish to know which options I can set in the deployment descriptor of the ejb-jar file. I know that each vendor may offer more than the standard features in the J2EE spec. Thanks, David Treves.
[JBoss-user] securing the access to some Beans
Hi, I have just began using JBoss and I wish to understand how to define users and roles. I have documentation about how to do it in Weblogic. As I understand, the methods of defining roles are unique to each application server. Thanks, David Treves.
[JBoss-user] securing the access to some Beans
Hi, I have just began using JBoss and I wish to understand how to define users and roles. I have documentation about how to do it in Weblogic. As I understand, the methods of defining roles are unique to each application server. Thanks, David Treves.