[JBoss-user] [EJB/JBoss] - Is jta transaction in jboss threadlocal?

2004-08-03 Thread zhouxiaochao
Is jta transaction in jboss threadlocal? When a session bean executes with required transaction attribute, then the session bean will hold a thread, in jboss3.2.1 TxManager it will attach a transaction with the session bean using threadlocal, but I wonder if so how to support requirednew att

[JBoss-user] [Installation & Configuration] - Re: jboss-3.0.7_jakarta-tomcat-4.1.24 to jboss-3.2.5

2004-08-03 Thread Linux
Can I config tomcat in JBoss the same way as I do in standalone Tomcat server? I want to disable the session persistence in my web application in JBoss. While the config (in server.xml)work in Tomcat 5 server, it can not take effect in JBoss. I am confused about the tomact setting in JBoss. Loo

[JBoss-user] [J2EE Design Patterns] - does using stored procedures mean no CMP? also, what happens

2004-08-03 Thread dukehoops
Hi, I recently read [url=http://j2eeadvisor.com/doc/14180]here[/url] that sometimes it is beneficial (performance-wise) to use stored procedures for more complex queries (i guess instead of entity finder methods). but does using stored procedures force one to abandon CMP, and use BMP? on that

[JBoss-user] [Installation & Configuration] - Re: ECPerf 1.1 Configuration - EJB Locks

2004-08-03 Thread amitskumar
The problem was fixed after we recreated the schema View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844056#3844056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844056 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Socket Timeout whenever I change the system time on wind

2004-08-03 Thread kaypee
Hi ! I am having the same error. Did you manage to fix it ? Any solutions/tips/hints ? TIA, Kunal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844055#3844055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844055

[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get SSL properly configured for web app

2004-08-03 Thread techiestuff
I seem to be missing something rather basic here. Out of curiosity, I changed the authentication method to BASIC and it worked perfectly fine. I am really really confused as to what is wrong with Form based authentication here. I can't used Basic auth method. Any suggestions or alternatives tha

[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-08-03 Thread tfk257
In addition to the above, I have upgraded to JBOSS 3.2.5-tomcat 5.0.26. still can't find where to configure for the certificate principal mapping class in the JbossSecurityMgrRealm. knowing that JbossSecurityMgrRealm is hard coded and there is no way to replace it with other realm. and you can

[JBoss-user] [Beginners Corner] - JBoss Application Server Source Codes

2004-08-03 Thread albren
I believe JBoss AS is an open-source J2EE compliant App Server. Can anybody tell me where I can find its source codes. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844052#3844052 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist

2004-08-03 Thread siupetpet
"darranl" wrote : It is not an issue it is standard J2EE behaviour as described in the EJB specification. | | JBoss does have a configuration file that allows the timeouts to be changed, this is described in the administrators and developers guide. darranl thanks for your input but i've see

[JBoss-user] [EJB/JBoss] - Re: Activation Error Stateful Session Bean: Activation failu

2004-08-03 Thread siupetpet
i have exactly the same problem, and your description of its behavior is very accurate. I want to find out a way to test whether the bean is still valid. my stupid way to do it is this. i have a public void dummy() method in the home interface and the bean. then in the client i have try { home.

[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get SSL properly configured for web app

2004-08-03 Thread techiestuff
Even I am facing the same problem. Using Jboss3.2.1(Jetty). Besides that I was also trying to mix protocols after login. Any help is appreciated. Thanx in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844046#3844046 Reply to the post : http://www.j

[JBoss-user] [Installation & Configuration] - How to configure SSL for JBoss 3.2.3

2004-08-03 Thread vinayshah
I have setup JBoss 3.2.3 on Solaris 9, and I would like to know how to configure SSL for it. I am novice for JBoss environment, can someone directly me to a walk-through(step-by-step) configuration instruction for SSL? Thanks for your time. -Vinay View the original post : http://www.jboss.or

[JBoss-user] [Beginners Corner] - Re: log4j and JBoss

2004-08-03 Thread beked
I actually did work the problem out. I'm sorry I forgot to post back with what I found In my case I did not use log4j. Instead I'm using java.util.logging which I then add a custom JDBC Handler to because I am logging to a DB table rather than a file or the JBoss server log file. Extra h

[JBoss-user] [Security & JAAS/JBoss] - Problems Using DabaseServerLoginModule

2004-08-03 Thread natalia
Hi, I'm having problems setting up JAAS security in JBoss 3.2.3. (I have few years experience as java programmer, but JBoss is relatively new to me). I would be grateful if someone can help me with this problem. I configured DatabaseServerLoginModule, set up Principals and Roles tables in HSQL a

[JBoss-user] [JBoss.NET & SOAP] - Re: Error Adminclient

2004-08-03 Thread nehring
Yes, building a WSR (Web Service Archive) is exactly like building a JAR. Mine generally contain only the "META-INF/web-service.xml" file. I don't put anything special in the MANIFEST.MF, I just let the jar command build one. The EAR should reference the WSR in it's "META-INF/application.xml"

[JBoss-user] [EJB/JBoss] - Re: Understanding findByPrimaryKey

2004-08-03 Thread astewix
Thank you for the reply Alexey! However, I should have been more clear with my question. What I'm really trying to find out is the trace of the findByPrimaryKey() method. I want to understand how the container behaves when findByPrimaryKey() is called and which components are invoked. I am awar

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to recover from failed connection

2004-08-03 Thread fgoldfain
Hey Richie, I have exactly the same problem as you. Have you found an answer or a work around? Thanks, Francois View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844040#3844040 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Persistence & CMP/JBoss] - performance issues updating data using CMP

2004-08-03 Thread vying
Hi,all, I am doing a project which upload a file and then insert the parsing result into the DB(Oracle 9i). The situation is like this,there's main lineitem table and another 2 dependent tables,Each mainline will have a couple of vlaues to be inserted in the dependaent tables. The obser

[JBoss-user] [Beginners Corner] - Re: log4j and JBoss

2004-08-03 Thread john_anderson_ii
I am by no means an authority on this subject. This is kind of a known problem with log4j and application containers. Or, rather, it's not really a problem because this is the expected behavior. Or so I've gathered. >From what I've puzzled out the problem is all about Class loading. When y

[JBoss-user] [EJB/JBoss] - Re: EJB client jar files

2004-08-03 Thread drew2002
Hello all, I have the same problem, I know that with weblogic you get a tool for generating the client JAR, does anyone know of a tool to do the same thing for jboss? Thanks, Drew2002. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844037#3844037 Reply to th

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss should give some sample applications to beginners!

2004-08-03 Thread berlinbrown
Yea, I think that is right, that is the index.jsp that has nothing in it. Actually, I dont think I have any servlet-code that connects to a session bean in a full package, maybe somewhere on the site. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844035#384

[JBoss-user] [Installation & Configuration] - Re: Confiuring the null values

2004-08-03 Thread aalmero
you may initialize your value object's like String attribute to ""; hth aalmero View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844033#3844033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844033 --

[JBoss-user] [Beginners Corner] - Re: Problem stopping JBoss: wrong port number

2004-08-03 Thread aalmero
you can use this script below. #!/sbin/sh | case "$1" in | 'start') | echo "Starting Jboss Server" | /usr/jboss/bin/run.sh>&1 | tee /var/log/jboss & |;; | 'stop') | echo "Stopping Jboss Server" | #PID = /usr/bin/pgrep java | /usr/bi

[JBoss-user] [Beginners Corner] - Re: JBoss ignoring jdbc-type?

2004-08-03 Thread aalmero
from the sql generated Executing SQL: CREATE TABLE Workgroup (id VARCHAR(256) NOT NULL, name VARCHAR(256), CONSTRAINT pk_Workgroup PRIMARY KEY (id)) the error states that VARCHAR max length should only be 255. hth View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Beginners Corner] - Re: Connecting jboss-3.2.5 to Oracle 9i

2004-08-03 Thread aalmero
you can remove other entries as they are optional. consult your DBA for the ff: youroraclehost = can be the ip address of the oracle machine yoursid - system identifier username password | | OracleDS | jdbc:oracle:thin:@youroraclehost:1521:yoursid | oracle.jdbc.driver.Or

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB ejbRemove() never called and OutOfMemory occurs...

2004-08-03 Thread [EMAIL PROTECTED]
The scenario: I am using JBossMQ to hold transient data that is passed to a Queue then to an MDB, data is processed and the result goes to another Queue and another MDB and then the final result is put into a MySql db. The MDB's are pooled using the default config in "standardjboss.xml". For a

[JBoss-user] [Management, JMX/JBoss] - Re: Connecting with JSR160 compliant tool

2004-08-03 Thread abalan
MC4J Management Console does not support remoting for jboss. see the requirements section in http://mc4j.sourceforge.net/usageJBoss.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844028#3844028 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Messaging, JMS & JBossMQ] - Anyone seen this?

2004-08-03 Thread thad
I have a MDB that receives a message and then creates two messages that it delivers onto two different queues. This system will eventually (if I ever get it there) receive hundreds of thousands of messages an hour, so it's important I figure this out. When I put a few hundred messages onto the M

[JBoss-user] [Beginners Corner] - Re: verbose http log

2004-08-03 Thread john_anderson_ii
As far as configuring Jetty to log requests and responses..I can't help you. However, if you need a quick solution for debugging purposes or whatever, I recommend Mozilla Firefox with the LiveHTTPHeaders plugin. This combination allows you to view the requests your browser sends, and their

[JBoss-user] [EJB/JBoss] - Re: XDoclet not generating Local interface

2004-08-03 Thread crowse
Hi pique and darranl Thanks for the info. You may both give me a virtual kick in the pants. DarranI, in fact, these lines should point to the business (i.e. Remote and ((local??)) interfaces, not the homes. A further problem is that if I point the business interface to Remote, everything is OK

[JBoss-user] [Beginners Corner] - verbose http log

2004-08-03 Thread jnesbitt
I'm using Jetty as the web container in my jboss installation. How do I go about configuring the request log so that it prints out the entire http requests and response? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844024#3844024 Reply to the post

[JBoss-user] [HTTPD, Servlets & JSP] - Re: IIS Tomcat Integration error

2004-08-03 Thread chuckharris
We had trouble with isapi_redirector2.dll also. Large file uploads failed. isapi_redirector.dll has performed fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844023#3844023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)

2004-08-03 Thread Dzerzhinsky
Thank you very much. The one think I can't understand it's why my cache in this situation still recieves messages. I don't mean that my onMessage() method being called, but when I look at profiling statistics for my test code I see that most part of time it's took to read from soket in JMS liste

[JBoss-user] [EJB/JBoss] - Re: Can a simple EJB (no app server) client start transactio

2004-08-03 Thread claude.glauser
I found the solution myself. There is a UserTransaction object registered in the jndi tree ("UserTransaction"). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844021#3844021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - jboss 3.2.3 and 3.2.5 on Redhat ES3

2004-08-03 Thread mhemling
When I start JBOSS using the LD_ASSUME_KERNEL at the top of the run.sh (which works fine on Redhat 9) I see about 50 JBOSS processes. Is this normal? When I take the export LD_ASSUME_KERNEL out of the run.sh then I see only 1 JBOSS process. Either way, JBOSS seems to work but I was not sure i

[JBoss-user] [EJB/JBoss] - Problem with the ejb-ql when i start a Entity EJB

2004-08-03 Thread feden
i have problem when deploying the EJb with the same ejb-ql. This is the error... ERROR [org.jboss.ejb.EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select object(o) from BprInstSubProActivityEJB o where o.pngId = ?1 and o.insId = ?2

[JBoss-user] [EJB/JBoss] - Re: Can a simple EJB (no app server) client start transactio

2004-08-03 Thread claude.glauser
Some more infos: In a simple ejb client, I can not call session_context.setRollbackOnly(); because a simple ejb client has no session_context. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844018#3844018 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [EJB/JBoss] - Can a simple EJB (no app server) client start transactions?

2004-08-03 Thread claude.glauser
Hi, we intend to call an ejb (version 2.0) from a stored procedure (java). Here in pseudocode: SQL statement 1 SQL statement 2 call to EJB session bean SQL statement 3 If SQL statement 3 fails, will all the ejb stuff (made by the session bean) roll back also? How can I demarcate transactions

[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread john_anderson_ii
I hope the un-tag-enclosed strings "HR Misc Apps" and "Test Servlet" are actually in CDATA tags like this: | | If you use the code and /code tags inside [] it will display your code properly. The URL patter must begin with a "/" So try /test instead of test, or you could try /test/te

[JBoss-user] [JBoss.NET & SOAP] - Re: Integrate Axis 1.2 with JBoss !!

2004-08-03 Thread zeke7237
Turned out to be pretty easy .. issues were all related to refactoring of JavaServiceDesc from ServiceDesc (I suppose to support C?). Anyway, casting ServiceDesc to JavaServiceDesc at the 4 error points seems to have made it all work .. unfortunately it didn't fix my particular problems, but it

[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread briana
I tried your suggestion and it looks like we're making progress. The server.log now gives the below error. The exact web.xml is also listed below. Do you know why this URL pattern would be invalid? 2004-08-03 15:48:25,488 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in appl

[JBoss-user] [Installation & Configuration] - Platform support

2004-08-03 Thread aberryjr
Hello, Does Jboss support and is certified on z/os and zLinux mainframe systems? What platforms does JBoss support? Thanks, abj. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844013#3844013 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Beginners Corner] - Re: log4j Starting Point

2004-08-03 Thread john_anderson_ii
I think I found the solution to logging seperate applications through seperate log4j instances vice the container wide logger. It is here. I think I need an aspirin now.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844012#3844012 Reply to the post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with collection CMR field and ejb create

2004-08-03 Thread drag0n2
But the relationship is not destroyed... If I run the clear statement alone and then commit, no changes are made to the database whatsoever The only way to destroy this relationship in the db is to delete the rows (because the relationship resides in the primary key of the child record).

[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread john_anderson_ii
"briana" wrote : | | http://java.sun.com/dtd/web-app_2_3.dtd";> | | HR | HR Misc Apps | | | TestingServlet | /test | | | Is this the full text of your web.xml file? If so, you need to declare the servlet before you declare it's mapping. Like this: | | http

[JBoss-user] [Persistence & CMP/JBoss] - is entity exists

2004-08-03 Thread dannyb23
Is there a better way to know whether an entity bean exists other than trying a finder and catching a FinderException ? (I dont like the idea of having an exception for an unexceptional state) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844008#3844008 Re

[JBoss-user] [Beginners Corner] - log4j Starting Point

2004-08-03 Thread john_anderson_ii
I couldn't really decide which forum to put this in, so this one sounds as good as any. I've been tooling around a bit with Jakarta's log4j, and it seems to be an awesome utility to have. Needless to say, I'm now interested in using this library in applications. For the most part I understand

[JBoss-user] [EJB/JBoss] - Re: OutOfMemoryError - Singleton PK Generator

2004-08-03 Thread john_anderson_ii
"jamesstrachan" wrote : | As an example, if you are expecting 100,000 help desk records a year, provide for 1,000,000 numbers before rolling round. The system will roll round to 1 after ten years, and it is highly unlikely that any low numbered records will still be around. | This, I thin

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL problem - column xxx specified twice

2004-08-03 Thread mzint
Hello Alexey, The SQL-statement that JBoss tries to execute is: anonymous wrote : Executing SQL: INSERT INTO COMPONENTFIELDVALUE (CONTRACT, COMPONENT, FIELDNAME, SEQUENCE, VALUE, contract, component) | VALUES (?, ?, ?, ?, ?, ?, ?) I switched the Datasource to Oracle in the meantime and got t

[JBoss-user] [Security & JAAS/JBoss] - JaasSecurityManager and caching of X509Certificate chains

2004-08-03 Thread RolfArne
Hi, I have a Login module that I use with SSL client certificates. The log from the module suggests that it is invoked by the JaasSecurityManager on every client call, even when the client (and principal) is previously authenticated, and the principal is in the cache. Other username/password ba

[JBoss-user] [Security & JAAS/JBoss] - Urgent production issue regarding to jboss security

2004-08-03 Thread ms26368
Hi , I have jboss3.2.5 running in production with jdk 1.4.1_02. I am facing this error java.lang.IllegalAccessError: class oracle.jdbc.driver.$Proxy576 cannot access its superinterface oracle.jdbc.driver.ScrollRsetStatement at java.lang.reflect.Proxy.defineClass0(Native Method) a

[JBoss-user] [Installation & Configuration] - Not using a war/ear as in Tomcat.

2004-08-03 Thread peake
I would like to deploy (loosely speaking) a simple web app that is not much more than a helloworld.jsp. Under Tomcat I can create a context directory, have a WEB-INF empty dir there and a single JSP file in the context dir. How(if i can) do something similar in JBoss if I don't have a war file

[JBoss-user] [EJB/JBoss] - Re: XDoclet not generating Local interface

2004-08-03 Thread darranl
>From reading the XDoclet documentation you need to remove the following lines from >the @ejb.bean section: - * local-business-interface="natis.interfaces.TestBeanLocalHome" | * business-interface="natis.interfaces.TestBeanRemoteHome" You have instructed XDoclet to use the local home

[JBoss-user] [JBoss.NET & SOAP] - What causes hrefs in response messages

2004-08-03 Thread SimonJohnMorgan
Hi, I'm getting a response message back roughly along the lines of: | | | | | ... | Please say if I taken out too much detail. I understand what the href + multiRef is doing, however some of my web svc client code doesn't seem to like this. It is expect

[JBoss-user] [HTTPD, Servlets & JSP] - Nested Tags don't seem to work

2004-08-03 Thread shoumya
I am working on an application which uses Struts 1.1.The application uses nested tags. .. . The myProperty is an object whose getter/setter is defined in the form bean and and it is set in Action class. The childProperty object is initialised with data from the database views with the

[JBoss-user] [Security & JAAS/JBoss] - Re: Setting CertificatePrincipal in JBoss 3.2.5

2004-08-03 Thread [EMAIL PROTECTED]
It can't be done because this setting was not externalized. It will be for the 3.2.6RC2 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843994#3843994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843994 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: custom security

2004-08-03 Thread [EMAIL PROTECTED]
Designing today for this empty statement is pointless: anonymous wrote : | J2EE.3.7.2 Instance-based Access Control | Some applications need to control access to their data based on the content of the | data, rather than simply the type of the data. We refer to this as Âinstance-based |

[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread cuoz
I just brought up a site with nukes and needed to protect a "members" area. Here is what I did: 1. I defined a group that all users should be a member of to be able to read the members only area. 2. I created a page with id "/members/index.html and put some content on it 3. Using the permissi

[JBoss-user] [Security & JAAS/JBoss] - JAAS and ServiceMBean

2004-08-03 Thread marquier
In a secured context managed by JAAS, must a JBoss ServiceMBean have to login to access Beans ? Even if the service is logged by a LoginContext, I've an error: Principal==null when this service call the method create on the Bean Home after the authentication (succeded). What's the problem ? Th

[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread ninus2
euh? group="" level="READ" pattern="::" group="admins" level="READ" pattern=".*:.*:.*" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843990#3843990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843990 -

[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread ninus2
I mean, if I set : sorry. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843989#3843989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843989 --- This SF.Net ema

[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread ninus2
please help!! if I set : for my HtmlBlock, simply, doesn't it mean that any other group I created that's diff from Anonymous and Admins won't see the block??? is there a reason why it wouldn't work? also, when one logs in, the html module is called, so I can forbid just a page by using

[JBoss-user] [Security & JAAS/JBoss] - Re: custom security

2004-08-03 Thread sblanc1
Hello Scott, I agree this can be done today but looks to me this is going to be part of the J2EE framework in the future. I'm referring to J2EE 3.7.2 "Instance-based Access Control" in the following document: java.sun.com/j2ee/j2ee-1_4-pfd2-spec.pdf Sebastien. View the original post : http://w

[JBoss-user] [Security & JAAS/JBoss] - Setting CertificatePrincipal in JBoss 3.2.5

2004-08-03 Thread RolfArne
Hi, I wonder how I can set the certificatePrincipal attribute on the JBossSecurityMgrRealm used for web applications in Jboss 3.2.5. I've tried to add a Realm element inside both the Engine and Host element to the server.xml-file in jbossweb-tomcat50.sar, but no luck. That is, an instance of th

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2004-08-03 Thread goombah
Hi all, got workbook source code, just follow links for java books , and there is a link to the workbook download from the book page itself. Problem : When I build the examples with ant JBOSS throws an exception : ejb-jar.xml must define a valid DOCTYPE! Any ideas ? Thanks in advance . *** F

[JBoss-user] [JBoss.NET & SOAP] - Re: Error Adminclient

2004-08-03 Thread jstlktht77
Thanks for the reply. I can try this. Is building wsr file similar to jar file??Also, can you tell me what needs to be included into application.xml? Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843984#3843984 Reply to the post : http://www.jboss.

[JBoss-user] [JBoss.NET & SOAP] - Re: Error Adminclient

2004-08-03 Thread nehring
Do you have a special need to access the AdminClient directly? I generally put the WSDD in a "web-service.xml" file an build a WSR with that. The WSR is laid out like: | mywebservice.wsr: | META-INF/ | META-INF/MANIFEST.MF | META-INF/web-service.xml | The WSR is referenced in

[JBoss-user] [Management, JMX/JBoss] - How to use Mbean to get Server Info in a java appln?

2004-08-03 Thread arunchaks
Hi all, I am trying to write a standard Mbean that could return me the status of a server or any property of the server. I am able to write a sample Mbean and deploy it in Jboss and acess via JMX-console (ie HTML adaptor)? How do i acheive this if my client is a java application rather than a br

[JBoss-user] [JCA/JBoss] - Re: alternative to accessing datasource from an RMI client

2004-08-03 Thread darranl
Run the code that accesses the datasource inside the application server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843981#3843981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843981

[JBoss-user] [EJB/JBoss] - Rollback not removing row in DB

2004-08-03 Thread antalf
Hi, I'm having trouble when trying to rollback a transaction when a new entity bean is created. The problem is that if a rollback occurs (calling the setRollbackOnly()) all the changes are rolled back but the row is not deleted, even though the create() call on the entity bean is beeing made in

[JBoss-user] [EJB/JBoss] - Re: JBossQL and DynamicQL

2004-08-03 Thread hmae
Thank you for your replies. I tried both suggestions and it works now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843979#3843979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843979 -

[JBoss-user] [Security & JAAS/JBoss] - Re: SSO Support in jboss-3.0.8_tomcat-4.1.24?

2004-08-03 Thread kabkhan
In that case probably only from 3.2.3 onwards. 3.0 is pretty old, why not use a more recent version of JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843977#3843977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Clustering/JBoss] - Re: Http session replication not happening in clustered envi

2004-08-03 Thread vivekoswal
Putting some more info in the above post...there are times when we see the following error in the JBOSS_HOME/server/all/log/server.log file: 2004-08-03 16:55:25,328 DEBUG [org.jboss.ha.httpsession.server.ClusteredHTTPSessionService] getHttpSession called for session: cIROaQ-rCKQpZmYvGPLR+w**.an

[JBoss-user] [Beginners Corner] - DataSource Problem

2004-08-03 Thread sachin_powale
I am using jboss3.2.5 with Tomcat as web server. I want to configure the datasource name. But we are not using ejbs. The application is just using simple java classes, jsp and servlets. The DataBase is MySQL. How to configure the DataSource name in jboss for the application. Is it possible using

[JBoss-user] [Clustering/JBoss] - Http session replication not happening in clustered environm

2004-08-03 Thread vivekoswal
Hi all, We are setting up a cluster of servers, the specifications are as follows: OS: Windows 2000 Professional JDK: jdk1.3.1_04 JBoss version: jboss-3.2.1_tomcat-4.1.24 (on 2 nodes viz server1 and server2.) Apache: 2.0.45(installed on server1) We have included element in the web.xml of our

[JBoss-user] [Installation & Configuration] - directory structure under deploy

2004-08-03 Thread iliev
Hi, i've a WEB application using EJB CMP, Stateless session bean, servlet, jsp The question is: how can i work in a non "packaged" environment ? now i produce an ear that i put under deploy directory, but every times i modify something i need to redeploy How can i organize my directory, and wi

[JBoss-user] [Persistence & CMP/JBoss] - Re: LIKE problem with CMP and declared-sql

2004-08-03 Thread Roberto72
Auto-resolved! ;) Solution: * @jboss.declared-sql signature="java.util.Collection findByInfo(java.lang.String info)" * where="info LIKE '%' || {0} || '%'" * strategy="on-find" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38439

[JBoss-user] [Installation & Configuration] - Re: Confiuring the null values

2004-08-03 Thread preeti123
Thanks Topricana for the response. As I am very new to programming I am still learning( almost end user till last month) I have a page where the user enter the details in fields. As soon as I visit the page I see the fields as displaying null. But if I navigate to the same page thro' some other l

[JBoss-user] [Security & JAAS/JBoss] - SSO Support in jboss-3.0.8_tomcat-4.1.24?

2004-08-03 Thread conor macmahon
Dear All, Can anyone confirm that SSO is supported in jboss-3.0.8_tomcat-4.1.24? I ask as the official wiki on SSO mentions jboss 3.2.*, not 3.0.* (i.e. http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn). Best, Conor View the original post : http://www.jboss.org/index.html?modul

[JBoss-user] [Clustering/JBoss] - Re: my jboss4 Clustering debug messengers.. who can help..?

2004-08-03 Thread dkdkdk
when i use tcpdump to sniffer the packets on node 2, i found that nothing packet from node 1. So i think that the real jboss clustering haven't setup correctly. i think some config files need to config. so who can give me more help...? 3ks.. View the original post : http://www.jboss.org/inde

[JBoss-user] [Clustering/JBoss] - my jboss4 Clustering debug messengers.. who can help..?

2004-08-03 Thread dkdkdk
i have set a jboss clustering . but i think have some wrong. when a node (ip1, http://ip1/index.htm )is down, another can get the session (ip2, http://ip1/index.htm ). I haven't get the clustering work well. so who can figure the steps how to test the Jboss 4 RC1 clustering ? thanks a lot.

[JBoss-user] [Clustering/JBoss] - Service Locator 4 JBoss Cluster

2004-08-03 Thread trossmy
Before I reinvent the wheel...maybe somebody can point me to a good working implementation of a service locator for a jboss cluster Thx Tilman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843964#3843964 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread darranl
Are there any errors higher in the output? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843963#3843963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843963 --- Th

[JBoss-user] [Persistence & CMP/JBoss] - Re: LIKE problem with CMP and declared-sql

2004-08-03 Thread Roberto72
Post error: where="idA LIKE '%{0}%'" is where="info LIKE '%{0}%'" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843961#3843961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843961 -

[JBoss-user] [Persistence & CMP/JBoss] - LIKE problem with CMP and declared-sql

2004-08-03 Thread Roberto72
JBOSS: 3.2.4 PostgresDB: 7.4.2 EJB XDocLet declaration: * @ejb.finder signature="java.util.Collection findByInfo(java.lang.String info)" * query="" * @jboss.declared-sql signature="java.util.Collection findByInfo(java.lang.String info)" * where="idA LIKE '%{0}%'" *

[JBoss-user] [EJB/JBoss] - Re: XDoclet not generating Local interface

2004-08-03 Thread pique
As a first step, include attribute "extends" and "local-extends" in tag @ejb.home and @ejb.interface like this * @ejb.home * extends="javax.ejb.EJBHome" * local-extends= View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843958#3843958 Reply to th

[JBoss-user] [Management, JMX/JBoss] - Re: scheduler at midnight

2004-08-03 Thread dannyb23
opps the snipped wasnt seen correctly here it is : mbean code="org.jboss.varia.scheduler.Scheduler" name=":service=Scheduler" attribute name="StartAtStartup"true/attribute attribute name="SchedulableClass"mypackage.util.jmx.JMXLogScheduler/attribute attribute name="Schedulab

[JBoss-user] [Security & JAAS/JBoss] - help on using JAAS with JBoss-3.2.2 on red hat

2004-08-03 Thread heema
Hi I am using jboss-3.2.2 for deploying EJBs on red hat OS. Any one could pls. send me some source code (links) where i can test ejb-security involving EJBs. I require some sample examples of JAAS authentication on jboss-3.2.2, & EJB security. Thanking in advance. View the original post : ht

[JBoss-user] [Management, JMX/JBoss] - scheduler at midnight

2004-08-03 Thread dannyb23
Hi How can I update the following xml snippet so that it would be scheduled to every day at midnight ? I have tried updating InitialStartDate to midnight without success... true mypacakge.util.jmx.JMXLogScheduler NOW 1 -1 View the original post : http:

[JBoss-user] [EJB/JBoss] - Re: Understanding findByPrimaryKey

2004-08-03 Thread loubyansky
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843954#3843954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843954 ---