[JBoss-user] IllegalAccessError with package private methods in the same jar

2002-11-26 Thread anna schricker
Hi, I have the following problem: I have a servlet that calls a class derived from JUnit Testcase which again calls class A and class B in the same package. The testclass, class A and class B are packaged in the same jar, the servlet is in a war-file and jar and war are together in an

[JBoss-user] simple Postgres CMP HOWTO?

2002-11-26 Thread Matthew Hixson
Does there exist a simple HOWTO with step by step instructions on how to configure JBoss 3.0.4 CMP for use with Postgres 7.2? I've read through lots of Google search results and forum messages dealing with problems and solutions for various Postgres issues, but nothing that is an idiot proof

Re: [JBoss-user] simple Postgres CMP HOWTO?

2002-11-26 Thread Pavel Kolesnikov
On Tue, 26 Nov 2002, Matthew Hixson wrote: Does there exist a simple HOWTO with step by step instructions on how to configure JBoss 3.0.4 CMP for use with Postgres 7.2? I've read through lots of Google search results and forum messages dealing with problems and solutions for various

[JBoss-user] Custom SocketFactory for ZIP and SSL

2002-11-26 Thread Alexander Sparkowsky
Hi, I've seen RMI-SocketFactories for SSL or ZIPed connections. When looking at the SSL factory there seems no way to encapsulate the encrypted stream using a (G)ZIPInput/OutputStream or vice versa. Does anyone know a way how I can build a RMI connection which gets (SSL) encrypted AND

[JBoss-user] sample project / deploying servlets

2002-11-26 Thread SainTiss
Hi, In the jboss quickstart docs, there's a chapter about a sample project, but I can't find this sample in the jboss directory... Where can I find it? Actually, what I'm looking for is some simple explanation on how to deploy a servlet step-by-step... Is such available somewhere? Thanks Hans

Re: [JBoss-user] sample project / deploying servlets

2002-11-26 Thread Binil Thomas
see http://prdownloads.sourceforge.net/jboss/JBoss.3.0TemplateAndExamples.zip?do wnload - Original Message - From: SainTiss [EMAIL PROTECTED] To: JBoss Mailing [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 7:33 PM Subject: [JBoss-user] sample project / deploying servlets

Re: [JBoss-user] What should be in client auth.conf to enable login atserver?

2002-11-26 Thread Jonathan . O'Connor
Emerson, Thanks for your advice. I ended up creating MyDatabaseServerLoginModule which gets a DB connection using DriverManager and not JNDI. And this works nicely. I suppose the fully correct way would be to have the client LoginModule connect to the EJB server, and call a session bean to

[JBoss-user] Secure NamingContext

2002-11-26 Thread philipp . wolff
Hi, i'm new to the JBossSX module and i have to secure the NamingContext of my JBoss instance. When i try to fetch the NamingContext of my JBoss from another JVM without setting any security properties (e.g. Context.SECURITY_PRINCIPAL), i'll get one, but i want to prohibit this. So i've tried to

Re: [JBoss-user] sample project / deploying servlets

2002-11-26 Thread SainTiss
Thanks... However, it seems that in this sample, the servlet deployment descriptors (web.xml and jboss-web.xml) were already included (== hand-written)... Isn't there an example of them being autogenerated somehow? (using xdoclet for example, since xdoclet is used for the EJB's, but not for the

RE: [JBoss-user] multi-threaded remote client

2002-11-26 Thread saroj kumar
Hi , 1st Problem can be solved using Commit Option B/C. Refer to TX related Stuff. 2nd Prob is due to the fact that you are iterating the CMR Collection In a different TX. Error Message is explanatory. Are you using TXNew Attribute in one of your methods? It may be due to this. Ex: SLSB

[JBoss-user] A simple question

2002-11-26 Thread kiuma
Hello, I was wondering In an average calculation how many dyna html pages a programmer can produce (sessionbean + entity + struts mvc). I'm near to 1, but I think I'm slow. (and pages are not fully debugged) What speed should be? Thanks, kiuma

[JBoss-user] jndi name of the mysql database

2002-11-26 Thread linuxman
hi, I have a simple BMP to test jboss and mysql, but the problem is, I can access mysql server with the jboss specific database name java:/MySQL, but can not when I change to java:comp/env/jdbc/MySQL. here is my jboss.xml: . resource-ref

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-26 Thread Emerson Cargnin - SICREDI Serviços
David Jencks wrote: I admit I have never set it up and tried it... In the oracle-service.xml specify a jaas security domain In the jaas security domain setup in login-conf.xml use the CallerIdentityLoginModule. you mean IdentityLoginModule?? the CallerIdentityLoginModule doens't appear

Re: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Aaron Metzger
Sorry to glom onto someone else's thread, but I have a related question. After setting up your own category, as below, everything works nicely for my ejbs but Servlets under Jetty don't seem to see the elevated priority level when I jack my com.xxx. priority up to DEBUG. All output from my

[JBoss-user] Same deployment unit?

2002-11-26 Thread SainTiss
Hi, I've read that a servlet for example could have access to an EJB's local interface, if the servlet is in the same deployment unit as the EJB... Does this mean it has to be on the same application server? Or does this mean it's got to be in the same jar? In the second case there seems to be

Re: [JBoss-user] Same deployment unit?

