[JBoss-user] [Management, JMX/JBoss] - pls. clarify about WebContainer and VirtualHost??

2004-04-20 Thread kondetisree
Hi.. I would like know about how the jetty server that implemented in Jboss? So is there any MBean that will tells about WebContainer stuff? And at the same time I would like to know about VirtualHosts concept in Jboss? Whether Jboss supports VirtualHosts concept are not? Thanks in Advance Sri

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Programmatically create queue

2004-04-20 Thread StephaneNicoll
Ooops actually you're using the DM as well /me is stupid My code does the same internally from a session bean. I will post it on the wiki asap. Regards, StÃphane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831694#3831694 Reply to the post : http://www.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Programmatically create queue

2004-04-20 Thread StephaneNicoll
I have also a piece of code that does that using the destination manager. You can post your sample on the JBossMQ Wiki. http://jboss.org/wiki/Wiki.jsp?page=JBossMQ Regards, StÃphane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831693#3831693 Reply to the

[JBoss-user] [Installation & Configuration] - setting datasource(connecting to mysql) on JBOSS

2004-04-20 Thread caesarkim
I installed successfully JBOSS and am trying to set up datasource to connect to mysql. this is my mysql-ds.xml sitting in /jboss/server/default/deploy - jdbc/MySQLDS jdbc:mysql://localhost/proje

[JBoss-user] [Beginners Corner] - no context error

2004-04-20 Thread Saroj
Pls, help me. After starting jboss, while requesting from browsers with URL :http://localhost:8080 , the following error encountered... 1. No Context settings found for this request Error 2. How to get the home page of jboss. 3. Where to deploy JAR, WAR and EAR files. thanks in advance. Saroj

[JBoss-user] [Installation & Configuration] - How to handle discovery of Tomcat Module or jetty module?

2004-04-20 Thread kondetisree
Hi How JBoss handle the discovery of Tomcat Module or Jetty module? I would like to know whether both the webservers are applicable for Jboss or any one of the webserver? Pls. do needful Thanks & Regards, Srikanth Kondeti View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Beginners Corner] - Re: web-app DTD version

2004-04-20 Thread jagadishm
org.xml.sax.SAXParseException: Element type "listener" must be decl ared. 2004-04-19 13:57:40,437 WARN [org.jboss.jbossweb] WARNING: [EMAIL PROTECTED]:/export/home1/orga/jboss-3.2.2RC1/server/default/tmp/de ploy/tmp41435wapapps.war/WEB-INF/web.xml line:175 col:25 : org.xml.sax.SAXParseExceptio

[JBoss-user] [Messaging, JMS & JBossMQ] - Programmatically create queue

2004-04-20 Thread nilsson
I needed to create a queue programatically Presumably there are other samples in this forum already, but if you are incompetent like me, and can't make them work here is some help. I am sure the other samples are OK, and it's my incompetence that maked me unable to usen them, not the fact that t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Oracle store with per server destinations

2004-04-20 Thread lucsky
Sorry for the mistake : | DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS AND USERNAME = USER) AND TXOP=? AND USERNAME = USER | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831686#3831686 Rep

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: setJMSExpiration() dont seem to work

2004-04-20 Thread genman
JBoss could copy over the original expiration time from your message as a different property before putting it in the DLQ. If you want the DLQ copied message to expire at the same time as the original, you could make a code change in the JBoss tree. I'm not sure that'd be what most users woul

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: architectures

2004-04-20 Thread genman
1) JBoss by default persists messages using a built-in database called HSQL. Adrian doesn't care for it, but it works well for me, at least for JMS. The other persistence implementations use files, but are not supported or may have bugs. Search for FilePersistenceManager and RollingLogged Pe

[JBoss-user] [EJB/JBoss] - Re: ejb-local-ref question

2004-04-20 Thread raja05
Yes, java:comp/env is an internal representation. You cannot reference it from outside unless you have a client descriptor that resolves java:comp/env to java:/JNDIName(or whatever ur jndi is). Im not sure how much of a progress is made on the client side descriptors in j2ee1.4 but it sure was

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Oracle store with per server destinations

2004-04-20 Thread lucsky
Another idea is to use an additional column to identify your different users, and each user should have his/her own datasource *-ds.xml with his/her Oracle user in tag . Example : oracle-ds.xml | | | OracleDS | jdbc:oracle:thin:@youroraclehost:1521:yoursid | oracle.jd

