[JBoss-user] application.xml module

2003-01-29 Thread Rod Macpherson
Vanilla beans can be shared among EAR components by adding modules to application.xml. This is far more elegant and intuitive than setting the Class-Path in the MANIFEST.MF of each and every ear component. What is not clear is whether this is reliable or even functional on other platforms.

Re: [JBoss-user] EAR works in 2.4.10 but not in 3.0.6

2003-01-29 Thread Rod Macpherson
I reported that setting the MANIFEST.MF Class-Path did not work in 3.0.2 however at least one contributor to this mailing list assured me that it definitely does work. Clearly you have evidence to the contrary. I don't use that anymore. Specify the shared jars in application.xml with the tag every

Re: [JBoss-user] Jboss/Jetty/Jasper question.

2003-01-29 Thread Rod Macpherson
How to precompile your JSPs is a good question but the answer you will get is to compile them as servlets: not very satisfactory since you probably want to precompile the pages without losing the ability to update those pages. Your compiled pages are dumped in some variation of /winnt/Temp/Jetty_0_

Re: [JBoss-user] ClassCastException on PortableRemoteObject.narrow

2003-01-29 Thread David Jencks
This is expected. Each time you redeploy you get a different classloader, thus different classes. You may be able to work around this by including the interfaces in question ONLY in the "session bean" .ear, but I think you will then have to deploy in reverse order. david jencks On Wednesday,

RE: [JBoss-user] Funny postgresql behavior

2003-01-29 Thread John Fawcett
Hi, Thank you very much, this helped me resolve my issue. Our problems are the same in that they emanate from the use of the DatabaseMetaData.getTables() function inside the CMP engine. Postgresql has a non-standard way of organizing it's catalog information, that apparently does not map well to

[JBoss-user] Jboss/Jetty/Jasper question.

2003-01-29 Thread Kelly Chen
I am trying to use the Jasper that comes with JBoss-3.0.4 Jetty to compile JSP pages from command line. I ran into serveral issues. So here are the question. 1. What version of Jetty is used by JBoss-3.0.4? By looking at the Mainifest.mf in org.mortbay.jetty.jar, it says 4.1.3. So I assume it

[JBoss-user] EAR works in 2.4.10 but not in 3.0.6

2003-01-29 Thread Demyanovich, Craig - Apogent
Hello everyone, Here's the structure of my EAR file: META-INF MANIFEST.MF application.xml ejb BatchAddition.jar ... eif-service_locator.jar When I deploy my EAR and start JBoss 3.0.6, I receive the following warnings, which eventually lead t

Re: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Holger Baxmann
the eclipse classpath was a thing on it's own, IIRC. you have to put it into your project libraries via the project properties - this will work best ... because it depends on the selected jre for _this_single_project_. and it is pssible to choose another jdk/jre for every single project, i for

[JBoss-user] ClassCastException on PortableRemoteObject.narrow

2003-01-29 Thread Eric Klimas
Hi all, I'm using Jboss 3.0.4 w/ Tomcat 4.1.12, running Sun's JDK (build 1.4.0_01-b03), on Solaris 7. I have one ear file which contains a bunch of local entity CMP 2.0 beans that access my database. I have a separate ear file containing a session bean that looks the Entity beans up via the glob

Re: [JBoss-user] Funny postgresql behavior

2003-01-29 Thread Marek Lange
John Fawcett schrieb: Hi, When I try to deploy my application, jboss successfully creates the one table, but then logs that the remaining tables already exist. When configured to use hsql, the tables are created successfully. Does anyone recognize this behavior or see my mistake? See this threa

[JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Alex Shneyderman
This is pretty cool! Thanks! One thing that I noticed so far that did not work for me is shutdown feature (only terminate works). I expected to see the same effect as pressing CTRL+C, when JBoss is started stand alone. However when I press Server Navigator's shutdown button nothing happens. Only

RE: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Sonnek, Ryan
there it goes! thanks for the help. i added tools.jar to the jboss user classes classpath. thanks for all the help! -Original Message- From: Igor Fedorenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:43 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Re: [JBoss-dev]

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

2003-01-29 Thread JD Brennan
Title: RE: [JBoss-user] How to throw AxisFault in JBoss.net? AxisFault is probably unchecked so it gets wrapped.  I bet the spec says that only checked exceptions have to get passed back intact. You could wrap AxisFault in a checked exception, maybe... JD -Original Message- From:

RE: [JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Igor Fedorenko
Hi, Am I right that currently JBoss-IDE does two things -- it provides XDocLet code assistance and allows starting JBoss server from within Eclipse? The reason I am asking is because I want to use excitement about JBoss-IDE to reiterate some of my ideas ;-) Basically, I have a code that provid

RE: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Igor Fedorenko
Try JBoss launch configuration classpath (Run/Debug.../Your_launch_name/Classpath/User_classes), it works for me. > -Original Message- > From: Sonnek, Ryan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 3:48 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [JBoss-user] Re: [JBo

Re[2]: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Hans Dockter
SR> what 'classpath' does tools.jar have to be added to? running win2k, i've SR> tried adding it to the system's classpath, the eclipse's classpath, and to SR> my project's list of build path libraries. all of the above still give me SR> the same error. SR> Ryan tools.jar is on win2k and linux

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

2003-01-29 Thread Jonas Engman
I'm using JBoss 3.2beta1/JBoss.net and I'm trying to throw an AxisFault from a SessionBean but the exception seems somehow be wrapped inside a javax.ejb.EJBException. I'm throwing the fault using throw new AxisFault("a fault has occurred"); but the faultString that appears on the client-side is

RE: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread Pete Beck
On Wed, 2003-01-29 at 10:26, Sacha Labourey wrote: > Well, that would involve: > - loading all potential beans in memory first > - having an in-memory query resolver (able to resolve SQL queries > in-memory) > > You want to do it? ;) I think I would *love* this feature, but like me, I don't thi

RE: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Sonnek, Ryan
what 'classpath' does tools.jar have to be added to? running win2k, i've tried adding it to the system's classpath, the eclipse's classpath, and to my project's list of build path libraries. all of the above still give me the same error. Ryan -Original Message- From: Vladyslav Kosulin [

[JBoss-user] Question: Properties mapping between entity beans and database?

2003-01-29 Thread Marco Tedone
Hi, I'm trying to solve the following question: Let's say that I have an object in my business domain which defines a series of get/set methods for the following properties: userName userPassword userDescription userInitialMenu Let's say that the user who install my application on Jboss is goi

Re: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Holger Baxmann
Am Mittwoch, 29.01.03, um 20:35 Uhr (Europe/Budapest) schrieb Hunter Hillegas: In MacOS X, tools.jar is automatically in the boot classpath. You can put a dummy tools.jar in your classpath if you want. unfortunately, you have to - sometimes :) what do you zip into your dummy tools? i like to p

Re: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Hunter Hillegas
In MacOS X, tools.jar is automatically in the boot classpath. You can put a dummy tools.jar in your classpath if you want. > From: Holger Baxmann <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 29 Jan 2003 19:47:16 +0100 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Re: [JBoss

Re: [JBoss-user] Still no luck: Re: CMR many to many relation problems

2003-01-29 Thread Gary S. Cuozzo
here's a setup that i have for clients-roles... client side: /** * @return all roles associated with this client * * @ejb:interface-methodview-type="local" * * @ejb:relationname="client-role" *

Re: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Holger Baxmann
copy it on macosx i will award you 100 bucks bax Am Mittwoch, 29.01.03, um 17:50 Uhr (Europe/Budapest) schrieb Vladyslav Kosulin: Sonnek, Ryan wrote: i'm eager to try out the jboss plugin, but i'm getting an error from starting a local server from within eclipse. after starting the server,

[JBoss-user] Still no luck: Re: CMR many to many relation problems

2003-01-29 Thread Nir Oren
Hi... I tried the advice I recieved regarding getting the table name changed, with no luck. Whenever I start jboss, if the table already exists, I get an exception saying so, and anything depending on the table breaks. If the table doesn't exist, it gets created, but clearly, this case is not acce

Re: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Holger Baxmann
copy it on macosx i will award you 100 bucks bax Am Mittwoch, 29.01.03, um 17:50 Uhr (Europe/Budapest) schrieb Vladyslav Kosulin: Sonnek, Ryan wrote: i'm eager to try out the jboss plugin, but i'm getting an error from starting a local server from within eclipse. after starting the server,

[JBoss-user] jboss-app DTD

2003-01-29 Thread Burkhard Vogel
Hi, I have an application consiting out of tenorso jars and two sars. There is only one way to get them deployed correctly, as in a special order. I would like to set the whole lot up in an ear and use tha jboss-app.xml to define dependencies. Unfortunately I cannot seem to find the DTD nor any o

Re: [JBoss-user] javax.transaction.UserTransaction not bound in JBoss3.0 ???

2003-01-29 Thread Langelage, Frank
Artur Jonak wrote: Hi, I want to use javax.transaction.UserTransaction in my servlet which is a client of my ejb session bean. But I get: javax.naming.NameNotFoundException: javax.transaction.UserTransaction not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org

Re: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Vladyslav Kosulin
Sonnek, Ryan wrote: i'm eager to try out the jboss plugin, but i'm getting an error from starting a local server from within eclipse. after starting the server, i get a CNFE from sun.tools.javac.Main when opening the jmx-console. i'm assuming this has to do with the jre or classpath tabs in the

[JBoss-user] javax.transaction.UserTransaction not bound in JBoss 3.0 ???

2003-01-29 Thread Artur Jonak
Hi, I want to use javax.transaction.UserTransaction in my servlet which is a client of my ejb session bean. But I get: javax.naming.NameNotFoundException: javax.transaction.UserTransaction not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingS

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

2003-01-29 Thread Panagiotis Korros
I have a web application with a restricted area and an unrestricted area. The structure is the following: /secure (webapp) /secure/admin/ (secure area accesible only by the admin role) /secure/admin/page1.jsp /secure/page2.jsp (accesible by everyone) page1.jsp and page2.jsp call the same ejb (m

RE: [JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Sonnek, Ryan
i'm eager to try out the jboss plugin, but i'm getting an error from starting a local server from within eclipse. after starting the server, i get a CNFE from sun.tools.javac.Main when opening the jmx-console. i'm assuming this has to do with the jre or classpath tabs in the configuration window.

RE: [JBoss-user] RE: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Bill Burke
Ok you Verilet guys. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Fred > Flintstone > Sent: Wednesday, January 29, 2003 9:24 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] RE: [JBoss-dev] JBoss-IDE 1.0 alpha released > > > Barney and I

[JBoss-user] BootCamp is this weekend

2003-01-29 Thread marc fleury
One time event guys. EVERYONE will be here, I mean everyone. I am flying 12 core guys to Atlanta for the inaugural bootcamp and you don't want to miss it. It is this coming weekend, Saturday and part of Sunday in Atlanta at the swissotel. I wanted 30 people to call it a success and we are at

Re: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread David Jencks
On Wednesday, January 29, 2003, at 10:30 AM, Eric J Kaplan wrote: Thanks David. You've answered my question. Is this read-ahead capability a specific feature of jboss or in the spec? One issue we have is that as much as we push jboss, we have installs where they for whatever reason aren't usi

Re: [JBoss-user] help clearing a single user from authentication cache

2003-01-29 Thread Meyer-Willner, Bernhard
RFE in sourceforge sounds good to me. The methods you mention have been there since 3.0.5. -Ursprüngliche Nachricht- Von: David Ward [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. Januar 2003 16:33 An: [EMAIL PROTECTED] Betreff: Re: [JBoss-user] help clearing a single user from authent

[JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Holger Baxmann
thanks a lot for the great work. on macosx i have had difficulties to setup the remote connection connection to the vm revoked. the remote debugging line on page 7 in the pdf docs should read: -Xdebug -Xrunjdwp:transport=dt\_socket,server=y,suspend=n,address=10250 without any spaces and runjdwp

Re: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread David Jencks
On Wednesday, January 29, 2003, at 10:27 AM, Eric J Kaplan wrote: Thanks David. You've answered my question. Is this read-ahead capability a specific feature of jboss or in the spec? JBoss specific, although I would hope other vendors would do something similar. david One issue we have is

Re: [JBoss-user] help clearing a single user from authentication cache

2003-01-29 Thread David Ward
I just upgraded from jboss-3.0.4_tomcat-4.1.12 to jboss-3.0.6_tomcat-4.1.18. I noticed a LOT more methods in the JaasSecurityManagerService. The methods are now: getPrincipal() registerSecurityDomain() isValid() start() create() doesUserHaveRole() getAuthenticationCachePrincipals() stop() getU

RE: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread Eric J Kaplan
Thanks David. You've answered my question. Is this read-ahead capability a specific feature of jboss or in the spec? One issue we have is that as much as we push jboss, we have installs where they for whatever reason aren't using jboss. About read-ahead. If I enable it, and I execute an initia

RE: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread Eric J Kaplan
Thanks David. You've answered my question. Is this read-ahead capability a specific feature of jboss or in the spec? One issue we have is that as much as we push jboss, we have installs where they for whatever reason aren't using jboss. -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Nicholas, N> JAVA_OPTS=-classic -Xdebug -Xnoagent N> -Djava.compiler=NONE N> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y N> %JAVA_OPTS% Wow, now it works, thank. I had used: - -Xrunjdwp:transport=dt_socket,server=y,suspend=n,addre

Re: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread David Jencks
On Wednesday, January 29, 2003, at 09:15 AM, Eric J Kaplan wrote: No (I wasn't implying it was easy) but without it, for a lot of applications going through the entity beans isn't practical. More often than not, the applications we work on do NOT simply findByPrimaryKey, but instead need to lo

Re: [JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Nicholas
It worked fine for me. The run.bat has an entry like this: JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% So, the port will be 8787. Even when you run as a service, you must have somewhere where you set your JVM

Re: [JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Hans Dockter, HD> When you configure a JBoss for launching in JBoss-IDE you can choose HD> the type which would be 'Remote JBoss' in your case. For the second HD> question see the JBoss-IDE quick start quide pages 6-8. The port just HD> has to be u

Re: [JBoss-user] RE: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Fred Flintstone
Barney and I are all over this as we transition the team from the very expensive IDE we are currently using. HPTVs (high priced tool vendors) are so last century. Spend that money on knowledge and hiring brain power rather than tools. Kazoo is nodding his head in approval. - Original Message -

RE: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread Eric J Kaplan
No (I wasn't implying it was easy) but without it, for a lot of applications going through the entity beans isn't practical. More often than not, the applications we work on do NOT simply findByPrimaryKey, but instead need to load based upon a query. I take what Mark Fleury says in his paper to h

[JBoss-user] Embedded Tomcat/Jetty Servlet threads and JBoss

2003-01-29 Thread Barlow, Dustin
If I have threaded Servlet code running under the embedded Tomcat or Jetty service, how does this effect the thread pooling on the J2EE side of JBoss? I know that threading code in EJB's is a violation of the spec, but does this also apply to services deployed as MBeans (ie Tomcat or Jetty)? I

[JBoss-user] RE: [JBoss-dev] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Bill Burke
Great work hans! Come on JBoss community! Try it out! Bang on it! Many thanks, Bill Burke Chief Architect JBoss Group, LLC > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Hans > Dockter > Sent: Wednesday, Janua

Re[2]: [JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Hans Dockter
IB> What i have to do to control a remote jboss ? Which Port i should IB> use ? When you configure a JBoss for launching in JBoss-IDE you can choose the type which would be 'Remote JBoss' in your case. For the second question see the JBoss-IDE quick start quide pages 6-8. The port just has to be

Re: [JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Hans Dockter, HD> I'm delighted to announce the release of JBoss-IDE 1.0 alpha. HD> The JBoss-IDE is based on Eclipse. HD> Link to the JBoss-IDE project page: HD> http://www.jboss.org/developers/projects/jboss/jbosside.jsp HD> You can download JBos

[JBoss-user] JBoss-IDE 1.0 alpha released

2003-01-29 Thread Hans Dockter
I'm delighted to announce the release of JBoss-IDE 1.0 alpha. The JBoss-IDE is based on Eclipse. Link to the JBoss-IDE project page: http://www.jboss.org/developers/projects/jboss/jbosside.jsp You can download JBoss-IDE from: http://prdownloads.sourceforge.net/jboss/jbosside1.0a_05.zip?downloa

[JBoss-user] How to set up LDAP login module?

2003-01-29 Thread Artur Jonak
Hi, Do you have any example of LDAP module configuration for JBoss 3.0? Best regards, Artur ___ Artur Jonak phone: +48 22 535 88 10 ___ --

RE: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread Sacha Labourey
Well, that would involve: - loading all potential beans in memory first - having an in-memory query resolver (able to resolve SQL queries in-memory) You want to do it? ;) > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Rupp,Heiko > Envoyé : mercr

RE: [JBoss-user] RE: question about jboss cmp

2003-01-29 Thread Rupp,Heiko
>From: David Jencks [mailto:[EMAIL PROTECTED]] >AFAIK only findByPrimaryKey queries are optimised to look first in >memory. All others at least fetch the pk values from the db. Will this change in the future? Perhaps not in an automated way, but by specifying that a certain finder should first l

[JBoss-user] Re: xpetstore note

2003-01-29 Thread Brian McSweeney
Hi David,yes, the -db.xml files are definately nicer :-)Okay, I made 2 changes from the default configuration.1) Changed the hsqldb-ds.xml fileso that the jndiname tag is as follows:xpetstoreDS2) Changed the jbossmq-destinations-service.xml file to contain queuespertaining to the xpetstore

Re: [JBoss-user] help clearing a single user from authentication cache

2003-01-29 Thread Meyer-Willner, Bernhard
Very interesting! I would like to do the same. I'm already using the method java.util.List getAuthenticationCachePrincipals() which I believe is available only since 3.0.5 to get a List of the principals currently in the authentication cache. I looked up the JaasSecurityManager directly from the MB

Re: [JBoss-user] How to assign method-permission to create methods?

2003-01-29 Thread Jon Haugsand
* Gary S. Cuozzo > I've seen this before as well. I *think* that I fixed it by putting > the following xdoclet tag up in my class-level area: > @ejb:permission unchecked="" > > This adds an tag into ejb-jar.xml for the methods that > don't have security permissions specified. Then I ov