Re: [JBoss-user] Too Slow - Jetty/JBoss FAQ

2003-01-23 Thread Jules Gosnell
look in here (for Jetty) : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEADcontent-type=text/vnd.viewcvs-markup Jules [EMAIL PROTECTED] wrote: I'm newbe, How to do that? Thanks in advance

[JBoss-user] Hot deploy in 3.2.0rc1

2003-01-23 Thread Rupp,Heiko
Hi, in older versions, I was just able to delete a .ear in deploy/ and it got undeployed. Or I could overwrite it with a new one which got hot deployed. In RC1, this is no longer possible, as Win2k complains that the file is in use. What can I change to get the old behaviour back? Is there an

[JBoss-user] Re: JBoss Project Structure Convert viktorJohn

2003-01-23 Thread Michael Ukpong
Bruce, Victor, John and the rest thanks a lot!. I'm going into a recession to study all the documentations you suggested. I'll be back to give you my progress. thanks again but I cannot find the mentioned template project!,try : http://jmvanel.free.fr/jboss3-howto.html where can I find it and how

[JBoss-user] (no subject)

2003-01-23 Thread Astarte Turizm
Turlarmz: SAFRANBOLU-ABANT 8-12 UBAT VE 12-16 UBAT 59.975.000 TL x 4 TAKST KAPADOKYA 9-13 UBAT VE 12-16 UBAT 47.450.000 TL x 4 TAKST KAPADOKYA 7-10 UBAT 38.725.000 TL X 4 TAKST ANTALYA 11-16 UBAT 64.975.000 TL x 4 TAKST ASSOS-KAZDAÐLARI-AYVALIK-ANAKKALE 9-13 UBAT VE 12-16 UBAT 59.975.000 TL x 4

[JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Eric Jain
My EAR contains a WAR and a JAR. I'm stuck with the same problem. The procedure outlined in the faq works fine for accessing classes from my ejb's, but it does not work for war's. While putting all libraries in default/lib does solve the problem, this is not a real solution as I need to be able

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Meyer-Willner, Bernhard
Have y'all tried putting a Classpath: entry in your manifest file? Try putting this in the respective manifests in the meta-inf dir of your WAR or EJB-JAR: Class-Path: ../lib/common-lib.jar where ../lib/common-lib.jar is the relative path to your common library jar. Bernhard

Re: [JBoss-user] Session Id not reinitialized

2003-01-23 Thread kiuma
Ok, now I can be more precise. ;-) First I want to point out that installing my app to my customer pc works pretty well! The problem is on my network in the following test: Box1: Linux PC with jboss-3.0.5 running. Browser is Mozilla IP: 192.168.100.3 Box2: Windows 2000 with I.E. IP:

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Andreas Mecky
Hi, you have to put this in the MANIFEST.MF. If you use ANT to build your ear then you have to tell the jar-task to include your MANIFEST.MF. Otherwise ANT will create a default one for you. The MANIFEST.MF got to look like this: Manifest-Version: 1.0 Created-By: myself Class-Path:

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Rod Macpherson
The class-path manifest list (originated as an applet enhancement) does not work and they are not alone: weblogic also fails to load those classes. The problem with the original post is that they state they have a jar in an ear. That's clearly insufficient. The jar must be declared in the

Re: [JBoss-user] Session Id not reinitialized

2003-01-23 Thread Jules Gosnell
kiuma wrote: Would you try replacing your jbossweb.sar with this one and trying again... - I know that a session handling problem crept into 3.0.5, I think this release fixed it - if not Jetty-4.2.6 (which will be in 3.0.6) will do so. Jules jbossweb-3.0.5-4.2.5.sar

[JBoss-user] context

2003-01-23 Thread Gabriel Pinto
Is it possible to isolate an ear context from others? For example, can I have beans with the same name and same jndi names, but in different applications? Thanks Gabriel -- Gabriel Esteves Marques Pinto Diretor de TI [EMAIL PROTECTED] www.brainweb.com.br

[JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Brian McSweeney
Hi everyone, I'm new to this list, but I've tried to find information about JBoss support for the new javax.ejb.TimerService and general information on j2ee 1.4 spec compliance. I've read a similar request for information about this in the following discussion:

Re: [JBoss-user] context

2003-01-23 Thread Mauricio De Diana
For ear level scoping of classes, you can configure a loader-repository in jboss-app.xml, but I think it is not possible to have beans using the same JNDI Name. Regards, Mauricio --- Gabriel Pinto [EMAIL PROTECTED] escreveu: Is it possible to isolate an ear context from others? For

Re[2]: [JBoss-user] Can two separate client threads make simultaneous calls?

2003-01-23 Thread Alex Loubyansky
Beau, could you, please, provide simple/not-simple testcase at least for one of the cases? Thanks, alex Wednesday, January 22, 2003, 10:47:57 PM, you wrote: BC Complete stack traces are attached. Sorry I didn't give them last time. BC You may well be right about why these deadlocks not

Re: [JBoss-user] Hot deploy in 3.2.0rc1

2003-01-23 Thread Alex Loubyansky
This is fixed in CVS. alex Thursday, January 23, 2003, 10:09:25 AM, you wrote: RH Hi, RH in older versions, I was just able to delete a .ear in deploy/ RH and it got undeployed. Or I could overwrite it with a new one RH which got hot deployed. RH In RC1, this is no longer possible, as Win2k

Re: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Meyer-Willner, Bernhard
I would guess, once JBoss 4.0 comes out with (with J2EE 1.4 support) in order to claim conformance with the new EJB 2.1 spec it will need to have this EJB TimerService. Til then you can use the Scheduler MBean that comes with JBoss which is a derivative of the standard

[JBoss-user] NoTxConnectionManager Usage

2003-01-23 Thread Rod Macpherson
Is it recommended or at least advantageous to use a NoTxConnectionManager when configuring a data source for read-only access? On other platforms we have typically used one pool with two datasources: one transactional and the other not. ---

[JBoss-user] Re: Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Eric Jain
To isolate the jar to just one ear use a SAR file. This sounds like a solution, but so how exactly would the file structure look like? test.sar test.ear test.jar Coincidently, I was planning to add a few MBeans that should be deployed along with the application, and would be dependant on

[JBoss-user] Configuring Sybase ASE as a Datasource

2003-01-23 Thread Christian Neuroth
Hi! I ampuzzling how to configure Sybase ASE 12.5 as a datasource for Jboss 3.2.0. Until now, I worked with the standard Hypersonic Sql Db and Postgres They both required an application policy (in the conf/login-config.xml) and a ...-service.xml file in the deploy folder. I did not

Re: [JBoss-user] Session Id not reinitialized

2003-01-23 Thread kiuma
Thank you very very much! Your solution perfectly solved the problem Kiuma Jules Gosnell ha scritto: kiuma wrote: Would you try replacing your jbossweb.sar with this one and trying again... - I know that a session handling problem crept into 3.0.5, I think this release fixed it - if not

RE: [JBoss-user] Configuring Sybase ASE as a Datasource

2003-01-23 Thread Barlow, Dustin
This is what I use: datasources local-tx-datasource jndi-nameYourJNDIName/jndi-name connection-urljdbc:sybase:Tds:192.168.1.100:2025/database_name/connection-url driver-classcom.sybase.jdbc2.jdbc.SybDataSource/driver-class user-nameusername/user-name passwordpasswd/password

WG: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Meyer-Willner, Bernhard
I'm no JBoss insider, so I really don't know exactly. I have only access to publicly published stuff and also read that article you mentioned. So I guess it should come out by JavaOne, which is in sometime in Q2. The SchedulerMBean is described in the paid-for docs (JBoss Book). Anyway, quick

[JBoss-user] jboss-4 and cactus problem

2003-01-23 Thread Bruce Scharlau
Hi all, I've been digging further into Ant and am trying to get cactus to work with jboss-4+tomcat, but am getting a strange error about 'port out of range:-1' and wondered if anyone else has experienced this problem. I'm using jakarta-cactus-13-1.4b1 and ant-1.5 on winXP. Bruce

RE: [JBoss-user] jboss-4 and cactus problem

2003-01-23 Thread Sonnek, Ryan
i've had the exact same error and it took me forever to figure out. for some reason when cactus runs, you NEED a port number for it to work correctly. setup your cactus.properties file to use a port number and you'll be fine. if you're running off the default web server port, use port 80.

[JBoss-user] JBoss3.2.0RC1 don't start using IBM JDK 1.3.1 on Linux

2003-01-23 Thread Magnus Larsson
Hello! It seems like JBoss3.2.0RC1 don't work together with IBM JDK 1.3.1 on Linux, se my log below. JBoss3.2.0RC1 starts up fine under Sun JDK 1.3.1. Up until JBoss3.2.0beta2 it also worked with no problem under the IBM JDK. The log comes from a RedHat 7.3 installation on an Intel-box. I have

[JBoss-user] question about jboss cmp

2003-01-23 Thread Eric Kaplan
Consider a cmp bean that has in it a date and a unique transaction id. Now let's say you have the need to find all beans between two dates, 1/1/01 through 1/1/03. Let's then say someone else comes along and wants to find all beans between two other dates, 1/1/02 through 1/1/03. What will the

[JBoss-user] Re: JBoss3.2.0RC1 don't start using IBM JDK 1.3.1 on Linux

2003-01-23 Thread Eric Jain
It seems like JBoss3.2.0RC1 don't work together with IBM JDK 1.3.1 on Linux Same problem here! -- Eric Jain --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Fredrik Lindgren
We are using class-path manifest lists in JBoss 3.0.4 and it works with no problems at all. You have to make sure that the paths in the list are correct relative paths to the jar files you need. This is working from both wars and ejb jars (we have some common utility classes in a jar that is

Re: [JBoss-user] Configuring Sybase ASE as a Datasource

2003-01-23 Thread David Jencks
3.2 uses the simpler sybase-ds.xml format. david jencks On Thursday, January 23, 2003, at 09:41 AM, Christian Neuroth wrote: Hi!   I am puzzling how to configure Sybase ASE 12.5 as a datasource for Jboss 3.2.0. Until now, I worked with the standard Hypersonic Sql Db and Postgres They both

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Scott M Stark
There are examples of loading classes from jars included in a WARs WEB-INF/lib directory. Explain the exact structure of the deployment that is failing. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From:

[JBoss-user] Re: Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Eric Jain
What is the latest version that you tested where it did not work? 3.2-RC2 No problem with loading classes from ejb jars, either. Furthermore, servlets in the war have access to all classes that are loaded by the ejbs, but won't load any classes from jars in the ear lib directory on their own,

Re: [JBoss-user] context

2003-01-23 Thread Scott M Stark
No, JNDI names must be unique within a server instance. How is the client going to choose which EJB to lookup if they are not? Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Gabriel Pinto [EMAIL

Re: [JBoss-user] context

2003-01-23 Thread Gabriel Pinto
If you knows the web context, then you knows the ear context. So, you should be able to lookup names inside the ear context? Is it possible? Thanks Gabriel -- Gabriel Esteves Marques Pinto Diretor de TI [EMAIL PROTECTED] www.brainweb.com.br (19)3287-7060

Re: [JBoss-user] Re: Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Fredrik Lindgren
Did you include a META-INF/MANIFEST.MF with the class path in the war or were you counting on the class path given in the ejb jar's manifest? We have been successful in using library classes in the ear from servlets by having the following structure in the war [war root] |- WEB-INF |

Re: Re: [JBoss-user] JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread otisg
Hello, A bunch of different replies were in this thread, so let me follow up on them all together in this one email. 1) My application.xml contains: module web web-uriwgen.war/web-uri context-root/wgen/context-root /web /module module

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Rod Macpherson
Yep, had the correct paths and it did not work but that was 3.0.2 and there were also issues finding jars in my WEB-INF/classes and WEB-INF/lib at that time. Checked, double checked and repackaged several times but those jars would only load if placed in [config]/lib or [config]/deploy. I will try

[JBoss-user] Access files in a war archive

2003-01-23 Thread Stephen Ting
Title: Message Can anyone show me how access a xml file in .war archivethrough a relative path? I try usingthe following codes but in vain. servlet.getServletContext().getRealPath(pathname) which return null; servlet.getServletContext().getResourceAsStream(pathname) also Thanks regards,

[JBoss-user] Sharing Principal HOWTO

2003-01-23 Thread kiuma
Hello, is it possible to share Principal credentials between different war (without using a DB or similar)? If yes, I hope so ;-P, can you explain to me how or give a link to read about? Thx, Kiuma --- This SF.NET email is sponsored by:

Re: [JBoss-user] Access files in a war archive

2003-01-23 Thread Steven Haines
Here is an example that gets a URL to the file myxmlfile.xml that is contained in the war's WEB-INF/xml directory: String xmlFile = getServletContext().getResource(/WEB-INF/xml/myxmlfile.xml).toString(); Depending on your XML library you might be able to open it directly passing this URL (JDOM

[JBoss-user] Results Print in Wrong Order?

2003-01-23 Thread Hunter Hillegas
Can anyone think of a scenario where the results output to a JSP page would be in a different order than the order of the database query that generated them? I'm running around on this and can't figure it out. I have a 2.0 CMP Entity with an ejbSelect method. It pulls out all the distinct vendor

Re: [JBoss-user] Results Print in Wrong Order?

2003-01-23 Thread Hunter Hillegas
Disregard. By setting the return type as a Set, I was getting some funky results. Using a Collection and explicitly adding DISTINCT and ORDER BY in JBossQL fixed me up. From: Hunter Hillegas [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 23 Jan 2003 14:48:44 -0800 To: JBoss User