[JBoss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8

2006-02-11 Thread j2ee_junkie
javatwo, I do not know if JBoss has any limitations of character encoding, but there are a few things about your question that I may be able to help with. Note: assuming you are using Tomcat... First, if you created a filter with url-pattern = 'j_security_check', it will never be executed. Th

[JBoss-user] [JBossCache] - Re: use TreeCache to replicate http Session

2006-02-11 Thread hjshi2000
That helps. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923111#3923111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923111 --- This SF.net email is spons

[JBoss-user] [JBoss Portal] - get 404 error when get http://localhost:8080/portal

2006-02-11 Thread weipingy
I am using jboss-4.0.3SP1 with Portal 2.2 Oracle 9i database. The server seems starting fine. Schema is created. but get 404 error when typing above. Any help is appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923110#3923110 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-02-11 Thread [EMAIL PROTECTED]
In your example, you were using JavaSerialization over remoting (JavaSerializationManager in your stack trace). So, it looks this is a problem of AOP Proxy Serialization. I will try to replicate this problem on monday. (Althrough I have already used Remote Proxies on Friday. But I will update e

[JBoss-user] [JBossCache] - Re: use TreeCache to replicate http Session

2006-02-11 Thread [EMAIL PROTECTED]
Are you running in the JBoss appserver? If see, JBoss Cache based session replication is standard; all you need to do to use it is run the 'all' config and add an empty "distributable" element to your web.xml. To answer your question, #2 is the only workable solution. Locks are obtained at th

[JBoss-user] [Beginners Corner] - UserTransaction

2006-02-11 Thread javatwo
Hello, I am using JBoss 4.0.3SP1. Which jar file has the javax.transaction.UserTransaction class? I could not find it from JBoss installation. Do I need to download it from sun.com? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923107#3923107 Reply t

[JBoss-user] [JBoss Portal] - Re: Getting Portlet Instacne Name From JBoss Portal

2006-02-11 Thread [EMAIL PROTECTED]
Anyone?? Is it possible View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923106#3923106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923106 --- This SF.net emai

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-02-11 Thread elkner
"[EMAIL PROTECTED]" wrote : Guys, | I need more information. I need a test case I can reproduce. Currently, we cannot reproduce any of your problems. | Now I've found one too in an old app, which I'm currently converting to 4.0.4RC1. Reduced stuff looks like this: | @Entity | @Table(

[JBoss-user] [JBossCache] - use TreeCache to replicate http Session

2006-02-11 Thread hjshi2000
I am learning Jboss TreeCache. I need use TreeCache to replicate http sessions in cluster environment. I have two options: 1) have a singe node tree. Put all sessions in hashmap associated with the node. or 2) have multiple node tree: each node corresponding a session. Which one is beest in te

[JBoss-user] [JBoss/Spring Integration] - Re: TransactionManager and UserTransaction

2006-02-11 Thread javatwo
I am trying to use JTA UserTransaction. I have JBoss 4.0.3 SP1. Where is the JTA jar file? I could not find it. Do you I need to download from sun? which jar is The class javax.transaction.UserTransaction in? Thanks for help View the original post : http://www.jboss.com/index.html?module=bb&op=

[JBoss-user] [JBoss Seam] - Conference Talks

2006-02-11 Thread [EMAIL PROTECTED]
I'll try to keep this list of Seam talks up to date: March 24: TSSS Las Vegas March 28: JBoss ON the Road London March 30: JBoss Users Group London May 15-18: JavaOne San Francisco April 25: MySQL Users Conference Santa Clara June 12-15: JBoss World Las Vegas June 21-23: TSSS Barcelona September 1

[JBoss-user] [Installation, Configuration & Deployment] - Re: Installing JBoss 4 on Mac OS X 10.4.* ?

2006-02-11 Thread conradwt
Hi, it seems that I was able to get JBoss installed and it appears to be running. Now, I'm attempting to build the bank application and I'm getting the following error message when I execute the following command: ant -f jboss-build.xml compile BUILD FAILED /Users/conradwt/Desktop/startguide40

[JBoss-user] [JBoss Portal] - Re: AdminCMSPortlet and JSR-168

2006-02-11 Thread [EMAIL PROTECTED]
No. The CMSAdminPortlet in 2.2, ties in to the new 2.2 CMS object model and will not work in 2.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923098#3923098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923098 --

[JBoss-user] [JBoss Portal] - Re: CMS editor problems...

2006-02-11 Thread [EMAIL PROTECTED]
ah ok. So the pages are getting set in the CMS repository, but when they are served, the port is being removed on links? If you are seeing this, I suggest you post a feature request, as the regexp that rewrites links did not take in to account non-port-80 urls. View the original post : http://

[JBoss-user] [JBoss Seam] - Re: JBPM task integration

2006-02-11 Thread [EMAIL PROTECTED]
Put a breakpoint in Hibernate src at AbstractEntityPersister:3301 and see what you have got instead of the the expected org.jbpm.graph.de f.Node. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923096#3923096 Reply to the post : http://www.jboss.com/index.htm

[JBoss-user] [EJB 3.0] - What happened to javax.ejb.InvocationContext.getEJBContext()

2006-02-11 Thread SunFire
Hi there, in JBAS 4.0.3sp1 I was able to do something like this to get the current caller principals name from within an interceptor: | @AroundInvoke | public Object checkLoggedIn(InvocationContext invocation) throws Exception { | [...] | String l

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-02-11 Thread [EMAIL PROTECTED]
Guys, I need more information. I need a test case I can reproduce. Currently, we cannot reproduce any of your problems. There are two completely different problems I see on this thread: 1) Stateful Session Bean passivation errors 2) Remoting serialization errors. Please, I need small test c