[JBoss-user] [Security & JAAS/JBoss] - Re: Getting login name in a jsp

2004-04-20 Thread erik777
A JSP page is a servlet, so you can do everything you can do with a servlet. The JSP page gives you objects that you would normally either receive or derive from servlet parameters: application, session, request and response. Although you could derive the application and session from the req

[JBoss-user] [Clustering/JBoss] - Re: Round robin clustering for HA-RMI on 2 nodes is not even

2004-04-20 Thread LordBritish
This is my HA-RMI service below: | InitialContext ctx = new InitialContext(); | Object obj = ctx.lookup("/HAPartition/DefaultPartition"); | RMISocketFactory rmiSocketFactry = RMISocketFactory.getSocketFactory(); | HAPartition myPartition = (HAPartition) obj; | MyService mySe

[JBoss-user] [EJB/JBoss] - Re: JDK 1.4.2 causing unmarshalling problems..

2004-04-20 Thread MClark00
Ouch, I wish I had seen your post a few hours ago :) See the following link for a hack workaround and a full explanation. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48761 BTW, we've been told that JBoss 3.2.3 correctly accounts for the Sun regression, and will load the class correc

[JBoss-user] [Installation & Configuration] - Re: Strange problem when deploy the servlet in jboss

2004-04-20 Thread calffin
My jboss.xml is below: Account AccountBean AccountLocal AccountFacade AccountFacadeBean AccountFacadeLocal ejb/AccountLocal AccountLocal My web.xml is below: accountlet server.web.Accountlet 1 accountlet /servlet/* index.jsp 404 /error.jsp ejb/AccountFacad

[JBoss-user] [Installation & Configuration] - Re: ClassNotFoundException loading an array type using URLCl

2004-04-20 Thread MClark00
In case anyone has this same problem, this ended up being a JVM bug (in my opinion) that was exposed by the way JBoss was loading classes. Basically the ClassLoader.loadClass(String) method doesn't work consistently for loading array types, especially when the array's component type hasn't alre

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Strange problem when deploy the servlet in jboss

2004-04-20 Thread calffin
Thank you ,kabkhan. My jboss.xml is below: Account AccountBean AccountLocal AccountFacade AccountFacadeBean AccountFacadeLocal ejb/AccountLocal AccountLocal My web.xml i

[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserPrincipal returns null

2004-04-20 Thread erik777
I'm a little confused. I thought JBoss 3.2.x used J2SE 1.4 and J2EE 1.3. Does it use all or some of J2EE 1.4? I checked the API docs for 1.3 and 1.4, and I only saw response.getUserPrincipal() on 1.4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831673

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: setJMSExpiration() dont seem to work

2004-04-20 Thread jmer
Thank you once again for the enlightenment. By the way i use messageDrivenContext.setRollbackOnly(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831672#3831672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831672

[JBoss-user] [Beginners Corner] - How to integrity JBoss with existing Tomcat and Struts, JK C

2004-04-20 Thread span
Hi, I'm new to JBoss, I install JBoss 3.2.3, and started with no problem. I have to configurate JBoss to existing Tomcat 4.1.24 with Struts 1.1, we use JDk 1.4.2 and application has its own web.xml, struts-config.xml. I copied following jar files into /common/lib/: jbossall-client.jar jboss-

[JBoss-user] [Messaging, JMS & JBossMQ] - architectures

2004-04-20 Thread jpanico
Hello, I'm looking for a simple JMS provider, but I have a couple of architectural restrictions. I'm looking to use only the P2P domain. 1) I'm not allowed to deploy (or embed) any databases at all. Can JBoss use the filesystem to store P2P messages? 2) Both peers (producer and consumer) for

[JBoss-user] [JBoss.NET & SOAP] - Hello Web Service

2004-04-20 Thread aznichet
Hi All, In the JBossBook 3.2.x chapter 12 (Web Services), it refers a zip file ws-ex.zip which contains an example of Hello Web Services. But I don't find it in the bundle doc zip file. Do you know where I can find the ws-ex.zip (Hello Web Services) describes in the Chapter 12? Thx. View the

[JBoss-user] [Installation & Configuration] - NullPointerException when trying to use ENTITY in xml

2004-04-20 Thread yuricake
I am using JBoss 3.0.8 (I know, very old, but at the moment there are various reasons for not upgrading) I have the following problem: I have a very large ejb-jar.xml because I need to include 6 entity beans in one deployment descriptor (finders that cross bean boundaries). It is a pain to ma

[JBoss-user] [Persistence & CMP/JBoss] - CMR throws 'can only be used in transaction in which it was

2004-04-20 Thread ahardy66
I ran a few CMRs happily with transactions set to 'Required', but now I am setting only the create, update & removes to 'Required' and I set the rest via the whole class * catch-all to 'Supports'. JBoss throws the CMR exception, 'collection can only be used in transaction in which it was creat

[JBoss-user] [Security & JAAS/JBoss] - Getting login name in a jsp

2004-04-20 Thread LORDs_diakonos
I am using the below code in web.xml | | * | /* | | | * | | | NONE | | | | FORM | | /login.jsp | /loginerror.html | | My page logs in fine and goes to index.jsp. My questi

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSF General Release

2004-04-20 Thread jhowk
Got that. Now for the really dumb question... Can you go into a little more detail regarding #1? Where are the 2.0 files located and do we swap them out with those that can be found in a clean 4.0 tomcat disto? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Beginners Corner] - Re: I have a servlet and I don't know how to make it run on

2004-04-20 Thread rowla
Thanks a lot for all the replies!! It works OK:) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831662#3831662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831662 ---

[JBoss-user] [Beginners Corner] - Re: I have a servlet and I don't know how to make it run on

2004-04-20 Thread triathlon98
As url-pattern, just put "/" (without the quotes), the context-root is always added in front of that. Also, I would remove the virtual-host setting, at least for starters. This may confuse the system. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Beginners Corner] - Re: I have a servlet and I don't know how to make it run on

2004-04-20 Thread spiritualmechanic
Then you probably need to add another MyHelloWorld/. The url-pattern goes AFTER any web-app name you have. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831660#3831660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Management, JMX/JBoss] - Re: Calling a MBean from the server side.

2004-04-20 Thread thammoud
This is what we do and it works well for us. public static Object getMBean(String name) { try { ObjectName myBeanContainerName = new ObjectName(name); Object myParams[] = { myBeanContainerName }; String mySig[] = {

[JBoss-user] [Beginners Corner] - Re: I have a servlet and I don't know how to make it run on

2004-04-20 Thread rowla
in web.xml I changed for MyHelloWorld/ and now I get : Directory Listing For / Filename Size Last Modified classes/ Tue, 20 Apr 2004 20:16:32 GMT jboss-web.xml 0.2 kb Sun, 18 Apr 2004 15:48:06 GMT web.x

[JBoss-user] [Beginners Corner] - JBoss crashes when deploying hibernate project

2004-04-20 Thread victorstar
Hi, I'm trying to deploy small test project that uses hibernate and get the following in the log file: . 16:07:40,682 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext 16:07:40,682 INFO [NamingHelper] JNDI InitialContext properties:{}

[JBoss-user] [Beginners Corner] - Re: I have a servlet and I don't know how to make it run on

2004-04-20 Thread spiritualmechanic
Your url, is going to be after the MyHelloWorld.war so you'll need to add /servlet/MyHelloWorld/? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831656#3831656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831656 --

[JBoss-user] [The Lizzard's corner] - Re: Soon 100Kth post - Who is going to post it :-) ?

2004-04-20 Thread jae77
me perhaps? :) how far away are we? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831655#3831655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831655 --- This SF.

[JBoss-user] [HTTPD, Servlets & JSP] - Re: UserTransaction and Servlets

2004-04-20 Thread jurban
anonymous wrote : Does it have a JTS library It's a stock Tomcat install. What jar file should I search for to see if JTS is installed? Thanks, Jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831654#3831654 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Beginners Corner] - I have a servlet and I don't know how to make it run on JBos

2004-04-20 Thread rowla
I have a servlet MyHelloWorld.java and it compiles OK. I have a directory WEB-INF, inside there's web.xml, jboss-web.xml and classes directory, where MyHelloWorld.class is put. Listing of web.xml: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> MyHelloWorld MyHelloWorld

[JBoss-user] [Security & JAAS/JBoss] - Help fixing form-based auth that works intermittently

2004-04-20 Thread apsoto
I have a wierd issue. I have form-based auth working. It seems that when the server process is NOT shutdown cleanly (as opposed to using shutdown.sh or equivalent) the next time the server runs form-based auth doesn't accept any login attempts. If I delete the contents of the work/ and tmp/ d

[JBoss-user] [Management, JMX/JBoss] - Re: NestedRuntimeException on twiddle

2004-04-20 Thread [EMAIL PROTECTED]
Its been fixed since 3.2.4RC1, try checking the download. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831651#3831651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831651 ---

[JBoss-user] [Beginners Corner] - Re: Configuring JBoss to existing tomcat

2004-04-20 Thread span
Hi, I'm new to JBoss. I currently use Tomcat 4.1.24 with Struts 1.1, now I want to enable JBoss 3.2.3 to existing Tomcat 4.1.24. I downloaded jboss-3.2.3.zip which included Tomcat 4.1.29 and installed. I can start JBoss without problems. As I read above posted responses, I need to copy all ja

Re: [JBoss-user] [HTTPD, Servlets & JSP] - mod_jk2 version

2004-04-20 Thread Vladyslav Kosulin
meinholz wrote: Which version of mod_jk2 shoud be used with JBoss 3.2.3? Which version of mod_jk2 should be used with JBoss 3.2.4 RC1? I am using jk2 2.0.4 and apache 2.0.49 trying to connect to JBoss 3.2.3 and am having strange problems. I want to verify this combination should work. It is poss

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss security and Single Sign On integration with Oblix

2004-04-20 Thread TimHaley
"algavilan" wrote : Hi, I'm Alex and I work for Oblix. | | I am working in an implementation of a security manager which will integrate Oblix NetPoint Security Services to JBoss. I just need to understand a few things before I can get started, hopefully someone can help me. | | My idea

[JBoss-user] [EJB/JBoss] - Re: Firebird 1.5 and JBoss 3.0.4 .... Connection Pool Error?

2004-04-20 Thread triathlon98
Why do you post this on the JBoss forums? The stack trace clearly indicates that the problem is in your code. However, looking at the message, I would guess that something is going wrong with your credentials. In your -ds.xml file, have you set the correct user/password? Do you actually try to m

[JBoss-user] [HTTPD, Servlets & JSP] - mod_jk2 version

2004-04-20 Thread meinholz
Which version of mod_jk2 shoud be used with JBoss 3.2.3? Which version of mod_jk2 should be used with JBoss 3.2.4 RC1? I am using jk2 2.0.4 and apache 2.0.49 trying to connect to JBoss 3.2.3 and am having strange problems. I want to verify this combination should work. It is possible my configu

[JBoss-user] In-ear .rar deployment - possible?

2004-04-20 Thread Benjamin Cox
Hello, I have been unable to determine from my searches and reading of the documentation whether it is currently possible to deploy my .rar file inside an .ear on JBoss 3.2.3. Many posts seemed to imply that it would be "available soon", but they were from about a year ago. I thought I'd giv

[JBoss-user] [Installation & Configuration] - deploying web application

2004-04-20 Thread caesarkim
i have deployed ear file on jboss. but after i add some extra jsp files /default/tmp/deploy/tmp32839project-contents/ directory(which seems to be my project directory), if i restart the jboss app server, it deletes all jsp files that are not included in ear file and redeploy ear file. is there a

[JBoss-user] [The Lizzard's corner] - Soon 100Kth post - Who is going to post it :-) ?

2004-04-20 Thread cooper
Soon 100Kth post - Who is going to post it :-) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831644#3831644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831644

[JBoss-user] [Management, JMX/JBoss] - Re: NestedRuntimeException on twiddle

2004-04-20 Thread fchoi
Why isn't anyone correcting the classpath in the latest build? This incorrect classpath has been hanging around for a long time... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831642#3831642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Persistence & CMP/JBoss] - Re: Caching the associations

2004-04-20 Thread triathlon98
Please do not cross-post. What commit option are you using? This would be normal behaviour for commit option A. For option D there is such a timeout. For options B/C it should not happen and it could be a bug in either your code or JBoss. Joachim View the original post : http://www.jboss.org/

[JBoss-user] [Beginners Corner] - Re: EJB call through SSH tunnel (port forwarding), which por

2004-04-20 Thread Johannes
I have the same problem, do you already have a solution for that ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831640#3831640 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831640 --

[JBoss-user] [EJB/JBoss] - Re: mapping and table creating error

2004-04-20 Thread seybaa
Thanks, I have just made an experiments that is i have deploy the same ejb's on hsqldb, but the problem ocurred when deploy on oracle9i under jboss.I will investigate further more. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831643#3831643 Reply to the po

[JBoss-user] [EJB/JBoss] - Re:

2004-04-20 Thread raja05
u mite get better responses if posted in the servlets/jsp forum. Anyway, what is ur war file name? is it fibo.war? Are u sure it got deployed fine? You can lookup the jmx-console to see if it got deployed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831639

[JBoss-user] [EJB/JBoss] - Re: mapping and table creating error

2004-04-20 Thread raja05
Check the datasource-mapping tag in ur XDoclet to see if ur database is specified correctly. Also are u overriding any jdbc mappings in XDoclet? Post ur XDoclet portion of the code thats failing View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831638#3831638

[JBoss-user] [EJB/JBoss] - mapping and table creating error

2004-04-20 Thread seybaa
I have made some ejb's.witch used some xdoclet tags, when I try to deploy on jboss I get the following errors. * 20:24:54,290 ERROR [EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Error while creating table FLI

[JBoss-user] JBoss IDE Tutorial 1.2.2 flawed? (index.html DOCTYPE tag)

2004-04-20 Thread Nathan Gross
Hi; In the tutorial for the JBoss IDE, page 24 of 40, the first line for the index.html is: However this causes Eclipse to report the following FATAL ERROR: Fatal error - White spaces are required between publicId and systemId. Google returns exactly 28 hits on this search, none of them helpful

[JBoss-user] [Installation & Configuration] - Re: setting datasource(connecting to mysql) on JBOSS

2004-04-20 Thread caesarkim
thanks for the reply... i guess that i am almost there... but i got this error message... java.lang.SecurityException: Invalid authentication attempt, any idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831635#3831635 Reply to the post : http://www.

[JBoss-user] [EJB/JBoss] - Re: JDK 1.4.2 causing unmarshalling problems..

2004-04-20 Thread [EMAIL PROTECTED]
The JDK 1.4.2 has a regression in class loading behavior that does not correctly load the array class references. See the following bug on sun: http://developer.java.sun.com/developer/bugParade/bugs/4976356.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Beginners Corner] - Re: Jboss & Eclispe, debug will not start

2004-04-20 Thread raja05
"[EMAIL PROTECTED]" wrote : Hi, | | Two questions. Firstly, how do I increase the debug level for jboss (through eclispe or otherwise)? | log4j.xml in jboss_home/server/default/conf directory. There are examples as to how to set the log level for various components. "[EMAIL PROTECTED]" w

[JBoss-user] User authentication info lost in clustered sessions

2004-04-20 Thread Chris Bonham
I'm setting up clustering on a Servlet/JSP/EJB J2EE application using JBoss 3.2.2 Tomcat 4.1.27, JDK 1.4.1_04 on Windows XP Pro with Apache 1.3 and mod_jk2 for load balancing. The application uses form-based authentication and many different security constraints. I'm attempting to test HTTP sessi

[JBoss-user] [JCA/JBoss] - XAER_RMERR Error

2004-04-20 Thread aboudank
Hello, I am new to JBoss...it is great stuff...thanks for a great product and great forums. I am testing a BMP bean that has access to 2 databases using Oracle's XA driver. The test case loads a bean instance and calls an EJB method (i.e doTest shown below). After about 200 to 250 iterations

[JBoss-user] [Beginners Corner] - Re: Deploy using

2004-04-20 Thread raja05
Properties p = new Properties(); p.put"java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); p.put("java.naming.provider.url", "localhost:1099"); InitialContext jndiContext = new InitialContext(p); RMIAdaptor server = (RMIAdaptor) jndiContext.lookup("jmx/rmi/RMIAdaptor"); j

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using CLIENT_ACKNOWLEDGE does not seem to work

2004-04-20 Thread mayobria
Adrian, Thank you for the example, I have it working now. Let me ask a final question regarding JMS and CLIENT_ACKNOWLEDGE rooted in the machanics of JMS rather than specifically with JBoss's implementation. Let us say we have two MDB listening to the same queue. The message gets delivered t

[JBoss-user] [Beginners Corner] - Re: How to delete CMR child entities??

2004-04-20 Thread raja05
Im hoping u want to remove the association and not remove the Subject Entites as such(as they cud be associated to other pupils). If thast what you want, you could get the collection aPupil.getSubjectLinks; and empty the collection as aPupil.setSubjectLinks(Collections.EMPTY_LIST); View the

[JBoss-user] [EJB/JBoss] - Re: JDK 1.4.2 causing unmarshalling problems..

2004-04-20 Thread MClark00
Did you ever find an answer to this problem? I just posted a topic with the same question. Thanks, Matt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831629#3831629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831

[JBoss-user] [Persistence & CMP/JBoss] - dynamic cmp datasource

2004-04-20 Thread leishen
I have some entity beans using CMP. All the mappings between data field and table fields are specified in deployment. How can I deploy those beans such that the datasource mapping is actually specified at run time. So that I can switch database on the fly for different users. Thanks in advance

[JBoss-user] [EJB/JBoss] - "HTTP Status 500-No Context configured to process this reque

2004-04-20 Thread seanbans
I get the above error when going to the http://localhost:8080/fibo url. I followed the tutorial to the letter on two different machines and got the same result. What is the problem? Thanks. --- I can tell you what the error means, it means the application isn't deployed. I personally dislike

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Strange problem when deploy the servlet in jboss

2004-04-20 Thread kabkhan
Post the relevant bits of your jboss.xml, jboss-web.xml and web.xml files View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831624#3831624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831624 ---

[JBoss-user] [Installation & Configuration] - Re: setting datasource(connecting to mysql) on JBOSS

2004-04-20 Thread kabkhan
Datasources are bound in the JNDI namespace so have you tried looking up java:jdbc/MySQLDS or java/:jdbc/MySQLDS Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831623#3831623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Installation & Configuration] - ClassNotFoundException loading an array type using URLClassL

2004-04-20 Thread MClark00
Hi, We've got a strange problem which may be attributed to our environment, but I can't figure out why the environment woul dmake a difference. We're calling a method on a stateless session bean that takes in an ArrayList. There are two items in the ArrayList, each an array of one of our objec

[JBoss-user] [Messaging, JMS & JBossMQ] - SpyJMSException->BindException under heavy load

2004-04-20 Thread duslow
JBoss 3.2.3, W2K, Sun JVM 1.4.2-b28 On the server side, I have multiple JMS queues that have EJBs posting messages to various queues using a ConnectionFactory obtained via "java:/JmsXA". I also have MDBs attached to some of the queues firing into the EJB tier. Everything is CMT. On the clien

[JBoss-user] [Persistence & CMP/JBoss] - Re: Rolback Problem

2004-04-20 Thread kabkhan
You are throwing the wrong exception. You should generally not be creating your own RemoteExceptions (they are meant for use by Java when something goes wrong with the remote communication). This is the case in EJB 2.0 at least, maybe this was different in EJB 1.1? I can't remember. For rollbac

[JBoss-user] [Beginners Corner] - Re: jboss won't start

2004-04-20 Thread tklivan
rastas ... on my machines .. i have a dedicated user something like 'jboss' who executes the ./run.sh look out for JBOSS_HOME when the script starts .. where does it points to ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831617#3831617 Reply to t

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS_MESSAGES_PK violated

2004-04-20 Thread isotope1145
Occasionally, after a JBoss server restart we get the following exception when we send a new message: java.sql.SQLException: ORA-1: unique constraint (JMS_MESSAGES_PK) violated An investigation of the JBoss source code indicates that the messageIdCounter is reset to 0 on JMS server restart.

[JBoss-user] [Beginners Corner] - JBoss-3.2.4RC2 schedule?

2004-04-20 Thread MarcMA
Hi All, when will JBoss-3.2.4RC2 be released? Cheers Marc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831615#3831615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831615 -

[JBoss-user] [Beginners Corner] - Re: JNDI Context lookup failure with jboss 3.2.3

2004-04-20 Thread raja05
ega/Login Session com.ega.hd.HelpDeskEJB.LoginHome com.ega.hd.HelpDeskEJB.Login Shouldnt the above be something like ega/Login Session com.ega.hd.HelpDeskEJB.LoginHome com.ega.hd.HelpDeskEJB.Login I added the home and remote tags. Is this how it is in ur ejb-jar.xml, Im not sure how

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss JMS server hangs after running for an extended per

2004-04-20 Thread [EMAIL PROTECTED]
Also do you know about "Quick Edit"? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831610#3831610 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831610 --- This SF.

[JBoss-user] [HTTPD, Servlets & JSP] - Class collisions between apps.

2004-04-20 Thread kevinhanna
I'm am in the process of moving a couple applications from JRun over to JBoss. The JSP compiler is using the classes in /WEB-INF/classes for both applications. Ignoring that we should be cooperating a little more in my company. Is there a way to have the compiler not add classes from another a

[JBoss-user] [Beginners Corner] - Re: Unable to compile class for JSP

2004-04-20 Thread raja05
The errormessage says it all Generated servlet error: [javac] Compiling 1 source file [javac] javac: invalid flag: C:\Documents You have a c:\documents and settings in ur classpath and javac is not able to parse it. Either remove the documents and settings from classpath or make it suitable as

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss JMS server hangs after running for an extended per

2004-04-20 Thread [EMAIL PROTECTED]
MDBs automatically reconnect if the connection fails. Does JBoss respond to a thread dump request see "READ THIS FIRST" If not your JVM has locked up. You should also use search, where you will discover that Windows default networking configuration isn't necessarily well configured. You would al

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: setJMSExpiration() dont seem to work

2004-04-20 Thread [EMAIL PROTECTED]
The message sent to DLQ is a copy. Its only relation to the original message is that it looks similar and a couple of JBoss specific properties allow you to identity the original message (which is gone/dead/kaputt/ceased to be). View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: setJMSExpiration() dont seem to work

2004-04-20 Thread [EMAIL PROTECTED]
It is illegal to throw a RuntimeException from onMessage() read the spec. The fact that JBoss does its best to handle it, is not going to be portable to other servers. Before you ask messageDrivenContext.setRollbackOnly(); View the original post : http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [HTTPD, Servlets & JSP] - IIS Tomcat Integration error

2004-04-20 Thread chuckharris
I successfully integrated IIS and jboss/tomcat 3.2.2 but have run into an error when attempting to do the same on another pc. Both are win2k machines with IIS 5. The log in C:\WINNT\system32\LogFiles\W3SVC1 shows: 15:31:08 127.0.0.1 GET /jakarta/isapi_redirect.dll 200 which matches the pc that ha

[JBoss-user] [Beginners Corner] - Re: deploying a war with a different server/lib library dire

2004-04-20 Thread raja05
I kinda have a solution but i have not tried it yet. You can scope classloaders in jboss, lookup the jboss docs if u want an example. So what you can do is create all the jars scoped with a classloader, say A and use the same scoped classloader for all the wars as well. This way, none of the oth

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss store and forward JMS to remote JBoss on unreliabl

2004-04-20 Thread [EMAIL PROTECTED]
No the correct name is MessageBridge. It is on the TODO list waiting for a volunteer (no user questions please) http://jboss.org/index.html?module=bb&op=viewtopic&t=46193 Store and Forward is what e-mail clients do. I'm also interested in supporting this sort of "Work off-line" mode where the cli

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss JMS server hangs after running for an extended period

2004-04-20 Thread Paul_ADP
We are using JBoss 3.2.3 on Windows 2000 Server runnning Sun JDK 1.4.2, with heap size = 256M Here is the beginning of our boot log: 11:25:36,621 INFO [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc. 11:25:36,621 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-b28,Sun Microsys

[JBoss-user] [HTTPD, Servlets & JSP] - Strange problem when deploy the servlet in jboss

2004-04-20 Thread calffin
I use jboss-3.0.8 integrated with jetty as my j2ee server. I write a servlet which receive the request outside and delegate the request to the EJB which the servlet refrences. I use the remote interface of the EJB in the servlet. But the servlet is not directly with the EJB. I write a middle cla

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using CLIENT_ACKNOWLEDGE does not seem to work

2004-04-20 Thread [EMAIL PROTECTED]
Works fine for me: http://jboss.org/wiki/Wiki.jsp?page=ClientAckExample View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831597#3831597 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831597

[JBoss-user] [Installation & Configuration] - Strange problem when deploy the servlet in jboss

2004-04-20 Thread calffin
I use jboss-3.0.8 integrated with jetty as my j2ee server. I write a servlet which receive the request outside and delegate the request to the EJB which the servlet refrences. I use the remote interface of the EJB in the servlet. But the servlet is not directly with the EJB. I write a middle cla

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connection Time Out in TopicConnection

2004-04-20 Thread [EMAIL PROTECTED]
This forum does not say "Network Support Forum" Having said that, there is a post in the FAQ topic about debugging network problems. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831599#3831599 Reply to the post : http://www.jboss.org/index.html?module=bb&o

Re: [JBoss-user] [Persistence & CMP/JBoss] - Caching the associations

2004-04-20 Thread Leif Ashley
What the crap do I have to do to unsubscribe to this list??? --- mkyaj <[EMAIL PROTECTED]> wrote: > HI, > > I have a UserEntity(1) -> Surveys(m) relation. > When i am loading the UserEntity and its corresponding > Surveys, it is caching the associations somewhere. So > even if i delete the Sur

[JBoss-user] [Persistence & CMP/JBoss] - Caching the associations

2004-04-20 Thread mkyaj
HI, I have a UserEntity(1) -> Surveys(m) relation. When i am loading the UserEntity and its corresponding Surveys, it is caching the associations somewhere. So even if i delete the Survey's, it is not refreshing that. If i restart the JBOSS Server then it is refreshing. I guess there is some

[JBoss-user] [EJB/JBoss] - Caching the associations

2004-04-20 Thread mkyaj
HI, I have a UserEntity(1) -> Surveys(m) relation. When i am loading the UserEntity and its corresponding Surveys, it is caching the associations somewhere. So even if i delete the Survey's, it is not refreshing that. If i restart the JBOSS Server then it is refreshing. I guess there is some

[JBoss-user] Forum post?

2004-04-20 Thread Steven Harris
I posted on the forum to Persistence & CMP/JBoss under JBoss User at 11:20.. I see my post on the forum but nothing comes out on this list. This is the second time I've tried this. What is the problem? Anyway here is my post: A simple transaction rollback was working with hypersonic, but seems no

[JBoss-user] [Persistence & CMP/JBoss] - Rolback Problem

2004-04-20 Thread sharris
This is the second time I've posted this message on this forum. The first time it disappeared. A simple transaction rollback was working with hypersonic, but seems not to be working when we switch to mysql. Running mysql-connector-java-3.0.11 and mysql 4.0.18-0 (client and server) with JBoss

[JBoss-user] [Installation & Configuration] - Re: Client gets NameNotFoundException when using ByValueInvo

2004-04-20 Thread satishyl
Sorry false alarm. The "invoker" tag was missing in my jboss.xml file when specifying the ByValueInvokerInterceptor. Once I fixed it, its working fine. -Satish View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831584#3831584 Reply to the post : http://www.jb

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS appears to hang

2004-04-20 Thread juanma
Hello again By the way, I'm not using two or more instances of jboss. Your indicated thread doesn't apply to my problem. And yes, I've used the search tool in the right way. Nevertheless, thanks for your indication. Best regards, Juanma View the original post : http://www.jboss.org/index.html

[JBoss-user] [Installation & Configuration] - Installing Jobss for multiple Tomcat web application context

2004-04-20 Thread delaitt
Hi, I've setup a number of Tomcat web application contexts for a number students and i was wondering how to interface Jboss with the existing students Tomcat webapp contexts ? These multiple webapps are currently hosted by a single Tomcat server by definining multiple webapps in the conf/server

[JBoss-user] [Persistence & CMP/JBoss] - org.jboss.deployment.DeploymentException: Couldn't create en

2004-04-20 Thread torbengee
One reason for this error is that you probably copied an old standardjbosscmp-jdbc.xml (possibly from 3.0.x) to your new JBoss installation (JBoss 3.2.x). I don't know exactly which line causes the error, but better go the safe way and change the mappings in the new standardjbosscmp-jdbc.xml by

[JBoss-user] [Beginners Corner] - Re: Struts: 2 mal die selbe Appl. deployed, Probleme ...

2004-04-20 Thread Lviz
hello christian afaik... 2 ears ApplikationLife.ear, ApplikationTest.ear add a jboss-app.xml file to the meta-inf directory AppLife:loader=ApplikationLife.ear AppTest:loader=ApplikationTest.ear cheers L btw: try to google with [jboss loader repository] View the original post :

  1   2   >