Not sure about MySQL, but Oracle has a configuration value on its side for
how long a connection can remain idle before Oracle closes it automatically.
You can (1) ask you DBA to change this value, which they probably won't do,
or (2) change you pool setting so that the idle timeout is less than t
We're working on it. I'm not sure Jason's changes fixed all the problems.
The weird thing is my changes worked for me once on 3.0
david jencks
On 2002.05.22 22:04:33 -0400 Stephen Coy wrote:
> The relevant source file "LocalManagedConnectionFactory.java" has both
> David Jencks and Jason
The relevant source file "LocalManagedConnectionFactory.java" has both
David Jencks and Jason Dillon's footprints on it in the last couple of
days. I guess we'll have to wait for one of them to respond.
On Thursday, May 23, 2002, at 11:39 AM, Hunter Hillegas wrote:
> Is this bug legit?
>
> Th
That's a really old message to base any conclusions about current code on.
I believe, also not having checked recently, that archives="*" is your only
choice for wildcards. That is how it was the last time I touched the code.
david jencks
On 2002.05.22 20:39:00 -0400 Frederick N. Brier wrote:
Are you sure that it is RC3?
I got this problem with CVS Branch_3_0_0, but it went away when I
reverted to JBoss_3_0_0_RC3.
Have raised bug report 559441 for it.
On Thursday, May 23, 2002, at 11:03 AM, Hunter Hillegas wrote:
> I updated to RC3 and I got my datasources to deploy without any
Both the 2.4 and 3.0 connection pools have an idle timeout setting to take
account of this kind of behavior. Its obvious how to use in 3.0, but I
can't remember all the other settings you have to do for 2.4.x. You can
find out if you search the archives enough.
david jencks
On 2002.05.22 19:52
Is this bug legit?
This is exactly what I am seeing.
-- Forwarded Message
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Wed, 22 May 2002 18:21:26 -0700
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] [ jboss-Bugs-559441 ] Local DB Connections broken
Bugs item #559441, was opened at 2
I updated to RC3 and I got my datasources to deploy without any exceptions.
An EAR that uses one of the datasources is able to lookup the datasource via
JNDI but not actually use it... I get this exception later in deployment:
18:00:30,581 ERROR [EntityContainer] Initialization failed
org.jboss.d
I found the below message in the jboss-development list, but wasn't sure
whether the wildcard symbol "*" referred to a total wild card or a
partial. So in the jboss-service.xml within a .sar, a element
with an attribute such as archives="*-app.sar" would make the current .sar
dependent on an
I have a problem where the connection pool is getting closed after
sometime of inactivity. "sometime" is still being investigated but
generally if I leave jboss server running overnight, next morning the
connectionis gone and nothgin can be run until jboss is restarted and
connection pool is r
Hi,
I know it doesnt belongs to this mailing list but maybe someone can help.
How can I access the InitialContext of Tomcat from whithin an external java
programm?
Many Thanks!
___
Don't miss the 2002 Sprint PCS Application Develop
Basic free and code examples will ship with 3.0. We're working on it.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Prabhakar
> Chaganti
> Sent: Wednesday, May 22, 2002 4:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Jboss 3.0 How-To
Emerson Cargnin - MSA wrote:
>>I got the impression that the original post was for an ISP environment,
>>
>
> no, i'm working in defining an developing environment for a froup of about
> 40 developers, so we can't afford bying a big machine for each one : )
>
It doesn't really take that much. I
Yes, JBoss supports clustering now.
http://www.jboss.org/developers/jboss-jbossClustering.jsp
JBoss clustering only requires some additional configuring of the deployment
descriptors.
Bill
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of bryan han
Hi Rahul.
That last error suggests to me that you are trying to access a ResultSet after you
have closed the connection. I have had 500+ users hitting a single server
simultaneously, with each hit requiring
1-3 separate connections to the database. JBoss was able to handle this w/o a
proble
> I got the impression that the original post was for an ISP environment,
no, i'm working in defining an developing environment for a froup of about
40 developers, so we can't afford bying a big machine for each one : )
> which is why the separate vm's make sense to me. But I agree that for a
I bought the Sams book. Goes into detail about installtion and configuration
of JB.
-prabhakar
On Tuesday 21 May 2002 11:13 pm, Holten Norris wrote:
> Hello -
>
> I'm wondering where I might find a basic Jboss 3.0 how-to type README
> file which explains basic stuff like how to set up my envi
I like to apologies for cross posting here but
wasn’t quiet sure where this really belonged. Someone posted a question
to the Cape Clear bulletin board wondering how to
integrate CapeConnect Web Services server with the JBoss application server? I
have reproduced here a brief howto to
On Wednesday 22 May 2002 20:21, you wrote:
Hi,
> By public demand we will now distribute a subscription CD.
Any plans of offering this without the 'support' option and training
discount, for a cheaper price, so those of us with smaller pockets can still
contribute to the cause?
Phil
--
Li
right...
it costs $1000 per year,
and we start this program with an ooops
marcf
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of James
|Ward
|Sent: Wednesday, May 22, 2002 1:25 PM
|To: [EMAIL PROTECTED]; Jboss-User@Lists.
|Sourceforge. Net
|Subject:
Actually, the problem was that a new build over-wrote the file... I just had
to copy it back in place... G...
I actually think the docs are fine... If you start with those examples and
actually read, it is pretty hard to miss...
Now I have some other connection refused problem... Arg..
Great Idea!!!
How much does it cost?
-James
> -Original Message-
> From: marc fleury [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 22, 2002 2:22 PM
> To: Jboss-Development@Lists. Sourceforge. Net; Jboss-User@Lists.
> Sourceforge. Net
> Subject: [JBoss-dev] CD SUBSCRIPTION
>
> Folk
You didn't set up an entry in login-conf.xml to match the names of the
security stuff in your *db*-service.xml file.
Did you start with the rc3 examples from docs/examples/jca?
Can you suggest clearer wording in these files? Writing instructions does
not seem to be my strong point.
david jenck
Folks,
By public demand we will now distribute a subscription CD. This CD is meant
for people who don't want to wait for large downloads to complete from
SourceForge and want the latest and greatest of JBoss delivered to their
door every 3 months directly from JBossGroup. Don't wait to take advan
Okay... I got my connections to deploy properly once I adapted my db-service
files and my login-conf.xml file...
Anyway, I am now getting this when deploying my EAR:
org.jboss.deployment.DeploymentException: Error while fixing table name; -
nested throwable: (java.sql.SQLException: ResourceExcep
Thanks David!
I love the first chapters already :-)
Regards,
Michael
- Original Message -
From: "David Ward" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 10:06 PM
Subject: Re: [JBoss-user] incrementing primary key in CMP
> Michael,
>
> Read chapter five
Hi All
I am getting a warning while deploying the ejbs in JBOss. Can anyone please
help?
Bean : OrgMgr
Method : public abstract OrgMgr create() throws CreateException,
EJBException, RemoteException
Section: 6.10.6
Warning: The method return values in the home interface must be of valid
types f
Michael,
Read chapter five of this (downloadable pdf) book:
http://www.theserverside.com/books/EJBDesignPatterns/index.jsp
It gives you a few options. You will need an account (it's free) at
theserverside.com.
Hope this helps,
David
--
Michael Delamere wrote:
> Hi,
>
> Could someone please
Hi,
Could someone please tell me what the best way is to increment an id in a
table. Is this the job of the entity bean to get the max() value and then
make the insert or how should this be done.
Any help would be appreciated.
Thanks,
Michael
I get the exception below when deploying an ear on RC3... Any ideas why? Has
some part of the security framework changed since RC1 that would cause this?
12:23:49,458 ERROR [UsersRolesLoginModule] Failed to load
users/passwords/role files
java.io.IOException: Properties file users.properties not
On Wednesday 22 May 2002 18:59, you wrote:
Hi,
> > I have a web app that works fine under standalone Tomcat, and I have
> > tried moving it to Jboss 2.4.6/Tomcat 4.03, but putting it in an *.ear
> > file, it can't find the javax.sql.datasource class.
> >
> > Looked around the JBoss Libraries, an
When i started to use jbosscmp-jdbc.xml it started to give errors when
deploying, the only solution was putting the following jboss especific
xdoclet tag in the EJB :
* @ejb:interface-method
* @ejb:relation
* name="municipio-praca"
* role-name="PracaEJB"
* @jboss:relation
* related-pk-field="oid"
Apparently something had changed since RC1 (I skipped RC2)...
I get this message at deployment of my EAR:
Error: can't find data source: java:/MyRecords; - nested throwable:
(javax.naming.NameNotFoundException: MyRecords not bound)
The only thing I changed in my postgresql-service file was to r
responding to my own post...
looks like my datasources didn't deploy correctly, even though there was no
error or exception thrown when they were deployed.
I'll check against the latest db service sample files to see if there is
something there...
hunter
__
Stacktrace is required to proceed.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Phil Shrimpton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 12:07 PM
Subject: [JBoss-user] C
Apple's OSX VM already does.
> I expect that Java VM's will soon start using some kind of shared-memory
> system. Something like Web browsers use to track session cookies, graphics
> and the like. If they do not already have this functionality.
>
> At the very least, this would shave several seco
Dan Christopherson cried:
> If you're in an ISP/ASP environment where your control of the running
> code is limited, I suppose I can see it, but it really pains me to see
> people running one vm per application when the apps are developed
> in-house.
I feel your pain. :)
I got the impression tha
Emerson Cargnin asked:
> If I took the multi-virtual-ip (aliases) approach, how do I set each
> instance of JBoss to use each virtual ip, instead of the primary ip ??
"Read the source, Luke!" :)
Actually, JBoss will open ports on all interfaces if you do not assign it to
a specific IP.
Unfortu
Lucas McGregor suggested:
> I think that you can set the known port to 0, and it will tell the server
to
> pick a random port.
I know about 'anonymous' ports, which should work in theory. (AFAIR this is
a feature of the java.net package?)
But I never tried it. I think it was because we needed a
Show the full log of the jar deployment. If the jar is something you
can post to SourceForge open a bug and attach the jar.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Graham French" <[EMAIL PROTECTED]
Hi,
I have a web app that works fine under standalone Tomcat, and I have tried
moving it to Jboss 2.4.6/Tomcat 4.03, but putting it in an *.ear file, it
can't find the javax.sql.datasource class.
Looked around the JBoss Libraries, and found the class in jboss-jdbc_ext.jar,
but even though I m
Hi,
I have an jar that contains two ejbs: one stateless session
(AuthenticationManager) and one BMP entity (ToolUser)
When I deploy it under JBoss 2.4.4, I get the stack trace below. If I
comment out one
of the ejbs in the deployment descriptors, it deploys fine.
When I put back just the minimal
IIRC it has to do with whether multicast is set up on your machine or
not. I believe that the clustering init works fine on my linux boxen,
but not my windows laptop.
-danch
Emerson Cargnin - MSA wrote:
> Why does cluster initialization locks jboss (3.0 any RC*)?
>
> I made the workaround re
Because it tries to open a network connection, and there is no way to
put a timeout in JDK 1.3, which causes it to wait forever. You can fix
this by adding multicast to the loopback device. I don't know how you
do this, but it is what I have been told.
-dain
Emerson Cargnin - MSA wrote:
>
--- David Jencks <[EMAIL PROTECTED]>
wrote:
> Can you show the windows ConnectionManager config
> that isn't working?
>
Yes :
c:\databases\ejb.gdb
sysdba
masterkey
true
false
jboss.jca:service=RARDeployer
Tomcat won't load system classes from WEB-INF,
java.*, javax.*
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Jon Swinth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 9:13 AM
Why does cluster initialization locks jboss (3.0
any RC*)?
I made the workaround removing cluster-service.xml,
but i think there must be another solution.
Emerson Cargnin - MSASICREDI - Ramal
3358-4860
The solution to the problem was to place the JSSE jars in the
CATALINA_HOME/lib rather than the WEB_INF/lib directory. There was no log
entries in Tomcat that had any security errors or anything. I just guessed.
I don't understand why, but I can now use RC3.
Thanks again for the help.
Thanks Scott for your quick reply. Yes, I have already tried that. On
getting the error, the first thing I did was add jnet.jar to tomcat. I have
copied the following jars from $JBOSS_DIST/client to the WEB_INF/lib
directory of tomcat:
jboss-client.jar
jboss-common-client.jar
jboss-j2ee.jar
Can you show the windows ConnectionManager config that isn't working?
Thanks
david jencks
On 2002.05.22 09:15:03 -0400 Andre Selton wrote:
> --- David Jencks <[EMAIL PROTECTED]>
> wrote:
> > I have never tried the FBManager on windows. Is the
> > .gdb file created
> > properly? Can you access
Jon,
Thanks for the info. I seemed to have 'fixed' my problem as well, although
I'm not sure what I did to fix it. I built a new JBoss from this morning's
CVS, using jdk1.4 (due to that horrible "protected instance variable not seen
by subclasses' inner classes" bug in jdk 1.3) and now the ex
Actually we use Session beans itself for db connections.
i am doing it in the same way that u mentioned.
Connections are getting returned but it takes a lot of time that other
requests are not getting connections.
should i switch the garbage connection feature on ? or is the default
setting enough
Hello Rahul,
Sorry, have no ideas for now.
Further, post a copy to the list, so others could discuss it. It's in
your interests.
Good luck,
alex
Wednesday, May 22, 2002, 4:12:45 PM, you wrote:
RR> Actually we use Session beans itself for db connections.
RR> i am doing it in the same way that
--- David Jencks <[EMAIL PROTECTED]>
wrote:
> I have never tried the FBManager on windows. Is the
> .gdb file created
> properly? Can you access the windows db with isql?
>
The GDB file is crated and I can access the file
using isql.
But the problem seems to be when the connection is
done,
Hello Rahul,
Do you use BMP? If yes, check you handle connections properly, i.e:
Connection con = getConnection();
try {
// do smth
} catch(Exception) {
// handle exc
} finally {
con.close();
}
As I know, running weblogic it's possible not to have finally or close
connection at all. Am I
We converted an application from weblogic to
jboss.
We used weblogic jdbc driver ,
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
DataSourceClass and the default jBoss.jcml database
settings.
The problem is that connections are not getting
returned to the pool.
Even if a single user has
On Tue, May 21, 2002 at 03:20:05PM -0700, Scott M Stark wrote:
> Its expected if this is a session in web app outside of the redeployed
> ear. It should not happen if the web app is part of the ear as no
> sessions should survive.
It's not stored in a session at all and it is part of an ear. The
___
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
Can you please explain me detailed?
What means - declare? In ejb-jar.xml?
What kind of translations I need to do in my ejbStore/ejbLoad? You told me about of
using JDBC to store specified field byself, not by Bean Provider on anything else?
Can you show me your things on little example, please?
> I can tell you that it is unlikely that you feature will make it into
> JAWS, or any new features.
>
> Can you tell me more about this XML storage? What is
> involved required
> to store the XML? A small code examples would help. If it is not to
> difficult or Oracle specific, it may mak
60 matches
Mail list logo