[JBoss-user] [JBoss Seam] - Re: @Factory problem

2006-02-11 Thread [EMAIL PROTECTED]
Well, the combination of @In and @Factory is working in all the examples. And I would not have expected @Factory to be called when you are calling an action method. Why would it be called? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923093#3923093 Reply t

[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2006-02-11 Thread [EMAIL PROTECTED]
"mjschehl" wrote : Shouldn't Seam come packaged with these Login and Security check type of functionality built-in and overridable if needed? Perhaps, but the trouble is that I am not sure that all Seam apps will want to do security stuff in the same way and I am not enough of an expert on secur

[JBoss-user] [Installation, Configuration & Deployment] - Installing JBoss 4 on Mac OS X 10.4.* ?

2006-02-11 Thread conradwt
Hi, could someone tell me where I can find the exact setup instructions for installing JBoss on Mac OS X 10.4.4? At this time, I have downloaded the following file: jboss-4.0.4RC1-installer.jnlp I clicked on the above file and followed the prompts. Now, what should be the next step? Finally,

[JBoss-user] [Beginners Corner] - Installing JBoss 4 on Mac OS X 10.4.* ?

2006-02-11 Thread conradwt
Hi, could someone tell me where I can find the exact setup instructions for installing JBoss on Mac OS X 10.4.4? At this time, I have downloaded the following file: jboss-4.0.4RC1-installer.jnlp I clicked on the above file and followed the prompts. Now, what should be the next step? Finally,

[JBoss-user] [JBoss Portal] - Re: help in starting portal server (No null layout allowed h

2006-02-11 Thread mholzner
do you see any errors or warnings on server startup ? my guess would be that the stack trace you see is a result of something more profound going wrong earlier (like no connection to the database, etc. ) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39230

[JBoss-user] [JBoss Getting Started Documentation] - Installing JBoss 4 on Mac OS X 10.4.* ?

2006-02-11 Thread conradwt
Hi, could someone tell me where I can find the exact setup instructions for installing JBoss on Mac OS X 10.4.4? At this time, I have downloaded the following file: jboss-4.0.4RC1-installer.jnlp I clicked on the above file and followed the prompts. Now, what should be the next step? Finally,

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Installing JBoss 4 on Mac OS X 10.4.* ?

2006-02-11 Thread conradwt
Hi, could someone tell me where I can find the exact setup instructions for installing JBoss on Mac OS X 10.4.4? At this time, I have downloaded the following file: jboss-4.0.4RC1-installer.jnlp I clicked on the above file and followed the prompts. Now, what should be the next step? Finally

[JBoss-user] [JBoss Seam] - @Factory problem

2006-02-11 Thread emsa
I have this: | @In(create = true) | private InObj inObj; | | @Out | private OutObj outObj | | @Factory("outObj") | public void init() { .. } | | public String action() [ ... } | The inObj is a Session object. When accesing 'outObj' from a page the Factory method is cal

[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.0.2RC1 - Released

2006-02-11 Thread jlaskowski
"[EMAIL PROTECTED]" wrote : * [JBPORTAL-530] - Null Pointer Exception in MyFacesGenericPortlet | Hi Julien, According to JIRA - http://jira.jboss.com/jira/browse/JBPORTAL-530 is not closed. How could it make it in the Change Notes? I assume it lists fixed issues, doesn't it? Jacek View t

[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2006-02-11 Thread mjschehl
I don't understand the desire to protect a Seam project using web.xml's security descriptors. It seems to me that a much stronger security would be implemented using annotations. I would want to see an annotation called @RequireUserType or @RequireUserRole. | @Stateful | @Name("search")

[JBoss-user] [Beginners Corner] - JBoss 4.0.4RC1 won't build ejb3

2006-02-11 Thread jlauman
I get the following error of both the v4.0.4RC1 src distro and the cvs. Any help on how to resolve this would be appreciated. Thanks, Jack compile-classes: [javac] Compiling 111 source files to /opt/java/jboss-cvs/jboss-4.0/ejb3/output/classes [javac] /opt/java/jboss-cvs/jboss-4.0/ej

[JBoss-user] [JBoss Portal] - Non-serializable Attribute exception from Portlet if using e

2006-02-11 Thread [EMAIL PROTECTED]
I've deployed my own JSR-168 Portlets from my own WAR file and they show up in the manager fine. I can create instances using the management portlet as well. As soon as I add one of my instances to any page in the portal, if they use expiration-cache > 0, I get the exception that follows. I'm u

[JBoss-user] [JBoss jBPM] - Re: foreach ActionHandler

2006-02-11 Thread jim.mcmaster
I wrote a custom fork handler that does this. Instead of forking off a single child token for each outgoing transition, it forks off a child token for each element in the list for each transition. I use it with a single outgoing transition, so the effect should be what you describe. The code

[JBoss-user] [Security & JAAS/JBoss] - can username be UTF-8

2006-02-11 Thread javatwo
Web application using JBoss and servlets. I am using FORM authentication. Can username be UTF-8? I create an account, its username is in UTF-8 encoding, chinese characters. But login was not successful. Can JBoss built-in authentication handle UTF-8 encoding for username? Ascii username works.

[JBoss-user] [JBoss Portal] - action url or render url support

2006-02-11 Thread kevnlin
action url or render url support chinese code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923078#3923078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923078 --

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Abnormalin HttpServletRequest

2006-02-11 Thread jdragon
Is there a bug in Tomcat? I always get 127.0.0.1 from request.getRemoteAddr()! I'm trying to the actual client's IP address which getRemoteAddr is supposed to return. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923077#3923077 Reply to the post : http://w

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error with Hibernante

2006-02-11 Thread KaYa93
I'm trying to use Hibernate (3.1) with JBoss (4.0.3) on a postrgesql database (8.1). I've got this error : 19:27:45,496 INFO [STDOUT] org.hibernate.MappingException: An AnnotationConfiguration instance is required to use at org.hibernate.cfg.Configuration.parseMappingElement(Configur

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-02-11 Thread ajwhitney
Just to add some more data to this thread... I'm running into the same issue. JBoss AS 4.0.4RC1. I have a web application running inside JBoss referencing stateless session beans and detached entities in the same JBoss instance via remote interfaces. This occurs whether the the web application

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-02-11 Thread [EMAIL PROTECTED]
I'm trying to replicate this problem. Any help is appreciated. >From what I read here it looks like AOPProxy serialization. I have seen recent >changes on that. I will do some tests trying to replicate that. http://jira.jboss.com/jira/browse/EJBTHREE-423 (Look also at the development thread:

[JBoss-user] [JBoss jBPM] - foreach ActionHandler

2006-02-11 Thread corfian
I'm trying to learn jBPM by modeling a simple process. After reading the documentation and/or forum posts, it is not yet clear to me how I could model a foreach node ActionHandler. In other words, I'm trying to implement an action handler which is able to fetch, let's say, an ArrayList from the

[JBoss-user] [Beginners Corner] - Re: Jboss XML file descriptions.

2006-02-11 Thread fabcipriano
JBoss AS doc: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ topic of xml configs: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch01.html#ch1.config.section View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923071#3923071 Reply to the post : http://www

[JBoss-user] [JBossWS] - Re: how to set time out in soap client using JBossWS

2006-02-11 Thread luan
Sorry, having problem posting the entire wsdl. Somehow it leaves the most important parts. Anyway, the service has one method which takes one string parameter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923070#3923070 Reply to the post : http://www.jbos

[JBoss-user] [EJB 3.0] - Re: Sahoo 'using java Persistence JEE 5' blog

2006-02-11 Thread elkner
E.g. because my EJBs use util classes, which are required on the rich client (and in the feature possibly on the web app as well). Right now, I've to add the util classes to the ejb.jar - otherwise I get ClassNotFoundExeptions when invoking the beans. OK, perhaps it might work to add a class-pa

[JBoss-user] [JBossWS] - Re: how to set time out in soap client using JBossWS

2006-02-11 Thread luan
- http://com.mgiparser/MgiParser"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:ns2="http://com.mgiparser/MgiParser/types"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://com.mgiparser/MgiParser"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> - - http://com.mgipar

[JBoss-user] [JBossWS] - Re: how to set time out in soap client using JBossWS

2006-02-11 Thread luan
This is the wsdl: http://com.mgiparser/MgiParser"; xmlns:tns="http://com.mgiparser/MgiParser"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:ns2="http://com.mgiparser/MgiParser/types"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>

[JBoss-user] [JBossWS] - Re: how to set time out in soap client using JBossWS

2006-02-11 Thread luan
Thanks for the info. I followed the WSClientDII example and created a jboss client trying to access a doc/lit service generated by jwsdp. When I run the client, I got NullPointerException because the string parameter I passed into the method became null somewhere. I believe this should work unle

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate NOT working for me with JBoss--Please Help! #

2006-02-11 Thread russray
whoops. classpath not setup in JBOSS to use all the jar files.duh.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923065#3923065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923065 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Hibernate NOT working for me with JBoss--Please Help! #$%%^

2006-02-11 Thread russray
I have a simple Struts application which uses Hibernate, MySQL, eclipse 3.1, MyEclipse workbench 4.1. The application is running on JBOSS 4.0.3SP1 When I call the jsp, everything seems to be working fine, but Hibernate is not locating some specific file. I have not made any unique changes to t

[JBoss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2006-02-11 Thread TrippCCN
Hey guys thanks for your replies. Cool I'll use length instead. The only reason I didn't do that was so that I wouldn't have to override the length message which I feel should be diff from an empty value... no biggie. Ya I read the hibernate docs, and it seems simple, but I couldn't get the

[JBoss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2006-02-11 Thread epbernard
Hi, For #1, read theHibernate Annotations reference documentation, chapter 3.1.3 Basically you can create a ValidatorMessages.properties or ValidatorMessages_fr.properties and put it in your classpath root patrick is right @Length will be faster than a regexp View the original post : http://www

[JBoss-user] [EJB/JBoss] - Can a Stateless Session Bean look up the same instance ?

2006-02-11 Thread mohan_sm
Hello All, I have a Stateless Session Bean A, which has two methods, method1() and method2(). The method1() is with "NotSupported" and method2() is with "Required" transaction attributes. I have a requirement to call these methods sequentially. My doubt is, can i write a look up to the sam

[JBoss-user] [Beginners Corner] - not able to start Jboss 4.0.2

2006-02-11 Thread badkasys
when i start my jboss i get following error message 18:35:49,359 WARN [ServiceController] Problem starting service jboss.web.deployment:war=invoker.war,id=1859269027 java.lang.NoClassDefFoundError: org/jboss/util/id/SerialVersion at javax.security.jacc.WebResourcePermission.(WebResource

[JBoss-user] [JBoss Portal] - Re: signout no longer works

2006-02-11 Thread [EMAIL PROTECTED]
have you signed the contributor agreement ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923058#3923058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923058 --- T

[JBoss-user] [EJB 3.0] - Re: Sahoo 'using java Persistence JEE 5' blog

2006-02-11 Thread [EMAIL PROTECTED]
Not yet. Why is it such a big deal? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923057#3923057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923057 --- This SF.

[JBoss-user] [EJB 3.0] - Re: Sahoo 'using java Persistence JEE 5' blog

2006-02-11 Thread elkner
Hmmm, is this (*.ear/lib/availableToAll.jar) on your roadmap for 4.x ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923056#3923056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923056 -

[JBoss-user] [Beginners Corner] - Re: problem with JBoss class loading

2006-02-11 Thread the-gtm
In almost all my projetcts I user the following packaging structure and it works fine : - All JARs, WARs, SARs... at EAR root level - Nothing classpath related in MANIFEST.MFs - All modules are in the application.xml eg : | | 3rd-party.jar | | View the origin

[JBoss-user] [JCA/JBoss] - ClassCastException with ActiveMQ RA

2006-02-11 Thread jajansen
Hi, I am trying to integrate ActiveMQ 3.2.1 RA into Jboss 4.0.4RC1. I've used the Sonic MQ example for configuration of JCA 1.5 inflow support. When I deploy my MBean I get the following exception: | Caused by: java.lang.ClassCastException: org.activemq.message.ActiveMQTopic | at o

[JBoss-user] [Installation, Configuration & Deployment] - Re: pb starting jboss-4.0.3SP1 : java.net.UnknownHostExcepti

2006-02-11 Thread JD__
Any idea ? JD__ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923053#3923053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923053 --- This SF.net email is sponsore

[JBoss-user] [EJB 3.0] - Re: Problem With EJB or JBOSS CACHE..seems L1 Cache Problem

2006-02-11 Thread elkner
Interesting. Wondering, whether it would help in case 2), to create the query outside of loop and just setting the id inside the loop via query1.setParameter("pid", id). Also it would be interesting, how the second case looks, if you em.flush() at the end of the loop (i.e. after clearing orders

[JBoss-user] [JBoss Seam] - Re: Seam architecture questions

2006-02-11 Thread js8523
Hi I'm no expert but these are my initial thoughts: 1) For common class loaders across multiple EAR's use a jboss-app.xml file for each ear with the same loader repository name. This will allow all of your EAR's to load the model entity beans. | http://www.jboss.org/j2ee/dtd/jboss-app_4_

[JBoss-user] [JBossCache] - Re: JGroups 2.2.9 released

2006-02-11 Thread collabe
"[EMAIL PROTECTED]" wrote : Details at http://www.jboss.com/products/jgroups. | | This should be API-compatible with JGroups 2.2.7 and 2.2.8, but we haven't yet tested it with JBoss 3.2.x and 4.0.x. You can replace your jgroups JAR with the one from 2.2.9beta, but this is not yet officially

[JBoss-user] [J2EE Design Patterns] - Re: unable to run servlets using jboss4.0.3SP1

2006-02-11 Thread Rajamohan
Hi can you details the work an the file structure View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923048#3923048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923048 -

[JBoss-user] [J2EE Design Patterns] - Re: I am new to Jboss app server

2006-02-11 Thread Rajamohan
Hi sriram, CAn you specify why you want to learn JBoss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923047#3923047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923047 ---

[JBoss-user] [JBoss jBPM] - Re: mulit-threading and commit transaction

2006-02-11 Thread RAlfoeldi
Hi Raj, correct, you will not achieve true Java concurrency with a fork. This is discussed in some detail in various Threads here. There are some very good reasons for jBPM not to start threads. jBPM implements concurrency in a business process sense, not in a Java multithreading sense. This s