Hi again,
Ok, the clue was that the Entity container does implement ejbHome methods
but not the Session containers. I checked out the Sun javadoc for
javax.ejb.EJBHome and there it is in black and white ...
'Session Beans do not have finders and home methods'
Sorry to have wasted
Title: Running different versions of a webapp
Hi,
What's the best way for running different version of the same webapp on 1 JBoss server?
Same question for running different versions of EJBs, but I think JNDI can help us out there, right?
Any tips and/or tricks?
Thanks a lot!
-Wonne
k, hopefully i'm real close now... any other jboss 3 / struts 1.1 users out
there that can help?
someone on the struts list reminded me that the struts.jar belonged in the
app.war's web-inf/lib folder, not as a peer to the app.war. that could
theoretically solve the problem with the getResource
Hi guys,
I met the same problem as Gray, though I can't say the cause is the
same. I had many experiments with primary keys, transactions and so
on. And finally I gor it working just changing the vm.
My buggy environment: Win2K, JBoss-3.1.0alpha (haven't tried others),
Sun's jdk1.3.1_01.
After
Hello Brian,
Tuesday, July 09, 2002, 11:06:58 AM, you wrote:
BT k, hopefully i'm real close now... any other jboss 3 / struts 1.1 users out
BT there that can help?
I use 1.0.2 for now.
BT someone on the struts list reminded me that the struts.jar belonged in the
BT app.war's web-inf/lib
Use scoped ears. Search jboss-user, or release notes for 3.0 final for details.
On Tue, Jul 09, 2002 at 10:02:17AM +0200, Keysers, Wonne wrote:
Hi,
What's the best way for running different version of the same webapp on 1 JBoss
server?
Same question for running different versions of EJBs,
Hi,
I have been struggling for a long time with the fact that our use of Log4J
conflicts with JBoss's. Because my concentration is on other areas and not
on logging I have been completely disabling our application's logging when
testing on JBoss rather than trying to figure out how integrate with
Either stay in the same vm or use ListDeployedAsString
david jencks
On 2002.07.09 01:20:23 -0400 Jagan wrote:
Hi All,
I am using JBoss3.0.Here i implemented the following code and i get the
following exception.
try {
Although this problem really troubles me I doubt it is a VM problem. I am
reluctant to investigate this further because the other 2 times somebody
reported this bug to me it was user error(but Gray's case doesn't sound like
the other two). I will run a test eventually to see if I can uncover
I have a struts project working with JBoss/Jetty. I have the struts jars in
server\all\lib. My ApplicationResource.properties is in
server\all\deploy\xxx.ear
- Original Message -
From: Alex Loubyansky [EMAIL PROTECTED]
To: Brian Topping [EMAIL PROTECTED]
Cc: Jboss user list (E-mail)
Hi,
i wrote a simple EntityBean with CMP2. it's implemented like the
GangsterBean from the JBoss CMP sample. And i have created a new
Datasource to my SAPDB Database. I put a sapdb-service.xml in
the deployfolder.
Everything worked fine, but my GangsterBean always uses the DefaultDS
and not my
I've been running with 1.4 so I don't think its a vm problem. I was
thinking about going the other route and trying it with 1.3 instead.
I would be willing to try and trim my stuff down and see if I can come up
with a tidy little test case if I can. Our code is using castor jdo so it
might be
I think that might be due to the DOCTYPE you're using in one of your
deployment descriptors perhaps? Make sure your deployment descriptors
are for CMP 2.x, and not a lower version.
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN
You mean write a test case that exposes this problem? That would be cool...
-Original Message-
From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 9:31 AM
To: Bill Burke
Cc: [EMAIL PROTECTED]
Subject: Re[2]: [JBoss-user] help with bean lock/transaction
BB You mean write a test case that exposes this problem? That would be cool...
Yes. No problem. I'll do it. But it'll reproduce my cause for the
problem.
alex
-Original Message-
From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 9:31 AM
To: Bill Burke
Hi Ingo Vietense,
IV Can you help me.
it looks like an error in the deployment descriptor. But you have not
send some info so i can not see.
Please post the version (jboss, jdk, os, etc) and the deployment
descriptors
best regards
Ingo Bruell
---
Last week l posted a problem binding an MS SQLServer 2000 datasource in
JBoss 3.0. Brian's description of his Oracle problem looks the same as my
SQL Server problem. I would like to apply this solution to my problem but I
dont understand this solution. Did you put the oracle-service.xml file in
Hi all,
I have a very small question about jndi.properties files with jboss.
In the old IntererstClient example code there is a jndi.properties
file with the comment:
#do not uncomment this line as it causes in VM calls to go over RMI
#java.naming.provider.url=localhost
I'm just trying to
I've searched the JBossBook_24x.pdf and JBoss.3.0QuickStart.pdf for
jboss-app.xml. No hits. What is it, where does it live and what goes in it
to make your solution work?
Thanks
- Original Message -
From: David Jencks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 08, 2002
Regarding your NoClassDefFoundError for ActionForm
BT java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
BT at java.lang.ClassLoader.defineClass0(Native Method)
BT at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
...
I had this problem last week
Title: Binding external LDAP into jboss 3.0 JNDI name space
Hi,
I have been struggling with this problem for last two days. If anybody there can give me some hints, it will be greatly appreciated!
The Jboss 3.0 is installed on Windows 2000.
I am following the Jboss document for
Hi
I'm trying to deploy multiple db2 services using JBoss 3.0.0
When I copy the example db2-service.xml and drop it into the deploy
directory everything is ok
?xml version=1.0 encoding=UTF-8?
!--
--
!--
You'll also need different descriptors for the two versions, to map each
to the proper database and to bind to different JNDI names.
danch
[EMAIL PROTECTED] wrote:
Use scoped ears. Search jboss-user, or release notes for 3.0 final for details.
On Tue, Jul 09, 2002 at 10:02:17AM +0200,
I have struts 1.1b working with JBoss-3.0.0/Jetty
struts.lib (and all the related jars) in WEB-INF/lib
and
ApplicationResource.properties in WEB-INF/class
of my .war archive
Cheers,
Frank
-Original Message-
From: Jamie Burns [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002
The comment prolly doesn't make sense when found in the jndi.properties file for a client, but
overall the jndi.properties file is used by the InitialContext class to create a context (if it can find
it). Look at the API docs and it will explain it.
rp
Oisin Kim [EMAIL PROTECTED]
Sent
It goes in an .ear next to application.xml and looks like this:
?xml version=1.0 encoding=UTF-8?
jboss-app
module
serviceversantjca-service.xml/service
/module
module
serviceadmintools.sar/service
/module
/jboss-app
You can also use it to specify the classloader space for the
Sure, just be sure all your file names are like xxx-service.xml. You can
also put both db configs in one db2-service.xml file
david jencks
On 2002.07.09 10:15:23 -0400 [EMAIL PROTECTED] wrote:
Hi
I'm trying to deploy multiple db2 services using JBoss 3.0.0
When I copy the example
Hi,
A very basic but I believe helpful request:
A section on deploying applications, specifically the purpose of the 3
'servers' now delivered with JBoss. I understand from the Quick Guide that
server/all should be used when clustering but what about server/default and
server/minimum? As an
When I deploy this i get a message
[MainDeployer] Deployment of package:
file:/tmp/install/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/test.xml
is waiting for an appropriate deployer.
Is it possible to deploy multiple database services in this way and if so
what am I doing wrong?
To add clustering to the other two pre-config'd servers, you will need
to have jbossha.jar in it's lib subdir and cluster-service.xml in it's
deploy subdir. You put your ear file in the deploy dir of whatever
server you want to start up (via run.sh/bat -c servername).
To your question, the
Where do the versantjca-service.xml and admintools.sar live in this example?
In the .ear or in server\xxx\deploy?
- Original Message -
From: David Jencks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 4:08 PM
Subject: Re: [JBoss-user] OracleDS binding on 3.0.1RC1?
see Explain this Java2ClassLoadingCompliance JMX attribute to me in
this FAQ:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEADcontent-type=text/vnd.viewcvs-markup
The Java2ClassLoadingCompliance attribute may be set in
jetty-plugin.sar/META-INF/jboss-service.xml
- Original Message -
From: Jules Gosnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 4:09 PM
Subject: Re: [JBoss-user] Showstopper Undeploy Problem??
Frank Morton wrote:
More detail that may change your mind on the diagnosis.
In addition to a jsp directory
Hi,
I installed JBoss-Catalina 3.0.1 and started JBoss. JBoss came up okay. I
went to http://localhost:8080 and I got the following error:
HTTP STatus 500 - No Context configured to process this request.
Does anyone know how to resolve this?
Thanks,
Fee
Great to hear that. Excellent. You may want to look into using XDoclet
for code generating your deployment descriptors. I've been happily doing
so for months now without needing any manual intervention, avoiding this
kind of finger error.
Cheers.
-Neal
Hi Neal,
thank you for your quick
Hi Fee,
This problem happens because there is not a default context,
To solve this, put a .war file into deploy directory and access it by URL.
For example, if your .war file is named root.war, you can access it typing:
localhost:8080/root.
Hugs,
Emilio Numazaki
Analista de Sistemas - NDS
*
Using JBoss 2.4.4 + Jetty, I can deploy an unpacked, expanded directory by pointing the
autodeployer in the jboss.jcml to that particular directory. I try the same thing with JBoss 2.4.7
+ Tomcat (Catalina) 4.0.4 and it doesn't work at all !!
It appears to be deployed - the log file indicates
I wrote a JMS based Workflow engine. When JBoss gets a message, it looks up
what do do in an XML file and does those things (tasks) one after the other.
It works almost exactly like ANT targets.
One of the tasks it does is to ftp a file. Recently a file needed to get
ftp'd that was close to
Hi David.
I have not updated in about a month. Bad me. I will update and retry...
-Steve
David Jencks wrote:
Are you using a cvs version? I recently fixed a bug with the UserTx from
the ejb context not enlisting connections.
david jencks
On 2002.07.08 11:39:30 -0400 Stephen Davidson
First Question:
What would be the easiest way to interigate a cluster
and find out how many nodes it has as well as the
ip addresses of the nodes?
I have four machines started, but for some reason
I suspect not all of them joined the cluster, and
I wanted a way to count the number of nodes and
Hi David.
I update 3.0.1 to the latest in CVS, and now I can't deploy. I get an infinite loop
trying to deploy my ear file. Three of my jars, HRXAdmin.jar, HRXSecurity.jar, and
HRXCommon.jar, are looping back
on themselves during deploy. I think you may have copies of these files from an
I am used to the tomcat way of deploying Root.war in the webapps directory,
and accessing it at http://servername:8080 but when I put a war in the
default/deploy directly, as you know, I have to type
http://servername:8080/Root to get to it. How do I implement a root
directory? Is this in a
Hi,
You can add in the server.xml file the following lines:
Context path= docBase=yourwarfile
debug=0 privileged=true/
By doing this, you are going to put your web application as a root
directory
[]'s
Tânia Ramos
Analista de Sistemas - NDS
* [EMAIL PROTECTED]
Fóton® Informática e
If you could get a reproducible test case that would be cool. Otherwise
there's not much I can do.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
Sent: Tuesday, July 09, 2002 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] help
The only way I have found to do that is instead of deploying a war file, deploy
an ear file. In the descriptor of the ear file you can map / to your war
file.
display name wrote:
I am used to the tomcat way of deploying Root.war in the webapps directory,
and accessing it at
Sorry,
That won´t work using jboss and Tomcat together...
It only works using only Tomcat
Another sugestion???
[]'s
Tania Ramos
-Mensagem original-
De: Tania G. Ramos [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 9 de julho de 2002 17:39
Para: '[EMAIL PROTECTED]'
Assunto:
Sorry,
That won´t work using jboss and Tomcat together...
It only works using only Tomcat
Another sugestion???
I think it was posted in the past that all you need to do is name your
.war file ROOT.war or something like that If you can get to the
archives, it was discussed last
Root.war is very different than ROOT.war. JBoss wants ROOT.war.
Unfortunately, on Windoze, you cannot rename Root.war to ROOT.war in
Windows Explorer. Go to a cmd terminal (just to be safe), first rename
it to foobar.war, than to ROOT.war.
You do have two other methods, though.
1) Add a
Shawn, Alex, Jamie, Frank, Jules:
Thank you very much for your input. Hidden very silently in my ejb was a
form, and i believe Shawn hit it on the head with the email that trails this.
I wanted to respond simply to have a record of the solution in the archives.
In the black art of OSS
Hello,
The following code hangs because it first calls an entity bean instance's method that has "Required" attribute and then calls the same instance's method that has "RequiresNew" attribute. The 1st transaction is blocking the second one.// the following code hangsclass SessionBean {public void
I'm trying to run the project template and noticed
2 problems so far:
1) I had to change a reference to web-inf to
WEB-INF in the build.xml file (apparently fixed now)
2) When I load the web page I get the following
error:
15:19:26,675 ERROR [STDERR]
javax.naming.NameNotFoundException:
Marking a method as RequiresNew, does not mean that the method is
read-only, it just means that a new transaction must be started. Since the
entity bean is already in a transaction the second call with hang. With
JBoss 3.0, you can now define read-only methods, but I warn you, your test will
Starsinic, Frank wrote:
It looks like JMS timed out because the FTP was taking so long and started
the process all over again which ended in an infinite loop.
Is there a way to increase the timeout for JMS messages?
Not sure about JMS, but if your timeout is a transaction
timeout, you can
I am trying to define the context root of an
application without including it in an ear file. Is
this possible in JBoss/Jetty? About two weeks ago
someone on the list recommended not packaging an
application into a war to deploy, but instead placing
an unzipped directory (that would be your war)
Get over the mental hurdle of thinking of deploying an unpacked war as
different from a packed one - they should be treated in exactly the same
way. Unpacked is just more accessible (for development) than packed (for
production).
If you want to set your application context either:
1. deploy
There was a major performance increase in the 4.1 line of Tomcat, and I wondered if
the JBoss gang was going to create a jboss 3.1/tomcat4.1 package any time now. That
would be one killer stack.
regards,
Matthew
---
This sf.net email is
What is the best way to keep a object bound in memory for stateless session bean use?
Specifically, I have a java.security.Key that I need to make available to very
specific stateless session bean.
Since the key is the private RSA key for the credit card database, I do not want to
put it in
In the .ear. They are jboss specific deployment units you can put in an
ear, like the j2ee ejb.jar, .rar, .war, etc. If you put them in
server/[config]/deploy they will get deployed, but not as part of an .ear
and with random ordering unless you change the file names to start with a
number.
Thanks Bill. A few more questions:
1. Will it work if method1 is read-only and method2 is not? (I guess)
(The following question is not directly related to the 1st one)
2. My DB has an isolation level of READ_COMMITTED. Is there a way to enforce SERIALIZABLE at app server level? And if yes, does
I meant "optimistic and pessimistic concurrency" not "optimistic and pessimistic locking"..
Alice Ad [EMAIL PROTECTED] wrote:
Thanks Bill. A few more questions:
1. Will it work if method1 is read-only and method2 is not? (I guess)
(The following question is not directly related to the 1st
How about using an entity bean against a separate data source pointing at a
memory DB such as hypersonic? You could configure it not to cache, then when
the process died, your single data entry would go with it. To prime the db,
the operator would hit an operator page that also had access to
Hi,
We're expereincing a problem with JMS, which is kind
of serious.
We have two clients. One sends a message. Another one
is supposed to receive the message.
First, bring up the jboss and client sender. Then stop
jboss. Start jboss again and client receiver. We
expected the client receiver
62 matches
Mail list logo