Re: [JBoss-user] Different behaviour when using two JVMs?

2003-02-06 Thread Andrew Carpenter
>>> [EMAIL PROTECTED] 7/02/03 14:03:58 >>> Example 2 runs because of serialization isolating the changes made to the class identity due to redeployment. You either have to redeploy both or isolate the apps from each other using serialization via call by value semantics. There was a post on how to

Re: [JBoss-user] jboss backup management: howto?

2003-02-06 Thread Rod Macpherson
If a dead connection is used an exception will be thrown and caught. When the dead connection is discovered by the watchdog it will be replaced with a new one. What happens now is that dead connections stay dead until you bounce the appserver. I will take the non-fool-proof solution over that any

Re: [JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread Guy Rouillier
I haven't thought this through completely, but have you researched using a timer to periodically invoke an EJB, thus dispensing with the MBean entirely? - Original Message - From: "Demyanovich, Craig - Apogent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 1

Re: [JBoss-user] jboss backup management: howto?

2003-02-06 Thread Guy Rouillier
- Original Message - From: "Rod Macpherson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 10:37 AM Subject: Re: [JBoss-user] jboss backup management: howto? >>Noticed the same thing. WebLogic has a watch-dog that does a SELECT * FROM FOO where you supply t

Re: [JBoss-user] Different behaviour when using two JVMs?

2003-02-06 Thread Scott M Stark
Example 2 runs because of serialization isolating the changes made to the class identity due to redeployment. You either have to redeploy both or isolate the apps from each other using serialization via call by value semantics. There was a post on how to configure this. Sc

RE: [JBoss-user] Axis generated wsdl -- possible to specifyparam eter names?

2003-02-06 Thread Joe Hung
this is what I have. http://ws.sylantro.com/wmi-ws"; prefix="wmi-ws"/> I really don't know how all the parameters work so I'm just making them up . Can you see anything wrong? thanks, -joe -Original Message- From: John Fawcett [mailto:[EMAIL PROTECTED]] Sent: Thurs

[JBoss-user] Different behaviour when using two JVMs?

2003-02-06 Thread Andrew Carpenter
Hi, I realise this will look a lot like many previous questions. I've read through the archives, but I just can't seem to find anything that helps me. Sorry if I'm rehashing old discussions... I've got a project with two jars: one for the web application (webapp.jar) and one for the EJB compo

RE: [JBoss-user] Axis generated wsdl -- possible to specify param eter names?

2003-02-06 Thread John Fawcett
Are you setting the prefix parameter in the jboss-net task? Our task is functioning properly for us and looks like: ... ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Thursday, February 06, 2003 4:29 PM To

Re: [JBoss-user] Advice: how to periodically scan a database tab

2003-02-06 Thread Tom Coleman
Caching the home interface won't work in this case, because redeploying the component in the EAR invalidates the MBean's home reference. That's why you can't connect to it. It's address has changed. I think the simplest solution is just do another JNDI lookup in the MBean, but if you're intent

RE: [JBoss-user] Axis generated wsdl -- possible to specifyparam eter names?

2003-02-06 Thread Joe Hung
all descriptors are generated using jboss-net xdoclet library from 3.2RC1src. I already sent the ear file to Dr Jung and hopefully he can decode it for me. (thanks Dr...) this is the error I got. In case you're interested. = Fault - WSDLException: faultCode=OT

Re: [JBoss-user] unathenticatedIdentity and JBoss 3.0.4-tomcat 4.x

2003-02-06 Thread Scott M Stark
There are examples of this in the web integration unit tests so if you can't see a difference submit a testcase as an attachement to a bug report at sourceforge: http://sourceforge.net/projects/jboss/ Scott Stark Chief Technology Officer JBoss Group, LLC xx

RE: [JBoss-user] Axis generated wsdl -- possible to specify param eter names?

2003-02-06 Thread John Fawcett
I am currently using a jboss-head build from a few weeks back. I am also using a patched version of xdoclet's jboss-net task. I am not familiar with the status of jboss-net in jboss3.2, but we have plans to back-port our application and development environment to 3.2 in the next few weeks. Can you

RE: [JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread Demyanovich, Craig - Apogent
My colleague tells me that the home interface is cached in the MBean. Although the home interface has not changed, is the caching the source of the problem? Since the MBean is not in the EAR, we generally shut down JBoss, redeploy the EAR, restart JBoss; the MBean is then reinitialized and can use

RE: [JBoss-user] Axis generated wsdl -- possible to specifyparam eter names?

2003-02-06 Thread Joe Hung
Could you tell me which version of JBoss you use? I'm having some trouble in generating WSDL throught jboss.net in 3.2RC1. thanks, -joe -Original Message- From: John Fawcett [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 10:40 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] A

RE: [JBoss-user] Logging threshold...

2003-02-06 Thread Eric Klimas
Thanks, I actually tried that earlier, but it didn't work. From what I gather it was because I was invoking the reconfigure method that didn't take a parameter. As soon as I used the one which took a String parameter and I filled in the URL, everything worked. -Eric On Thu, 2003-02-06 at 13:17

Re: [JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread Tom Coleman
How are you locating the component (EJB?) from the MBean? When you redeploy EJB's, the MBean may be losing it's reference and still be referencing the "old" instance of the component. If you can't redeploy the MBean with the EAR, the MBean will have to obtain a new reference via JNDI to the r

RE: [JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread JD Brennan
Title: RE: [JBoss-user] Advice: how to periodically scan a database table You can deploy an MBean in an .ear.  We do it by putting a .sar in the ejb .jar inside the .ear - You can also do it another way, I think by putting an application.xml in the .ear that loads the .sar (which has the MBea

Re: [JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread Meyer-Willner, Bernhard
With JBoss 3.0.x at least 3.0.5 and up it works. We deploy an app as an EAR containing an MBean. Cheers, Bernhard -Ursprüngliche Nachricht- Von: Demyanovich, Craig - Apogent [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 6. Februar 2003 19:22 An: '[EMAIL PROTECTED]' Betreff: [JBoss-user

[JBoss-user] Axis generated wsdl -- possible to specify parameter names?

2003-02-06 Thread John Fawcett
Hi, I am using the xdoclet jboss-net task to deploy session-bean backed webservices. We then generated C# code from the axis generated wsdl. In our current axis-generated wsdl, our input parameters have names like "in0", which our C# classes inherit. Is there some way to force axis to pick up the

[JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread Demyanovich, Craig - Apogent
Greetings, We're using JBoss 2.4.10. One of my colleagues has implemented an MBean that spawns a thread to periodically poll a database table for new rows based on criteria that we control. I see two disadvantages: one, when we hot redeploy our EAR, the MBean can no longer communicate with comp

RE: [JBoss-user] Logging threshold...

2003-02-06 Thread Sebastian Hauer
Hi Eric, Change your servers log4j.xml file, go to the jmx-console, click on the jboss.system:service=Logging,type=Log4jService Mbean link and invoke the reconfigure() method. Sebastian > -Original Message- > From: Eric Klimas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2

AW: AW: [JBoss-user] How to throw AxisFault in JBoss.net?

2003-02-06 Thread Jung , Dr. Christoph
So would it be possible to write a special request handler in the bean´s transport chain that takes your (non-Axis-Fault, means that the container will let it through unchanged) application exception and wraps it into an appropriately massaged axis fault such that the name of the original exceptio

Re: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Dain Sundstrom
EJB-Ql in EJB 2.0 does not allow parameters in the like clause. EJB 2.1 does have this support but 2.1 will not be supported until JBoss 4.0. In the mean time use JBossQL which supports parameters in the like clause. -dain On Thursday, February 6, 2003, at 05:54 AM, Rupp,Heiko wrote: Hi,

Re: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Dain Sundstrom
EJB-Ql in EJB 2.0 does not allow parameters in the like clause. EJB 2.1 does have this support but 2.1 will not be supported until JBoss 4.0. In the mean time use JBossQL which supports parameters in the like clause. -dain On Thursday, February 6, 2003, at 05:54 AM, Rupp,Heiko wrote: Hi,

[JBoss-user] JBoss Jetty Problem if Server Configuration is somewhere else

2003-02-06 Thread Meyer-Willner, Bernhard
Hi, we're using JBoss 3.0.5. Our app/server configuration is not where it usually is (for example jboss/server/default) but in a different directory containing conf, lib and deploy dirs. We configured JBoss to use this directory and all is fine. Jetty (jbossweb.sar) is also located in our deploy d

RE: AW: [JBoss-user] How to throw AxisFault in JBoss.net?

2003-02-06 Thread Kevin Conner
Sorry to take so long in responding but I've just been going through this issue in our code, stand alone axis 1.0 + jboss (not jbossnet). > This approach is outdated, because the best way, IMHO, is to take the > server-generated wsdl and pre-generate client stubs using the > wsdl2java > toolkit.

AW: [JBoss-user] jboss.net wsdl error

2003-02-06 Thread Jung , Dr. Christoph
If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because

[JBoss-user] Logging threshold...

2003-02-06 Thread Eric Klimas
Hi all, I'm running Jboss3.0.4 Tomcat 4.1.12, and was wondering if there was some way to change the logging threshold of the server without having to restart jboss or redeploy my app (i.e. via the jmx-console). Probably a simple answer for somebody, but I can't seem to find it Thanks, Eric --

AW: [JBoss-user] jboss.net wsr deployment on JBoss3.2RC1

2003-02-06 Thread Jung , Dr. Christoph
Yes, that is what I couldn´t believe because I thought that viewtype="both" should let particular "remote" and "local" xdoclet ejb conditionals fire that are represented in the jboss.net Template. I have to check that. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED

[JBoss-user] Non-Transactional Connections

2003-02-06 Thread Rod Macpherson
WebLogic shares connections on non-transactional datasources: the connection is not reserved for exclusive use thus increasing scalability on the most widely used operation: reading. Otherwise you can quickly exhaust a pool. Does JBoss have such a feature or is the answer to use a large pool - a li

Re: [JBoss-user] jboss backup management: howto?

2003-02-06 Thread Rod Macpherson
Noticed the same thing. WebLogic has a watch-dog that does a SELECT * FROM FOO where you supply the table name (e.g., DUAL) and if it fails the connection is re-established. This is a critical feature for databases that tear down connections prior to backup. - Original Message - From: "Has

AW: AW: [JBoss-user] DefaultDS pool size

2003-02-06 Thread Kristian Kohler
Hi you may use the MBean "directly". Here a sample JSP Page printing the value: --- 8< snip <%@page import="javax.management.*" %> AvailableConnectionCount <% MBeanServer server = (MBeanServer)MBeanServerFactory.findMBeanServer(null).iterator().next(); %> <%=server.getAttri

[JBoss-user] postgres-service.xml

2003-02-06 Thread Rafal Kedziorski
hi, I'm first time working with JBoss and PostgreSQL. and there my question. In postgres-service.xml are four lines with PostgresDS: jboss.jca:service=LocalTxCM,name=PostgresDS If I change the JNDI name for my db connection to DefaultDS, should I change the lines above too? I didn't find

Re: AW: [JBoss-user] DefaultDS pool size

2003-02-06 Thread Rafal Kedziorski
Kristian Kohler wrote: Hi the MBean for the Default DS has an attribute called AvailableConnectionCount. You may find it under: http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss .jca%3Aservice%3DLocalTxPool%2Cname%3DDefaultDS thx. but can I make this from my Applica

RE: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Rupp,Heiko
Hi, > -Original Message- > From: Langelage, Frank [mailto:[EMAIL PROTECTED]] > * query="SELECT OBJECT(o) FROM Address AS o WHERE o.matchcode LIKE ?1" > On deployment of the EntityBean I get an exception. > The EJBQLCompiler JBoss4 doesn't like this. It wants a STRING_LITERAL > after L

AW: [JBoss-user] DefaultDS pool size

2003-02-06 Thread Kristian Kohler
Hi the MBean for the Default DS has an attribute called AvailableConnectionCount. You may find it under: http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss .jca%3Aservice%3DLocalTxPool%2Cname%3DDefaultDS Kristian > -Ursprungliche Nachricht- > Von: [EMAIL PROTEC

[JBoss-user] DefaultDS pool size

2003-02-06 Thread Rafal Kedziorski
Hi, it's possible to ask the actual free DefaultDS connections in the pool? Best Regards, Rafal --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___

RE: [JBoss-user] unathenticatedIdentity and JBoss 3.0.4-tomcat 4.x

2003-02-06 Thread Panagiotis Korros
I am sorry that I didn't replyed earlier but I was out of office for several days. Back to work then... I have already defined the same security domain to both jboss-web.xml and jboss.xml. To test the behaviour I changed my login module to "IdentityLoginModule". Using this login module I can call

[JBoss-user] jboss backup management: howto?

2003-02-06 Thread "Haslbeck, Jörg"
Hi, I have a, as far as I understand, common problem: My application is based on JBoss and Oracle and the application data is backed up every night. What happens is that the database department shuts down Oracle, runs the backup, and brings the database server back on-line. Now, JBoss does no