[JBoss-user] [Persistence & CMP/JBoss] - Re: getting error message

2004-05-27 Thread nischalsharma
Thanks for ur reply i am not getting one point that is -> i have already created the table in schema .so this error would have appeared while creating the table in DB and why i am getting this error when i am running client that call the CMP create function with regards nischal View the ori

[JBoss-user] [Persistence & CMP/JBoss] - Re: getting error message

2004-05-27 Thread loubyansky
ORA-00972 identifier is too long Cause: The name of a schema object exceeds 30 characters. Schema objects are tables, clusters, views, indexes, synonyms, tablespaces, and usernames. Action: Shorten the name to 30 characters or less. http://download-west.oracle.com/docs/cd/B10501_01/serv

[JBoss-user] [Security & JAAS/JBoss] - Re: Yet another principal=null case

2004-05-27 Thread jburugupalli
Hi, I think the awnswer for your question is given in different posts but any way i repeat... that the tomcat some how looses the LoginContext information while handling its threads Suppose servlet1 calling a bean has a correct context while executing in thread1 but the same servlet call

[JBoss-user] [Persistence & CMP/JBoss] - getting error message

2004-05-27 Thread nischalsharma
hi friends i am getting the this error message "Could not create entity:java.sql.SQLException: ORA-00972: identifier is too long" while creating the CMP through my client . the given below is what appear on jboss console: --- 11:32:57,234 INFO [EARDeplo

[JBoss-user] [Beginners Corner] - Re: urgent...Please help me out.

2004-05-27 Thread milgurung
Thanks for the reply. I don't think that my system does have old version of JBoss jars since this is the first installation of JBoss in my machine. Can you elaborate me how to re-check whether I have old jars of JBoss in my system? Sincerely, Milan c gurung View the original post : http:

[JBoss-user] [Messaging, JMS & JBossMQ] - JMSException when starting JBoss server...

2004-05-27 Thread helly15
Hello everybody, I have a problem with Messagedrivenbeans: I included MDB in my application that is running on a JBoss Server. It is working fine on my local server, and also on some of my collegues machines it is working fine. But on some of my collegues machines the following exceptions are thro

[JBoss-user] [Performance Tuning] - Re: Pages not fully rendered

2004-05-27 Thread treespace
I would have bet money on the default 8k page buffer being the problem: seen that one myself. Also, if you have written your own tags make sure you reset the tag's state. New web containers are aggressive about reusing tag objects whereas you could get away with improper tag implementations in

[JBoss-user] [Nukes User] - FAQ - READ ME FIRST!

2004-05-27 Thread jae77
this forum is for questions reguarding using nukes. more information can be found on the nukes wiki page, located here: http://www.jboss.org/wiki/Wiki.jsp?page=NukesForJBoss please be sure to use the search before posting any questions, it is possible that the question has been asked before and

[JBoss-user] [Installation & Configuration] - Re: HELP - Cant Log into Mgt Console

2004-05-27 Thread javadon
Thanks Adrian. Not sure how this happened because I am the only one who has interacted with the new installation. How do I remove the the username/password feature? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836560#3836560 Reply to the post : h

[JBoss-user] [Security & JAAS/JBoss] - Re: Yet another principal=null case

2004-05-27 Thread gturner
Scott, could you please elaborate on what you mean by "whatever thread pool is dispatching the invocation should not be leaking the security context"? I have been using JBoss 3.2.3 in production for several months and it has an external RMI client (running on Tomcat 4.0) that is invoking sessio

[JBoss-user] [HTTPD, Servlets & JSP] - Re: anyone konws a JSP debugger for tomcat ?

2004-05-27 Thread maddmike
MyEclipse IDE has one. Works pretty good. http://www.myeclipseide.com/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836557#3836557 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836557 ---

[JBoss-user] [Persistence & CMP/JBoss] - column "XXX" of relation "YYY" does not exist with CMR, JBOS

2004-05-27 Thread pockey
Hi I'm new to CMR. I tried to create a one-to-many relationship between CompanyBean entity bean and UserGroupBean entity bean by XDoclet. I'm using JBOSS3.2.3 and Postgresql 7.4.2. Without creating the relationship between them, I was able to insert records into Postgresql database by both be

[JBoss-user] [EJB/JBoss] - question about changing column name generated by ejb

2004-05-27 Thread caesarkim
I think that a table is created by an entity bean when it's deployed. I have two entity bean(Administrator and Main_Project) that is related to each other(one-many relationship). so when it's deployed, i have two tables created(Administrator and main_project). but the table 'main_project' has "A

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deployment errors when 2nd of 2 apps starts to deploy in

2004-05-27 Thread [EMAIL PROTECTED]
You cannot scope nested deployments. For an ear deployment, scoping may only be specified at the ear level via its META-INF/jboss-app.xml descriptor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836554#3836554 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Use Tibco JMS from JBoss 3.2.3

2004-05-27 Thread [EMAIL PROTECTED]
The configuration is largely the same with three main differences. 1) The jms configuration has moved to the subfolder jms so you an easily delete jms from your server 2) The file jbossmq-service.xml has been split up to more easily delete/replace components you are not using (see docs/examples/jm

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deployment errors when 2nd of 2 apps starts to deploy in

2004-05-27 Thread tbauer
Well, as usual I spoke too soon.. I followd the Isolation example on the URL given above. In jboss.xml, for each application (just changed the name) icsboomerang.com:loader=ICS_BIS Get the same problem as before, except that I also get: 16:10:08,412 WARN

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-27 Thread erik777
ironbird: You're right. And I do apologize for coming off as condescening. Believe me, though, it has nothing to do with his being a newbie. I am normally very supportive of people learning something new. His tone was condescending, so I felt he needed to hear himself in context. There's

[JBoss-user] [Clustering/JBoss] - How to implement get/setDistributedState?

2004-05-27 Thread timdrisdelle
I've got a singleton mbean (extends HASingletonSupport), and I want to have some runtime-configurable parameters be shared across the cluster. If a parameter is changed on one of the nodes, I want it to be reflected across all of the nodes (...which is why I'm using singleton!). I read the Clus

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Use Tibco JMS from JBoss 3.2.3