2002-11-26 Thread David Ward
Serlvet goes in war, EJB in jar. Servlet can use local interface to ejb since war and jar both in an ear (the same deployment unit). A Servlet can *not* use a local interface of an ejb that's on a different app server. That would, by definition, imply remote. You can find out the

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-26 Thread David Jencks
It's for use with resource adapters/connectors, so its in the connector module org.jboss.resource.security.CallerIdentityLoginModule Same place as ConfiguredIdentityLoginModule. david jencks On 2002.11.26 10:55:26 -0500 Emerson Cargnin - SICREDI Serviços wrote: David Jencks wrote: I

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Sebastian Hauer
Check your appender. It probably has its threshold set to INFO. Either remove the threshold or create a new appender with no threshold level set and reference it from your category definition: E.g.: appender name=SKNT_CONSOLE class=org.apache.log4j.ConsoleAppender param name=Target

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-26 Thread Emerson Cargnin - SICREDI Serviços
thanks, i'll try it. David Jencks wrote: It's for use with resource adapters/connectors, so its in the connector module org.jboss.resource.security.CallerIdentityLoginModule Same place as ConfiguredIdentityLoginModule. david jencks On 2002.11.26 10:55:26 -0500 Emerson Cargnin - SICREDI

[JBoss-user] how to export an MBean via RMI?

2002-11-26 Thread Geer, Benjamin
I have an MBean that runs within JBoss, and extends java.rmi.server.UnicastRemoteObject. I'd like to make it available to RMI clients outside JBoss. I haven't found anything specifically about this in the JBoss documentation, but the Administration and Development Guide gives me the impression

Re: [JBoss-user] multi-threaded remote client

2002-11-26 Thread Beau Cronin
Thanks for your response. Unfortunately, my application depends on using commit option A for performance reasons. All of my remote session beans use the Required Tx attribute, not RequiresNew. But it seems to me that separate remote calls (from separate client threads) should trigger

[JBoss-user] CMR/CMP Primary-key/Foreign Key Question

2002-11-26 Thread Eric Klimas
Hi all, I'm trying write entity beans in Jboss 3.0.4 that have a CMR as part of the primary key. Is this even possible with EJB (I'd hope so). Basically I have the following tables/objects Tables: Account: accountNum:number various other account fields, etc pk: accountNum Userids:

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-26 Thread Emerson Cargnin - SICREDI Serviços
David Jencks wrote: I admit I have never set it up and tried it... In the oracle-service.xml specify a jaas security domain In the jaas security domain setup in login-conf.xml use the CallerIdentityLoginModule. I am not entirely sure how to set up the login module so it will get the existing

Re: [JBoss-user] IllegalAccessError with package private methods in the same jar

2002-11-26 Thread Scott M Stark
Most likely this is an instance of the following bug: [ 644289 ] ClassLoader issue with protected access and manifest refs http://sourceforge.net/tracker/index.php?func=detailaid=644289group_id=22866atid=376685 You have to move the common jar that contains the classes using package protected

[JBoss-user] deploying war file

2002-11-26 Thread SainTiss
Hi, I'm trying to create a servlet here... I've already created a .war file, and jboss says it's been deployed correctly... Now what is the url for the servlet? localhost:8080/warname is the only thing that doesn't yield an error, but it doesn't execute the servlet either.. Thanks Hans

Re: [JBoss-user] deploying war file

2002-11-26 Thread Emerson Cargnin - SICREDI Serviços
it depends of the mapping you created on your web.xml if no mapping is created, the default is localhost:8080/warname/servlets/sevletname someone correct me if I'm not right. you can use servlet mapping to take the servlets from the URL. like : servlet-mapping

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-26 Thread David Jencks
On 2002.11.26 13:23:12 -0500 Emerson Cargnin - SICREDI Serviços wrote: David Jencks wrote: I admit I have never set it up and tried it... In the oracle-service.xml specify a jaas security domain In the jaas security domain setup in login-conf.xml use the

Re: [JBoss-user] CMR/CMP Primary-key/Foreign Key Question

2002-11-26 Thread Dain Sundstrom
I think Alex has this working in 4.0, but I don't think it is documented yet. -dain On Tuesday, November 26, 2002, at 01:15 PM, Eric Klimas wrote: Hi all, I'm trying write entity beans in Jboss 3.0.4 that have a CMR as part of the primary key. Is this even possible with EJB (I'd hope so).

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-26 Thread Emerson Cargnin - SICREDI Serviços
That is not necessary but might be a good idea. You do have to include tha JaasSecurityDomain attribute with the name you give your CallerIdentitytLoginModule david ok, but include where? in the attribute name=ManagedConnectionFactoryProperties? (that's where the user/pass currently goes)

[JBoss-user] Error Saving Entity with Oracle

2002-11-26 Thread Todd M Benge
Hi, I'm running into troubles when saving an entity bean in Oracle 8.1.7. The same code works properly when the datasource is a MS SQL Server database. The following exception is displayed in the log file. I'd appreciate any tips. Thanks. Todd 2002-11-26 16:50:20,619 ERROR

Re: [JBoss-user] deploying war file

2002-11-26 Thread SainTiss
Hi, I'm working without a mapping currently, but warname/servlets/servletname is giving me a 404, just like warname/servlet/servletname... Hans On Tue, 2002-11-26 at 20:10, Emerson Cargnin - SICREDI Serviços wrote: it depends of the mapping you created on your web.xml if no mapping is

[JBoss-user] JBoss, JDK1.4, FreeBSD

2002-11-26 Thread Schnitzer, Jeff
Has anyone gotten JBoss working on any type of JDK 1.4 on FreeBSD? If so, can you post the version numbers you are using, any special command-line options you are passing to java, and any tricks you might have used to make it work? I get the horrible HotSpot Virtual Machine Error : 11 halfway

[JBoss-user] sotring a cmr result set

2002-11-26 Thread kiuma
Hello, is there any possibility to sort a cmr collection without putting the result in a SortedSet? regards, kiuma --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power Color in a compact size!