[JBoss-user] [JCA/JBoss] - JTA Question

2004-12-28 Thread puneetjains
Hi in JTA uses 2 phace commit protocol. if i have a single database associated with a transaction and i call UserTransaction.commit will the row immediately inserted in the database, what i understand is in 2 phase commit the final decision will be made b the TransactionManager. where i can seee

[JBoss-user] [Persistence CMP/JBoss] - Re: Mapping for Postgresql 8.0?

2004-12-28 Thread [EMAIL PROTECTED]
Could you try to find correct mapping and submit a patch? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859986#3859986 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859986

[JBoss-user] [Persistence CMP/JBoss] - Re: insert-after-ejb-post-create is broken is unknown-pk is

2004-12-28 Thread [EMAIL PROTECTED]
If primary key is generated at INSERT time and you use insert-after-ejb-post-create, this is really broken since (by the spec) the primary key value must be available after ejbCreate and before ejbPostCreate. You could use another key generating command that generates keys not at INSERT time.

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR bean.addRelation(relatedBean) failes

2004-12-28 Thread [EMAIL PROTECTED]
Do both relationships use the same foreign key in the table? If you want help post enough info to reproduce the issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859988#3859988 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Read only lock

2004-12-28 Thread [EMAIL PROTECTED]
In JBoss, instances that are in the container with commit option B will always be loaded before each method invocation if the invocation is not transactional. Accessing entity beans w/o a transaction is not recommended by the spec and by us. View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: BUG: Bean Deployment Exception

2004-12-28 Thread [EMAIL PROTECTED]
There is a bad SQL function template in type-mapping you are using in jbosscmp-jdbc.xml. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859990#3859990 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859990

[JBoss-user] [Persistence CMP/JBoss] - Re: Adding CMR fails

2004-12-28 Thread [EMAIL PROTECTED]
I will look at it. Thanks. It's possible that there was something wrong with 3.2.2 but I need to check. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859991#3859991 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859991

[JBoss-user] [Persistence CMP/JBoss] - Re: EJB Select not working

2004-12-28 Thread [EMAIL PROTECTED]
The wiki page explains why it is not the default one. This is our testsuite problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859992#3859992 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859992

[JBoss-user] [Persistence CMP/JBoss] - JBoss 4.0.1 final - I get Closing a connection for you now

2004-12-28 Thread camel
I just upgraded to JBoss 4.0.1 final from 4.0.0, and now I get Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] errors a lot -- appears to be every time a DB call is made. The app appears to work (it gets the data from the DB ok). I didn't change anything else in