2004-05-27 Thread khkachn
Hi Adrian, Sorry, I was not reporting a problem, just wanted to see if anyone had done this already and would be willing to share information. The JMS layout must have changed from 3.0 to 3.2.3 and the Tibco instructions don't apply %100 anymore. deploy/jms-service.xml looks like it is now

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Use Tibco JMS from JBoss 3.2.3

2004-05-27 Thread [EMAIL PROTECTED]
In what way do the 3.0 instructions not work in 3.2.3? It is no use reporting problems that don't exist. You can bind as many jms implementation's admin objects into jndi as you like. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836548#3836548 Reply to the

[JBoss-user] [JCA/JBoss] - Progress DataSource: Wrong driver class for this connection

2004-05-27 Thread victorstar
Hi guys, I'm trying to configure the datasource for the Progress 9.1D database in JBoss. Here is my progress-ds.xml: | | | | | ProgressPDS | | jdbc:JdbcProgress:T:dbserver:3305:liveappl | com.progress.sql.jdbc.JdbcProgressDriver | user | p

[JBoss-user] [Installation & Configuration] - Re: HELP - Cant Log into Mgt Console

2004-05-27 Thread [EMAIL PROTECTED]
There is no user/password by default, somebody changed it for a reason. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836546#3836546 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836546

