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
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
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.
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 :
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 :
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
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
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
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
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 :
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
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
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,
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 :
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
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 :
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
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 :
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
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:
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
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 :
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
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
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 :
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
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 :
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
---
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 =
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 :
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.
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
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 :
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
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
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 :
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 :
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
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
|
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 /
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
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 :
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
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 :
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
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
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 :
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
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
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
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 :
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
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
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 :
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 :
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:
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 :
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
58 matches
Mail list logo