[JBoss-user] [Security JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread tcherel
Agree, it was typed a little too quickly, but you should, at least, check the javadoc of the javax.servlet.http.HttpServletRequest class. getPrincipal is a method, not a public instance variable (Java 101 ...). Try request.getPrincipal().getName() instead. Thomas View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss 4.0.1 final - I get

2004-12-28 Thread [EMAIL PROTECTED]
Are you accessing the database directly using JDBC or only through Hibernate? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859995#3859995 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859995

[JBoss-user] [Beginners corner]CMP entity bean without PK class

2004-12-28 Thread john
Hi Two things actually. No three. Firstly, I'm not using JBoss, I'm using Sun's thing, but I think my question is generic. Second, how do you ppl get the whole [beginners corner] prefix to your messages? The https://lists.sourceforge.net/lists/listinfo/jboss-user site says nothing about that, it

[JBoss-user] [Security JAAS/JBoss] - Re: RMI ports and firewall

2004-12-28 Thread SebastianG
Hi, I have exactly the same problem when trying to connect to jboss through a firewall. I configured my jboss 3.2.6 server as mentioned on the Wiki. Here is my client code: Hashtable env = new Hashtable(); env.put(Context.PROVIDER_URL, myServer:1099); env.put(Context.INITIAL_CONTEXT_FACTORY,

[JBoss-user] [EJB/JBoss] - XDoclet is not generating Remote Interfaces

2004-12-28 Thread hazarinaveen
When i try to develop EJB application XDoclet is able to generate Home Interface,ejb-jar.xml,jboss.xml but it is not generating Remote Interface,and even it is not showing any errors Thanks in advance View the original post :

[JBoss-user] [EJB/JBoss] - Re: Cannot lookup after restart server

2004-12-28 Thread Lviz
hi lvhuyen anonymous wrote : Sorry for the annoyance I've made. no problem here ;) cheers L View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860002#3860002 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860002

[JBoss-user] [Installation Configuration] - JBoss Computer Telephony Support

2004-12-28 Thread svdath
Hi, Does JBoss have a CTI support.?Becuase when i am trying to deploy my application that connects to a CTI server, the server gives Java Hotspot error and crashes. I have put the required jar file[Ecsjtapia.jar] in the lib folder... PLease help -Vinay View the original post :

[JBoss-user] [Management, JMX/JBoss] - NullPointerException in JMSContainerInvoker

2004-12-28 Thread claudia
I have two applications app1 and app2. app1 contains a message driven bean app1-message-driven-bean, which depends on a session bean in app2: app2-session-bean. Dependency between the beans is registered in jboss.xml. I do this: 1. deploy app2 2. deploy app1 3. send a JMS-Message to

[JBoss-user] [Messaging, JMS JBossMQ] - Re: a problem when client access remote topic

2004-12-28 Thread lunxian
If you try to use search, you will get this as me: http://www.jboss.org/index.html?module=bbop=viewtopict=41395postdays=0postorder=ascstart=20 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860009#3860009 Reply to the post :

[JBoss-user] [EJB/JBoss] - Problem using UserTransaction timeout functionality.

2004-12-28 Thread mario202
Hi I have a SessionBean which is dealing with a remote http-webservice. Sometime the webservie is down and I need to get a timeout within a reasonable time. Therefore I implemented in my SessionBean business method a own transaction handling via UserTransaction and the TransactionTimeout

[JBoss-user] [Beginners Corner] - I can get Jboss 3 and Oracle9I work together :(

2004-12-28 Thread choco_pacs
Dear all I can not let Jboss 3 and Oracle 9i work together, after I modify the config files ,it still get error messages as following: javax.ejb.EJBException: null; CausedByException is: Failed to register driver for: oracle.jdbc.driver.OracleDriver; - nested throwable:

[JBoss-user] [Installation Configuration] - Re: NLS Charecter set issue

2004-12-28 Thread [EMAIL PROTECTED]
Vinay, this looks like an issue in the database (Localization issues). Your best bet is to look for information in the oracle world. A google query gave me a url which has a direction from a DBA: http://www.lazydba.com/oracledba.pl?0::52149 On a flip side (not related to your problem), you

[JBoss-user] [Installation Configuration] - anyone here use fourfive's web reporting ?

2004-12-28 Thread gregross524
I am new (although programming non-java for 6 years) to JBoss and cannot get this running, any help would be appreciated. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860014#3860014 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: anyone here use fourfive's web reporting ?

2004-12-28 Thread gregross524
I keep getting a bunch of errors when starting up jboss about incompletely deployed packages, etc - things just fly by on the screen after I put the fourfive.war file and directory under the server/default/deploy when i go to view the fourfive app at localhost:8080/fourfive/index I get the 404

[JBoss-user] [Beginners Corner] - 404 error msg

2004-12-28 Thread gregross524
Joined: Mon Dec 27, 2004 15:02 PM Posts: gregross524 Location: Posted: Tue Dec 28, 2004 11:40 AMPost subject: anyone here use fourfive's web reporting ? I am new (although programming non-java for 6

[JBoss-user] [Security JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
in fact i looked at it through the eclipse code completion! and i didnt get the methodname getPrincipal! But i will try this! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860017#3860017 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
Still no go! Same error request.getPrincipal().getName() Unresolved symbol View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860018#3860018 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860018

[JBoss-user] [Security JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
According to... http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html There is no getPrincipal() View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860020#3860020 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
it's request.getUserPrincipal().getName() Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860021#3860021 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860021 ---

[JBoss-user] [EJB/JBoss] - Re: XDoclet is not generating Remote Interfaces

2004-12-28 Thread mario202
Have you defined the view-type=both? Here a sample: | /** | * @ejb.bean name=ArchiveHandler | * display-name=Name for ArchiveHandler | * description=Description for ArchiveHandler | * jndi-name=ejb/ArchiveHandler | * local-jndi-name =

[JBoss-user] [Persistence CMP/JBoss] - Re: BUG: Bean Deployment Exception

2004-12-28 Thread abcolson
Hi Alex, Yes, I downloaded the source and tracked it down to a SQL problem but it looks fine. In my test servlet I only use the User ejb (although I have defined a few others, one of which has a relation with User). Here is the relevant data: Stack Trace: anonymous wrote :

[JBoss-user] [Persistence CMP/JBoss] - JBoss-QL

2004-12-28 Thread mikelupu
I need to use JBoss-QL to write some EJB-QL statements that support aggregate functions like SUM, MAX, COUNT etc. and I?m badly stuck. I am currently using JBoss 3.2.2 which does not support EJB2.1 so I?m left with no choice other than using JBossQL for aggregate function in ejbSelect methods.

[JBoss-user] [HTTPD, Servlets JSP] - Re: JSTL/JBoss/JSP error

2004-12-28 Thread jlauman
Scott: Thanks for your reply. The exception is coming from a custom tag library that I use for scheduling. This code works fine in v3.2.7 but not in v4.0.1. I tried several different combinations in the 'properties-service.xml' file, all of which generated mbean errors. I don't have a clue

[JBoss-user] [Persistence CMP/JBoss] - Re: insert-after-ejb-post-create is broken is unknown-pk is

2004-12-28 Thread zorzella
This is, indeed, a problem: does that mean spec prevents me from using IDENTITY PKs with NOT NULL foreign keys? So, is there any way to have the foreign key set at ejbCreate rather than ejbPostCreate (other than not use CMR)? Zorzella View the original post :

[JBoss-user] [Performance Tuning] - Defining entity bean methods results in slower execution. W

2004-12-28 Thread jsimone
I am using JBoss 4.0RC2, MySQL 4.1.7, Sun JVM 1.5. I have the following test which does one create and then 1000 gets : public void testCreateOnceAndRepeatedlyRead() throws Exception { | String cid = _confMgr.addConference(DTOGen.conference(1)); | String eid

[JBoss-user] [EJB/JBoss] - InvalidClassException on jboss 3.2.5, but not on 3.0.6

2004-12-28 Thread [EMAIL PROTECTED]
Hi folks. I'm doing a JNDI lookup over HTTP from an applet. It works fine on jboss 3.0.6, but not on 3.2.5. I'm not sure about 4.0, because none of our customer base uses 4.0 yet. I have an absolutely stock (from the pay docs) jndi.properites file for the server-side stuff, exactly as

[JBoss-user] [Beginners Corner] - How to import an existing .EAR file to JBoss IDE

2004-12-28 Thread vvettiya
Any idea how to Import an existing .EAR file to JBoss IDE. I have exported an .EAR file (with the source code) from Websphere. I would like to import (with the source) this .EAR file to JBoss IDE. How do I do it? Anyone knows? Thanks View the original post :

[JBoss-user] [Beginners Corner] - Re: I can get Jboss 3 and Oracle9I work together :(

2004-12-28 Thread jonathan.barnes
I think you have to copy the Oracle JDBC jar into the *jboss-server*\*deployment-directory*\lib directory. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860042#3860042 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: jboss-web.xml and virtual-hosts

2004-12-28 Thread wiley173
Hello, thanks for the help. I tried that but it does not work. Does it work for you? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860043#3860043 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860043

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException on jboss 3.2.5, but not on 3.0.6

2004-12-28 Thread [EMAIL PROTECTED]
The InvokerInterceptor class has changed in 3.2.5 and is incompatible with the 3.0.6 version as indicated by the different serialVersionUIDs. | [EMAIL PROTECTED] Releases]$ serialver -classpath jboss-3.2.5/client/jbossall-client.jar org.jboss.invocation.InvokerInterceptor |

[JBoss-user] [Beginners Corner] - Re: jboss-web.xml and virtual-hosts

2004-12-28 Thread wiley173
This is what my jboss-web.xml looks like... ?xml version=1.0 encoding=UTF-8? jboss-web context-root / virtual-hostwww.mysite.tld/virtual-host virtual-hostmysite.tld/virtual-host /jboss-web I've also tried ?xml version=1.0 encoding=UTF-8? jboss-web context-root /

[JBoss-user] [Persistence CMP/JBoss] - How to convert JAWS joins to JBOSS-QL

2004-12-28 Thread fbiaggi
Hello, searched but very difficult to find, how can I convert a jaws finder like (no CMR's): anonymous wrote : , MySub... to a joboss-ql like: jboss-qlselect object(h) from Myhead AS h, MyUsb AS s where Error: org.jboss.deployment.DeploymentException: Error compiling JBossQL statement

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException on jboss 3.2.5, but not on 3.0.6

2004-12-28 Thread [EMAIL PROTECTED]
Scott, So you mean that I just need to include a newer library jar? How quaint. Your posts are just as short and to the point as your classroom teaching. I took a seminar that you helped teach a couple years back. Thanks. View the original post :

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException on jboss 3.2.5, but not on 3.0.6

2004-12-28 Thread [EMAIL PROTECTED]
Yes, the newer client jars is needed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860052#3860052 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860052 --- SF email is

[JBoss-user] [Installation Configuration] - Re: Starting JBoss in default mode

2004-12-28 Thread mveitas
If you want to run the default server configuration, just execute the run.bat or run.sh. If you want to run a specific server, use run.bat -c all/default/minimal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860054#3860054 Reply to the post :

[JBoss-user] [Beginners Corner] - AXIS+JBOSS.....NET?

2004-12-28 Thread empress101
Does anyone know of a good tutorial for absolute beginners on how to set up, and use axis? I am a frustrated beginner on this subject. I have spent many hours on the internet and in book stores trying to find a work written for the true beginner. Many sources i have found claim to be

[JBoss-user] [EJB/JBoss] - Scoped class loading on 3.2.4

2004-12-28 Thread dlsills
I have tried everything I can think of / read about / guess at to enable scoped classloading in my applications. The particular application I want to do this for is the Axis 1.2 standard distribution, placed in an exploded EAR file with the necessary application.xml. I don't see why the fact

[JBoss-user] [Installation Configuration] - Re: Jboss-3.2.5/Struts/Tiles Deployment Error

2004-12-28 Thread tivers
I am seeing the same issue when attempting to upgrade from 3.2.1 to 3.2.6 (or TC4 to TC5) on Solaris. The posts are so old - someone must have found the answer. Can someone shed light on this issue for me? Thanks in advance. -Tom View the original post :

[JBoss-user] [EJB/JBoss] - Re: Error reconnecting SessionBean

2004-12-28 Thread wcydaip
Hi all, I get the same error trying to recreate a Stateful Session EJBObject from a cached handle. To re-read the object I use the following: byte[] bytes = new String(id).getBytes(); java.io.ByteArrayInputStream io = new java.io.ByteArrayInputStream(bytes); java.io.ObjectInputStream os

[JBoss-user] [Messaging, JMS JBossMQ] - Cannot send a message to a queue

2004-12-28 Thread chrismalan
First of all, this works on my machine at home. The problem is with the same web-app deployed at alacrtejava. The exception is: 03:03:40,106 WARN [NamingContext] Failed to connect to localhost:1099 javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root

[JBoss-user] [Installation Configuration] - Re: upgrading from 3.2.3. To 4.0.1 or 3.2.6 ?

2004-12-28 Thread goldrimtang
anyone? please? :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860062#3860062 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860062 --- SF email is sponsored by - The

[JBoss-user] [HTTPD, Servlets JSP] - Re: Unparseable date

2004-12-28 Thread jlauman
This is show stopper. Does anyone know how to fix this problem? It apparently only affects v4.0.x. It seems to affect any call to java.util.Date in a jsp page. Thanks, Jack View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860067#3860067 Reply to the post :

[JBoss-user] [The Lizzard's corner] - Re: where should i place jar while is common to web and ejb

2004-12-28 Thread [EMAIL PROTECTED]
Hi, Thanks for your reply. Now its working fine. Regards, Hari View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860068#3860068 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860068

[JBoss-user] [HTTPD, Servlets JSP] - JSP Compiler error

2004-12-28 Thread svdath
Hi, I have the following piece of code in my JSp: jsp:include page = '%=WSSUtils.JSP_COMMON_PATH+SLA.jsp%' jsp:param name=FORM_NAME value=document.frmSubmitServiceRequests / jsp:param name=SELECTED_SERVICE value='%=eCRMRequest!=null?eCRMRequest.getParameter(setService):null%' / jsp:param

[JBoss-user] [Management, JMX/JBoss] - Getting the Host Name and Port No. in the application

2004-12-28 Thread kiran12345
Hai All, I need to get the host name and port no in the application which is deployed as a ear file. In weblogic, I'm getting it using ApplicationLifecycleListener(its Weblogic API). I need it in JBoss. Regards, Kiran12345. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Programmatically undeploying applications using EARDeplo

2004-12-28 Thread kiran12345
Hi, I'm also facing the same problem. How did you solve this problem. Can you please explain it of how you have done so that I too can do it. Regards and Thanks, Kiran12345. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860073#3860073 Reply to the post :

[JBoss-user] [EJB/JBoss] - error in configuring jboss for mssql server 2000

2004-12-28 Thread anuradhan1975
Hi, Im getting this error when I configure jboss for mssql server200. MBeanException: org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (org.jboss.util.NestedS QLException: Could not create connection; - nested throwable: (java.sql.SQLException:

[JBoss-user] [HTTPD, Servlets JSP] - Re: Need hostname and port number and context path at startu

2004-12-28 Thread kiran12345
Hai, I'm also facing the same problem. Can you please tell me how did you solve this problem. Thanks and Regards, Kiran12345. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860075#3860075 Reply to the post :

[JBoss-user] [Installation Configuration] - JBoss 4 and JSTL 1.1

2004-12-28 Thread fcorneli
In a previous posting 'Standard taglib with jboss 3.2.3, tomcat 5' someone suggested to set, in the Tomcat 5 SAR, in jboss-service.xml, UseJBossWebLoader to false. Now JBoss 4.0.0 comes with a default false for this attribute. But shouldn't it be set to true when you want to install JSTL