[JBoss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException

2004-05-27 Thread [EMAIL PROTECTED]
You still have the old class somewhere. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836545#3836545 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836545 --- This

[JBoss-user] [Messaging, JMS & JBossMQ] - Use Tibco JMS from JBoss 3.2.3

2004-05-27 Thread khkachn
Hi, I am interested in accessing a Tibco JMS broker from an application running in JBoss. The notes that come with Tibco are for adding it to JBoss 3.0 Does anyone know if there are notes on adding Tibco to JBoss 3.2.3? Also, can I run JBossMQ JMS and still access Tibco or is this an either or

[JBoss-user] [Performance Tuning] - Re: Thee Distinct and Important Issues

2004-05-27 Thread treespace
I updated the wiki and found a bug. You used double quotes on a "word" rather than ''two'' single quotes to italicize. The save stopped saving when it hit that. Very wierd. Anyway, I started again and changed the double quotes to double-single-quotes, as it were. View the original post : http

[JBoss-user] [EJB/JBoss] - Re: sharing data between multiple instances of a session bea

2004-05-27 Thread [EMAIL PROTECTED]
Your question is "I want Stateful behaviour but with Stateless beans". You are haven't got a prayer. You can use singletons in your stateless beans private static final MyCache cache = MyCache.getSingleton(); but ... 1) you are still breaking the spec if you hold state based upon the client 2) do

[JBoss-user] [EJB/JBoss] - Re: sharing data between multiple instances of a session bea

2004-05-27 Thread damo9f
I think you can squirrel the data away in JNDI. A more interesting question to me is that if you want fast access to per-JVM caches, can you somehow synchronize access to static data without deadlocking the system? It seems you've got to be able to do that, because 3rd party persistence product

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can a servlet in a remote tomcat access the JBossMQ

2004-05-27 Thread [EMAIL PROTECTED]
[ur]http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmx/src/main/org/jboss/ha/jndi/HANamingService.java?only_with_tag=JBoss_3_2_4_RC2[/url] or as a workaround ./run.sh -b myhost.com View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836540#3836540 Reply to the p

[JBoss-user] [EJB/JBoss] - Re: UserTransaction Concurrency

2004-05-27 Thread [EMAIL PROTECTED]
You cannot use a UserTransaction across multiple threads on a client. UserTransactions generally don't scale. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836539#3836539 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-27 Thread ironbird
You are too much revendicative to exchange with both of you. When you want to justify yourself so much, it's suspect for me. Continue to consider everyone as newbie while you seems to stand yourself on some cloud, nobody's care. Nice to meet you too, but not too much ! View the original post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: create queues using JMX

2004-05-27 Thread [EMAIL PROTECTED]
The testsuite is always a good source of examples: http://cvs.sourceforge.net/viewcvs.py/jboss/jbosstest/src/main/org/objectweb/jtests/providers/admin/JBossMQAdmin.java?rev=1.3&view=auto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836537#3836537 Reply to th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JDBCStateManager. Modifiying the default config seems no

2004-05-27 Thread [EMAIL PROTECTED]
Which part of "DO NOT HIJACK" do you not understand? http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums Your question is answered here: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigSecurityManager View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836536#3836536

[JBoss-user] [Installation & Configuration] - Re: Setting LDAP connections timeout (Urgent!)

2004-05-27 Thread hbaxmann
scott: ;-) have learned something new from your answer in the JBossSX thread, thanks. kazouta: it is in general not a good idea to 'crosspost' in two different forums the same question, others with the same problem may not see the right answer. View the original post : http://www.jboss.org/

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-27 Thread hbaxmann
nice to meet you, too bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836534#3836534 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836534 --- This SF.Net email

[JBoss-user] [Installation & Configuration] - HELP - Cant Log into Mgt Console

2004-05-27 Thread javadon
I just installed JBOSS on my Win2k server machine but I cant log into the management console. I am trying to log in at http://localhost:8080/jmx-console/ but it is asking me for a username and password. But during installation JBOSS never asked me to set up a username and password. PLEASE HELP!

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deployment errors when 2nd of 2 apps starts to deploy in

2004-05-27 Thread tbauer
Thanks Scott...I think this is what I am looking for...will try it out when I get back to my dev machine... cheers, Tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836532#3836532 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Beginners Corner] - Re: [urgent] URLConnection from EJB

2004-05-27 Thread kaobiore
ahhh ... forget it! i've just deleted an redeployed all packages ... it works now! sorry for this thread! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836531#3836531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [JBoss Getting Started Documentation] - Re: Java Adventure Builder

2004-05-27 Thread roguegeek
anyone I'm having the same difficulty. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836530#3836530 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836530 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JDBCStateManager. Modifiying the default config seems no

2004-05-27 Thread learnJB
Hi! Adrian, I am using temporary queue to send and receive messages I was wondering if there is a way I could avoid the use of : guest I tried but it is required for temporary queue it seems? Could you please enlighten me on this issue. Thanks! View the original post : http://www.jboss.org/

[JBoss-user] [Beginners Corner] - [urgent] URLConnection from EJB

2004-05-27 Thread kaobiore
Hi all! I really don't know what i'm doing wrong. Please help me out! I try to make an http-post-request within a stateless session bean with no success! | URL url = new URL(serverUrl); | URLConnection connection = url.openConnection(); | HttpURLConnection wcon = (HttpURLConnection) conne

[JBoss-user] [Installation & Configuration] - Re: org.jboss.console.navtree.AppletBrowser not found error

2004-05-27 Thread sskotla
I have found the solution for this problem. You need to install "java plug in" on the local system and this needs to be the default Java Run Time for the browser. The Java Plugin should be enabled in Tools->Internet Options under Advanced Tab for IE browser. Thanks Satya View the original pos

[JBoss-user] [Beginners Corner] - Cant Login to Mgt. Console

2004-05-27 Thread javadon
Hey all, I just installed JBoss on my Win2k server. But when I try and log onto the management console it asks me for a username and password which it never asked me to set up. What did I do wrong?? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [EJB/JBoss] - UserTransaction Concurrency

2004-05-27 Thread humandoing
Hello, I am doing some performance testing right now, and I am trying to figure out exactly how UserTransaction "does its thing". I have looked into the source code of ServerVMClientUserTransaction and TxManager, and have a few questions. I am using your standard UserTransaction type code as fo

[JBoss-user] [Beginners Corner] - Re: JBoss can't compile jmx-console after deploying Cocoon

2004-05-27 Thread triathlon98
Note that you probably have to do some fiddling with Xerces as well. Cocoon is very sensitive to using the latest version of Xerces. The stuff which is included in JBoss seems to be at least differently organized. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] CMP2.0 database?

2004-05-27 Thread William I. Zumwalt
I'm new to ejb's and playing w/ an app that uses CMP. I now understand how the EJB maps to the ejb-jar.xml and see the query lines in the xml, but I dont' understand where the database is that is being used by jboss3.2. Where do I look for this and how can I see what's in it? Will

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-27 Thread erik777
hbaxmann: You are clearly learning relational theory in an academic setting. What school are you attending? What is your major? For one, no one completely normalizes data in the real world, and by real world, I mean business applications. When someone does, it's clear it's a college student

[JBoss-user] [Beginners Corner] - Re: Simple Tomcat Excercise

2004-05-27 Thread spiritualmechanic
I think this sort of thing is going to be more prevalent in the very near future, Jeremy. I have very similar needs (except JCA instead of Tomcat). I think people's use of lightweight containers for iterative development/unit testing are opening people's eyes to using JBoss in the same sort of w

[JBoss-user] [Javassist user questions] - Re: sub code generation with javassist.rmi.StubGenerator

2004-05-27 Thread andleg
Hi The rmi sample is done from an applet. Is it required to use this from applets or can we use this from any java program ? Best regards Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836515#3836515 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Javassist user questions] - [REQUEST] Please post version 2.6 jar to ibiblio

2004-05-27 Thread mungoknotwise
Please post version 2.6 jar to ibiblio. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836512#3836512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836512

[JBoss-user] [Security & JAAS/JBoss] - Re: Yet another principal=null case

2004-05-27 Thread [EMAIL PROTECTED]
If you are using the RMIAdaptor to do any invocations this clears the security association from the calling thread as its meant to be used by external clients and whatever thread pool is dispatching the invocation should not be leaking the security context. >From within the server MBean invocat

[JBoss-user] [Installation & Configuration] - Re: Embedded Tomcat and Transaction Manager question

2004-05-27 Thread [EMAIL PROTECTED]
tomcat does not need the tx manager. This dependency is generally not needed and is a holder to when the tx manager service was not part of the conf/jboss-service.xml and there could be issues with web components talking to ejbs and other transacted resources before the tx manager was available.

[JBoss-user] [Security & JAAS/JBoss] - Re: Propagate the user info to servlets

2004-05-27 Thread a_wronski
Hi Scott! Thanks for you help. I've wrote something like this: | public class PrincipalValve extends ValveBase { | public void invoke(Request req, Response res , ValveContext vctx) throws IOException, ServletException { | | HttpRequest httpReq = (HttpRequest)req;

[JBoss-user] [Beginners Corner] - Re: Resource Adapter warning message

2004-05-27 Thread jmaclatchie
I suppose the immediate answer is because I'm still learning and did not fully understand the code in the tutorial that I used. After rereading your response/question and reviewing my code it seems that the [INFO] message then is comming from the connection.close() call. I have the following c

[JBoss-user] [Security & JAAS/JBoss] - Re: Application Managed Security

2004-05-27 Thread [EMAIL PROTECTED]
Yes, you have to handle this at the login module level, but this is not application-managed-security, which cannot be used with CMP as the application is not the one obtaining the connection. Its container managed security with the security context derived from the caller's context, and there sh

[JBoss-user] [Installation & Configuration] - Embedded Tomcat and Transaction Manager question

2004-05-27 Thread skid
Hi everyone, I am trying to clean up as much as possible my JBoss "default" configuration and I have a question regarding the jbossweb-tomcat41.sar. If I look at the mbean description for this service, I have a dependency with the TransactionManager (this can be found in the file deploy/jbossw

[JBoss-user] [Messaging, JMS & JBossMQ] - create queues using JMX

2004-05-27 Thread rogerday
Hi, Please can anyone point me at programming examples for managing JMS queues using JMX dynamically? I'm trying to run a JBoss application under JUnit. TIA, Roger View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836504#3836504 Reply to the post : http://ww

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-27 Thread themuppeteer
IT WORKS! Thanks a million catalean! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836503#3836503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836503 --- Th

[JBoss-user] [Beginners Corner] - Re: Simple Tomcat Excercise

2004-05-27 Thread [EMAIL PROTECTED]
Then complete the exercise and post it to the wiki. If someone can do it with less they can update the wiki. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836502#3836502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss/oracle/xdoclet auto-increment

2004-05-27 Thread sbv_chris
Thanks, that helped a lot. The sequence is being used now to auto-increment. and yes, the trigger isn't needed. Thanks again for the precise help! Regards, Sunil. "lafr" wrote : I have it working with this tags: | at bean level I have e.g.: | * @jboss.entity-commandname="oracle-s

[JBoss-user] [HTTPD, Servlets & JSP] - Servlets fail when migrating from 3.0.3 to 3.2.3

2004-05-27 Thread ShaunA
I have developed an application that works fine under the JBoss 3.0.3 bundle and have recently upgraded to 3.2.3. Under 3.2.3 when I try and get to a servlet I get a "The requested resource is unavailable" error. Everything is the same. The servlets even show up under the web-console. Any ideas

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-05-27 Thread abachelard
Hi there, I am having similar issue to jdmsai. I am playing around with this at home where I have JBoss 3.2.3 running on a Linux RedHat 7.2 server, and Eclipse running on my Win2000 box. JBoss home is Samba share directory, so Eclipse and Lomboz can see it. When I try to start JBoss from Eclipse

[JBoss-user] [Security & JAAS/JBoss] - Re: RMI & JAAS

2004-05-27 Thread northwhite
Scott, You are right about my assumption and that's also my fear. So, I'll back to the hard-coded way. As for JINI security model, I do not have one in particular. In our case, we just use standard JAAS as - get a LoginContext - login - get subject - call Subject.doAs...(...) Thanks, JD View

[JBoss-user] [Beginners Corner] - Re: Weird EAR deployment error (java.lang.VerifyError)

2004-05-27 Thread [EMAIL PROTECTED]
Read: http://www.jboss.org/wiki/Edit.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836498#3836498 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836498 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: Yet another principal=null case

2004-05-27 Thread lbasili
Hello, thank you for your response. I removed the catch block, but actually that exception is not thrown. Notice that both create() and getPostLoginData() methods of the invoked EJB require authentication, and that only the second one fails. IMVHO somewhere I overwrite the SecurityAssociation set

[JBoss-user] [Security & JAAS/JBoss] - Re: Application Managed Security

2004-05-27 Thread jeeads
Scott, Should I create a different security realm for each of the application managed security datasources with a login module that reads the configuration datasource for user name and password for the specific datasource? If so should I then leave the password and username attributes out

[JBoss-user] [Beginners Corner] - Re: Simple Tomcat Excercise

2004-05-27 Thread jeremyweber
Yes, I have been doing that, unfortunately I can not be sure I have removed all unnecessary parts this way. Its seems this would be a fairly popular thing to do and I am surprised I can not find anything in the Wiki or Forums that detail the steps. View the original post : http://www.jboss

[JBoss-user] [Security & JAAS/JBoss] - Re: Authentication in JBoss (login)

2004-05-27 Thread [EMAIL PROTECTED]
Start with the JAAS How to in this forum: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46370 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836492#3836492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836

[JBoss-user] [Nukes User] - Re: Issues with 5/25 snapshot

2004-05-27 Thread jae77
no, you are correct - that works if you are using ddls to generate the table schema. however, since we are now supporting 4 databases (hsql, mysql, postgres, oracle - altho not all components have ddls for every database), it's becoming a rather large pita to have to maintain multiple ddls (one

[JBoss-user] [Security & JAAS/JBoss] - Re: Form-based authentication

2004-05-27 Thread Tang
Thanks, I have another question: If a user try to access a page and is redirected to a form based authentication page, how can I dynamically determine the original page the user wanted to access. In fact, if my from based authentication page is deployed on another adress than the application, wh

[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-05-27 Thread [EMAIL PROTECTED]
No, BaseCertLoginModule will be in 3.2.4. I gave no Connector configuraton in the referenced wiki page, but either one you show will work provided that the server keystore contains the client cert and it is signed by a trusted CA or the javax.net.ssl.trustStore points to a keystore with the CA c

[JBoss-user] [Security & JAAS/JBoss] - Re: Authentication in JBoss (login)

2004-05-27 Thread skyfalke
Hello remowaller. Take the following links as an introduction in J2EE-based security: http://www.javapassion.com/j2ee/WebApplicationSecurity_speakernoted.pdf [url] http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html[/url] -> chapter 32 It is not specific for JBoss but it is a first step to

[JBoss-user] [Beginners Corner] - Re: Simple Tomcat Excercise

2004-05-27 Thread [EMAIL PROTECTED]
Reverse the exercise and take the default configuration and remove stuff until it does not work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836488#3836488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836488 --

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread [EMAIL PROTECTED]
"davout" wrote : | Seems to me that JBoss would be best advised to create a set of XML config files for each RDBMS already defined for use as 'DefaultDS'. Then have a batch file that simply copies the required files into place. | That is not how it works. It is open source. You want it, y

[JBoss-user] [Beginners Corner] - Simple Tomcat Excercise

2004-05-27 Thread jeremyweber
As an excercise I want to take a minial server configuration and add the tomcat service to it, but I am having touble doing so. Can someone list the steps I would need to configure the server to use the tomcat sar? I would appreciate it... View the original post : http://www.jboss.org/index.h

[JBoss-user] [Nukes User] - Re: Issues with 5/25 snapshot

2004-05-27 Thread alm
This may be off base and perhaps even wrong, but here is how I got PostgreSQL working: change all declarations of `SERIAL PRIMARY KEY NOT NULL' to just `SERIAL PRIMARY KEY'. As per the PostgreSQL documentation, both `SERIAL' and `PRIMARY KEY' imply `NOT NULL' (see

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread davout
Found the answer... The 'mysql-jdbc2-service.xml' file had to be changed to use the 'DefaultDS' name within the mbean definition. Seems to me that JBoss would be best advised to create a set of XML config files for each RDBMS already defined for use as 'DefaultDS'. Then have a batch file that

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread [EMAIL PROTECTED]
I can expect you to get it wrong if you just try it and see, but I would expect you make an effort to find out what you did wrong, rather than just dumping every stacktrace into the forums for us to answer while you play solataire or talk to your work mate about last night's baseball game. View th

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread [EMAIL PROTECTED]
It is answered on the JMS FAQ http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossMQ Of course since you didn't bother to use search, you never got that far down the page. Which is why this post is in the wrong forum. It should be in the JCA (datasource) or JMS forum. What is annoying is not the rep

[JBoss-user] [Installation & Configuration] - Re: Setting LDAP connections timeout (Urgent!)

2004-05-27 Thread [EMAIL PROTECTED]
No. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836471#3836471 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836471 --- This SF.Net email is sponsored by: Oracl

[JBoss-user] [Security & JAAS/JBoss] - Re: Yet another principal=null case

2004-05-27 Thread [EMAIL PROTECTED]
Then prove that the LoginException neverThrown is in fact never thrown. I would say it is being thrown and therefore you have no security context, thus you have a null principal. No magic there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836470#3836470 R

Re: [JBoss-user] sticky session: apache server and Jboss server

2004-05-27 Thread Vladyslav Kosulin
I don't think so. But you can try to split these pages to 2 web applications, and configure them separately to disable sticky sessions only for 1 of it. But now you must implement a shared session between applications. Vlad Igor Galperin wrote: Hi! Maybe somebody can help me. I set up one Apach

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread davout
I following the previous correspondents instruction and copied the file 'mysql-jdbc2-service.xml' into the 'deploy/jms' folder (and removed the equivalent hsql file). This seems to have cured the first problem. I now get the following (error?) messages at the end of the JBoss start up sequence

Re: [JBoss-user] Rollback for batch inserts fail

2004-05-27 Thread Adrian Brock
Please try the latest and greatest before posting. Fixed in 3.2.2+ (7 months ago) http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/main/org/jboss/resource/adapter/jdbc/Attic/WrappedConnection.jpp See revision 1.1.2.9 You are more likely to get an answer if you post in the forums. On Thu,

[JBoss-user] [JBoss.NET & SOAP] - Complex Type Serialization Problem

2004-05-27 Thread reinerka
Hi, I'm tryting to get several EJB methods exposed as Web Services. The problem I'm facing is that the methods are taking multiple complex types as arguments and returns again a complex type. I'm using JBoss 3.2.3 & JBossIDE 1.2.3 (with the XDoclet plugin for JBoss.NET - which should really be

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread raja05
Mysql doesnt support subqueries AFAIK. Try changing it to this in ur hsqldb-jdbc2-service.xml for DELETE_MARKED_MESSAGES_WITH_TX DELETE JMS_MESSAGES FROM JMS_MESSAGES msg , JMS_TRANSACTIONS tran WHERE msg.TXID = tran.TXID AND TXOP = ? This works for 4.0.x and there is a different syntx for 4.1

[JBoss-user] [EJB/JBoss] - javax.naming.CommunicationException

2004-05-27 Thread n_ton
Hi, I'm getting a strange error and I can't figure out where it's coming from. The error is: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: com.jumptech.ejb.data.ClassificationKey; local class incompatible: stream classdesc serialVersionUID = 35162637982

[JBoss-user] [EJB/JBoss] - JBoss3.2.3/Tomcat4.1.3.0 problem !

2004-05-27 Thread bilo_ass
Hello everybody I am currently using the following setup: Server: JBoss 3.2.3 (default context) on a Windows 2000 under Java 1.4.2_01 (Sun-JSDK), Client: jsp client in tomcat 4.1.30, Windows 2000 the same network domain with Java 1.4.2_01 (Sun-JSDK) with dynamic IP. The programm is a simp

[JBoss-user] Rollback for batch inserts fail

2004-05-27 Thread Petropoulos Vasilis ([EMAIL PROTECTED])
Hi, I am using a batch sentence to insert some rows in one table. Although i rollback this process, rows are writen in my database. I am using JBoss 3.2.1 and my database is Oracle. Any suggestions? Context ctx = null; DataSource ds = null; java.sql.Connection dbConnection

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread davout
>From a support perspective it may be tedious answering the same questions time after >time, but to stop this you have to expose the answers in a fashion where they may be >easily located. I've looked at both FAQ and the WIKI - and have even run a search - and can find no specific step by step

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can a servlet in a remote tomcat access the JBossMQ

2004-05-27 Thread kennel
I get the error as follow, javax.servlet.ServletException: Exception in processign request javax.naming.CommunicationException: Failed to connect to server 0.0.0.0:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 0.0.0.0:1100 [Root exception is java.n

[JBoss-user] [Security & JAAS/JBoss] - Re: Application Managed Security

2004-05-27 Thread jeeads
Scott, Thanks for the quick reply. I understand what you said and I know how to use the getConnection with the DAO design pattern. My delima is that I am using CMP Entity Beans to access fine grained objects in the datasources, how would I configure the container to use getConnection with

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP 2.0 open source & STABLE container

2004-05-27 Thread [EMAIL PROTECTED]
jboss 3.2.4RC1+ uses tomcat 5.0.x which is servlet 2.4, jsp 2.0. You apparently are shocked rather easily. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836455#3836455 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=383

[JBoss-user] [Security & JAAS/JBoss] - Re: RMI & JAAS

2004-05-27 Thread [EMAIL PROTECTED]
The main assumption is incorrect. A secured component is not running within a Subject.doAs priviledged block. This is something you could add via a custom ejb interceptor, but it is not the mechanism for securing components used by jboss. Securing the ejb gives you the JAAS login for free, your

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread [EMAIL PROTECTED]
Why didn't you? 1) Use search or read the FAQ and stop wasting people's time with questions that have been answered many times before. 2) Read the comments at the top of hsqldb-jdbc2-service.xml http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums View the original post : http://www.jboss.org/i

[JBoss-user] [Security & JAAS/JBoss] - Authentication in JBoss (login)

2004-05-27 Thread remowaller
Is there a good tutorial or website about the authentication in JBoss. the aim is, that I've got a table with users and theirs passwords, so that I can be sure, that only the specific user can login and use my application. has anybody a hint? thanks. View the original post : http://www.jboss.

[JBoss-user] [Installation & Configuration] - Problem using MySQL as DefaultDS

2004-05-27 Thread davout
I'm trying to adapt my JBoss3.2.3 to use MySQL V4.0.16 as the default data source. However, when I run JBoss I get the following errors... | | 13:56:48,522 INFO [TxConnectionManager] Started jboss.jca:service=TxCM,name=JmsXA | | 13:56:48,532 INFO [DefaultDS] Bound connection factory

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.2 abnormal termination

2004-05-27 Thread [EMAIL PROTECTED]
Then check your OS logs. JBoss won't just shutdown magically unless it has been told to do so by a signal from the OS. Either a bad one (like a segmentation fault) or a ctrl-c from the user. The other alternative is you have some code doing System.exit() or System.halt(); View the original post

[JBoss-user] [Security & JAAS/JBoss] - Re: RMI & JAAS

2004-05-27 Thread northwhite
Will this work?: 1. Configure the EJB (let's call it SBean) which access remote server thru RMI with security checking. 2. Configure all other EJBs which access the SBean with a security-identity/run-as role-name 3. Setup a special security domain for the specified role The main assumption is

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.2 abnormal termination

2004-05-27 Thread rafcio
"[EMAIL PROTECTED]" wrote : JVM bug | | Check for dumps in $JBOSS_HOME/bin There aren't any dump files. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836447#3836447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Performance Tuning] - Performance of JBOSS 3.2.3 on AIX versus Linux.

2004-05-27 Thread Avinash Bandgi
Hi All, I have web application deployed in JBOSS 3.2.3 on AIX - with IBM JDK (java full version "J2RE 1.4.1 IBM AIX build ca1411-20030930") and on Linux with Sun JDK ( "java full version 1.4.2_03-b02" ). Same application deployed in same Application server on different platforms with differen

  1   2   >