[jboss-user] [Tomcat, HTTPD, Servlets JSP] - httpservletrequest.getProtocol returns null when invoked usi

2007-04-06 Thread ashwinnk
Hi, I am using a portletrequestdispatcher to include a servlet in the doView method. Within the servlet a NULL is returned if i try to get the protocol of the request using getProtocol. I expected to see HTTP/1.1. Below is the code snippet of how I include the servrlet -

[jboss-user] [JBoss Seam] - Re: accessing EntityManager in java action constructor

2007-04-06 Thread [EMAIL PROTECTED]
Use a page action in pages.xml like this: page view-id=/foo.xhtml action=#{boo.loadData}/ ... ... The method is called before your page is rendered. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035219#4035219 Reply to the post :

[jboss-user] [JBoss Seam] - S:SelectDate DatePicker: Specified value is not a valid dat

2007-04-06 Thread [EMAIL PROTECTED]
Ch24 Table 24.1 anonymous wrote : | Specified value is not a valid date/time. | How do I override this message? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035220#4035220 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:fileUpload Usage Sample

2007-04-06 Thread [EMAIL PROTECTED]
Chapter 24. Table 24.1. Or one of the example projects can be copied. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035221#4035221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035221

[jboss-user] [JBoss Seam] - Re: S:SelectDate DatePicker: Specified value is not a valid

2007-04-06 Thread [EMAIL PROTECTED]
Oh yes, and the Captcha message public @interface CaptchaResponse { String message() default input characters did not match; } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035223#4035223 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - NamingContext cannot be cast to AnswerBean

2007-04-06 Thread efmcuiti
Hello everyone, I have an EJB3 (.par) persistence project deployed in a Jboss 4.0.5 GA. I needs to instantiate the AnswerBean (a remote interface) from a stand alone java application. My code looks like: | props.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);

[jboss-user] [JBoss Seam] - Re: S:SelectDate DatePicker: Specified value is not a valid

2007-04-06 Thread [EMAIL PROTECTED]
javax.faces.convert.DateTimeConverter.CONVERSION = must be a valid date for the date picker... Anyone know about the capcha?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035228#4035228 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 - Mailing process - Exception during deployment

2007-04-06 Thread ygiriyap
Hi Martin/All ... Got it going.Finally could send mails. Had to provide auth details(javamail session properties) in my jbpm.cfg.xml file. - for sending mails using smtp hosts(other than localhost) ... we need to provide the details like mail.smtp.host, mail.smtp.port, mail.smtp.auth,

[jboss-user] [JBoss Portal] - httpservletrequest.getProtocol returns null when invoked usi

2007-04-06 Thread ashwinnk
Hi, I am using a portletrequestdispatcher to include a servlet in the doView method. Within the servlet a NULL is returned if i try to get the protocol of the request using getProtocol. I expected to see HTTP/1.1. Below is the code snippet of how I include the servrlet -

[jboss-user] [JBoss Portal] - Re: problem with deployin

2007-04-06 Thread [EMAIL PROTECTED]
I had the same issue. It as resolved after removing lang attribute from description and display-name. description xml:lang=ENStruts Test Portlet portlet-nameStrutsPortlet/portlet-name display-name xml:lang=ENStruts Test Portlet/display-name Pancham. View the original post :

[jboss-user] [JBoss jBPM] - Re: (NOTE: In JBPM 3.2)Decison nodes - trivial issues - help

2007-04-06 Thread ygiriyap
Could someone help me out here.Have spent quite sometime on this.!!! This seems to be a minor issue. Any pointers?? Thanks for your time. --Yash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035236#4035236 Reply to the post :

[jboss-user] [JBoss Getting Started Documentation] - user name password

2007-04-06 Thread Manubi
I have downloaded jboss 4 and now running webconsole , now it is asking username and passowrd can any tell the username and password, in the documentation i serached but couldnt get thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035238#4035238 Reply

[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox

2007-04-06 Thread Vitalik
I have been very surprised when I replace Set with List.Now all works correctly. It is any glitch View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035239#4035239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035239

[jboss-user] [JBoss jBPM] - Re: Fork Node Issues

2007-04-06 Thread [EMAIL PROTECTED]
There are different solutions to this problem, but I would not create a custom join node for it. 1. You could use two tasks on a single task-node, the read-only task assigned to the student is not 'endable' and it can only end when the second task is ended. To do this, end the read-only task

[jboss-user] [JBoss Seam] - Jboss AS 4.2.0 RC1 switched to Glassfish Faces (instead of m

2007-04-06 Thread grzegorz.knapczyk
New JBOSS AS 4.2.0 RC1 includes JSF Glassfish implementation. Is it possible to deploy the seam application on it? How? I assume that Jboss Seam is also going to migrate to Glassfish JSF implementaion? View the original post :

[jboss-user] [JBoss jBPM] - Re: (NOTE: In JBPM 3.2)Decison nodes - trivial issues - help

2007-04-06 Thread [EMAIL PROTECTED]
Yash, Did you try something like this? condition expression=#{P1 P2}/ I am not sure about this, would have to check the source code, but I think the EL evaluation is not used on the text contents of the condition element. I think it is using beanshell instead in that case. Cheers, Koen

[jboss-user] [Clustering/JBoss] - This node cannot be suspected!

2007-04-06 Thread anovarini
Hello everybody, I'm new to this forum, and after a fast search to find something helpful I still have a question about a configuration issue that I'm experiencing. I have a cluster with two nodes (IPs are 10.0.0.152 and 10.0.0.153). When I run the second node (doesn't matter which is the first

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread fady.matar
Ok I got the concept but now how to make this class initialize itself on startup? Would I need to invoke it from a servlet? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035248#4035248 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Designer alpha version - eclipse updates required?

2007-04-06 Thread [EMAIL PROTECTED]
Bill, You can find the current dependencies on Eclipse in the dependencies.properties file which is in the org.jbpm.gd.jpdl.build project (right next to the org.jbpm.gd.jpdl plugin project). For your convenience, the relevant excerpt from this file: # Eclipse filename and version info |

[jboss-user] [Management, JMX/JBoss] - Re: twiddle doesn't support password parameter

2007-04-06 Thread newbi
We've activated the jmx-invoker authentication which also forces twiddle authentication. But we've got another problem - the shutdown also asks for authentication and for 4.0.1 shutdown doesn't support password parameter (another bug of 4.0.1). any workaround? tks newbi View the original

[jboss-user] [JBoss Portal] - Jboss backward Compatibility

2007-04-06 Thread jyotir
Hi I am using JBoss 2.4.0 version and encountered a problem with file and image uploads of large sizes. I came to know that this bug has been fixed in jboss 2.4.2 release. I wanted to know will I lose my current changes if I m,igrate to 2.4.2 release. Thanks View the

[jboss-user] [JBoss Seam] - Re: Email and internationalization

2007-04-06 Thread petemuir
Show me the template View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035253#4035253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035253 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox

2007-04-06 Thread petemuir
Ah, interesting, could you add a JIRA issue for me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035254#4035254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035254 ___

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread petemuir
Let's see the class you want to start up View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035255#4035255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035255 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Jboss AS 4.2.0 RC1 switched to Glassfish Faces (instead

2007-04-06 Thread petemuir
Norman has been working on porting all the examples (in CVS) to Jboss 4.2 over the last few days. Very soon now this should be up and running View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035256#4035256 Reply to the post :

[jboss-user] [JBoss jBPM] - strange problem with many-to-one mapping in jbpm 3.2

2007-04-06 Thread camunda
Hi! I have a very strange problem with the current jbpm 3.2. When I deploy a process a lot of columns which schould be filled are set to NULL in the database. Inspecting further I found, that ALL many-to-one mappings are set to NULL in the database, even if the association (the Java-Pointer)

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread fady.matar
I guess I need to override the startup method. This is what I have done so far | import static org.jboss.seam.InterceptionType.NEVER; | import static org.jboss.seam.annotations.Install.BUILT_IN; | | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Create; |

[jboss-user] [JBoss Seam] - Re: S:SelectDate DatePicker: Specified value is not a valid

2007-04-06 Thread petemuir
It possible but not easy - add a JIRA request that asks for the message for CaptchaResponse to be taken from a properties file, not a String For now I've altered the captcha component in CVS so you can override it @Name(org.jboss.seam.captcha.captcha) | public Captcha extends

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread petemuir
You just need @Name(org.jboss.seam.core.jbpm.init) | @Install(true) | public class JbpmInitializer extends Jbpm { to get it to start. I'm not sure which lines actually start jbpm, but I guess you know ;) I would do a super.startup() as well, to make sure that all the standard seam init

[jboss-user] [JBoss Seam] - Re: S:SelectDate DatePicker: Specified value is not a valid

2007-04-06 Thread [EMAIL PROTECTED]
SO in teh next release it's now internationalised as long as I use the right key? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035262#4035262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035262

[jboss-user] [JBoss Seam] - Re: S:SelectDate DatePicker: Specified value is not a valid

2007-04-06 Thread petemuir
No, the workaround I put below will work with current CVS/next release, you need to put a JIRA request in as I described for proper i8ln View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035263#4035263 Reply to the post :

[jboss-user] [JBoss.NET] - Re: JBOSS 4.0.5 with Axis 2

2007-04-06 Thread biroj
Hi, it is very easy since AXIS2.war can be deployed in the embedded Tomcat of JBoss as it would be a standalone Tomcat. Of course I hope you do not expect from this AXIS2 to work as e.g. JAX-WS or JAX-RPC implementation for EJBs... it won't work, but work as just a simple AXIS2 in a Tomcat and

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-06 Thread waynebagguley
Fantastic! All I needed to do was to implement the equals method and it now calls the action method correctly. Many thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035266#4035266 Reply to the post :

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread fady.matar
thanks for the feedback. I gave it a try at a simple level and I don't think it's working out. How can I check if the component has been initialized? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035268#4035268 Reply to the post :

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread petemuir
It will appear in the startup log and on the debug page in application scope as xxx.component View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035270#4035270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035270

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread fady.matar
I guess it's working, checked the logs and found the following | 2007-04-06 14:04:30,031 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.jbpm.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jbpm.console.core.JbpmInitializer | View the original post :

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread fady.matar
upon installation the executed code is done in the startup method right? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035273#4035273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035273

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread petemuir
Yes, thats working. As the base component is annotated @Startup and in the application startup, then the component will be created during application startup, and hence, the method annotated @create will be run View the original post :

[jboss-user] [JBoss Seam] - auto tag completion in eclipse?

2007-04-06 Thread lindsayh
Hello, I'm very new to SEAM and I've just spent the week getting a bare bones project set up in eclipse. I'm now trying to get auto complete to work with the page tags. Most of the example code I see has .xhtml pages beginning: | ui:composition xmlns=http://www.w3.org/1999/xhtml; |

[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2

2007-04-06 Thread camunda
I played arount with the ID Generator setting, but nothing changed :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035278#4035278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035278

[jboss-user] [JBoss Seam] - Re: auto tag completion in eclipse?

2007-04-06 Thread petemuir
Take a look at Exadel Studio (which will become RH Developer Studio) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035279#4035279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035279

[jboss-user] [JBoss Seam] - Re: How to strip request parameters for page reloads

2007-04-06 Thread dilator
Vote for response of the month! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035281#4035281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035281 ___ jboss-user mailing

[jboss-user] [JBoss/Spring Integration] - Struts spring hibenate in jboss without jboss-deployer

2007-04-06 Thread [EMAIL PROTECTED]
hi All, Iam new to Spring framework. I developed one application using struts+spring+hibernate. while deploying my application ,it stops upto [HbmBinder] Mapping class: eLog.eTrack.dao.pojo.CustomerPOJO - ETRK_CUSTOMER_MST the above step. I didn't use spring deployer. I want to whether

[jboss-user] [JBoss Seam] - Re: auto tag completion in eclipse?

2007-04-06 Thread lindsayh
Thanks for this. Yet another eclipse plugin to try out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035286#4035286 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035286 ___

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-06 Thread alesj
SpringDeployer is optional. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035287#4035287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035287 ___ jboss-user mailing list

[jboss-user] [Remoting] - Compression in Remoting

2007-04-06 Thread hceylan
Hello, I am in a very bad position. I have an application that two jboss'es makes EJB3 calls to each other. I see that the data going forth and back takes up a lot of bandwidth causing a bottleneck that my system suffers. I saw a previous post of about CompressingMarshaller and

[jboss-user] [JBoss Seam] - Expression Language in Java; simple, but impossible?

2007-04-06 Thread beligum
Hi all, I've been searching for a solution to this simple issue for over an hour now: How do I dynamically interpret an EL-string in Java-code? I found this: | FacesContext context=FacesContext.getCurrentInstance(); | ValueExpression

[jboss-user] [JBoss Seam] - Seam and Jetty

2007-04-06 Thread Sammy8306
Is there any way to create web applications using Seam that can be deployed using Jetty? My aim is to use EJB3 (but not container managed) and Seam as the backend for an application generator. Howeverm, I would like the resulting .war's to be self-sufficient, meaning that all dependencies are

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Configuration : JBoss - Datasource - Hibernate

2007-04-06 Thread balde
Hello, I have 3 questions: 1/ - I'd like to configure an oracle data source within JBoss. Which steps do I have do? Is it then necessary to remove the HSQL DB default configuration? Or is it still used internally by JBoss? 2/ - How to configure hibernate in JBoss? I've read some stuff about

[jboss-user] [JBoss Seam] - Re: Expression Language in Java; simple, but impossible?

2007-04-06 Thread beligum
Answer to my own question for future reference: String str = (String)Expressions.instance().createValueBinding(#{yourElString}).getValue(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035296#4035296 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Email and internationalization

2007-04-06 Thread tazman
I can confirm that now my email subjects too are utf-8 encoded. However, I cannot send asynchronous mails anymore. I'm getting this: 14:49:00,875 ERROR [TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBException | : java.lang.RuntimeException: exception invoking: newMessage If I remove the

[jboss-user] [JBoss AOP] - aopc ant task failed : defrost() pruned

2007-04-06 Thread schausson
I?m new with JBossAOP, so could anyone enlighten me on following : the Jboss JIRA mentions an open bug (JBAOP-256), that affects the 1.5.0GA and all subsequent releases, right ? Indeed, I tried to moved to 1.5.5GA and still faced the same problem (when I execute the aopc ant task, following

[jboss-user] [JBoss Messaging] - Re: ConnectionFactory Connection without using JNDI.

2007-04-06 Thread jkrishnakumar
In JBossMQ we got the Connection factory(without using jndi lookup) by using SpyConnectionFactory class. The Code snippet uses SpyConnectionFactory for JBossMQ: ConnectionFactory connFactory = (ConnectionFactory)new SpyConnectionFactory(loadProperties()); public Properties loadProperties() {

[jboss-user] [JBoss jBPM] - Re: (NOTE: In JBPM 3.2)Decison nodes - trivial issues - help

2007-04-06 Thread ygiriyap
This works for me. decision name=DN_P1CompareP2 expression='#{ ( P1 P2 ) ? TN_P1GreaterP2 : TN_P1CompareP2Else }' | transition name=TN_P1GreaterP2 to=TN_P1GreaterP2/transition | transition name=TN_P1CompareP2Else to=TN_P1CompareP2Else |/decision But,my requirement is a

[jboss-user] [EJB 3.0] - Pb with EJB Client(javax.naming.CommunicationException)

2007-04-06 Thread valjjou
I use JBoss 4.0.5 with the installer and option EJB3. I'm getting the error: Failed to initalize plugin: [EMAIL PROTECTED], cause: org/apache/log4j/LogManager | javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:8080 and discovery failed with

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread SunFire
This one works well for me @Intercept(NEVER) | @Name(org.jboss.seam.core.jbpm.init) | @Startup(depends={org.jboss.seam.core.jbpm}) | @Install(dependencies=org.jboss.seam.core.jbpm) | public class JbpmInitializer extends Jbpm { | | private static final LogProvider log =

[jboss-user] [JBoss Messaging] - Marshalling Exception

2007-04-06 Thread chip_schoch
JBossAS 4.0.5.GA and JBossMessaging 1.2.0.GA I get client exception: [2007-04-06 09:37:09,000] ERROR - Got marshalling exception, exiting | java.io.EOFException | at java.io.DataInputStream.readInt(Unknown Source) | at

[jboss-user] [JBoss Seam] - Simpler way of testing properly injected beans?!

2007-04-06 Thread mugwump
I'm currently using the following pattern for my seam-tests (taken from the examples): | @Test | public void testCombinedQuery() throws Exception{ | new FacesRequest() { | QueryManager queryManager; | @Override | protected void

[jboss-user] [JBoss Seam] - Re: How to strip request parameters for page reloads

2007-04-06 Thread [EMAIL PROTECTED]
The answer is short but correct :) Actions that modify data should be triggered with a JSF POSTback, not an HTTP GET parameter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035319#4035319 Reply to the post :

[jboss-user] [JBoss Seam] - Multiple Domain Quesiton

2007-04-06 Thread rjstanford
I should preface this by saying that I'm very familiar with Struts, somewhat with Spring, but new to Seam and full-fledged EJB apps in general. So this may be a stupid question, but I can't find a good answer anywhere (probably searching on the wrong stuff). Anyway... I'm modelling a new

[jboss-user] [JBoss Seam] - Re: auto tag completion in eclipse?

2007-04-06 Thread lindsayh
Well I'm still none the wiser unfortunately. I hear that Exadel 4.0.4 has Seam support out the box. I can't find anything seamy about it. It's just an added layer of complexity that I don't really need just now. And I still can't figure out tag completion. Oh well, back to the old

[jboss-user] [EJB 3.0] - No ManagedConnections available Error

2007-04-06 Thread majohnst
I use EJB3 to connect to Postgres 8.1. At random times, I get a database connection error: | No ManagedConnections available within configured blocking timeout ( 3 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking

[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/jaxen/VariableContex

2007-04-06 Thread codelion
My problem apparently has gone away too, yesterday, so far running fine on two servers. I happened to rearrange how two Seam components (both stateful with scope application) were interacting. (For completeness of record: I moved storing of some kind of unique id from the one executing on

[jboss-user] [EJB 3.0] - Re: No ManagedConnections available Error

2007-04-06 Thread [EMAIL PROTECTED]
anonymous wrote : | From what I have read, this means that the database connection pool is messing up some how. | Actually, it simply means that a connection could not be allocated within the specific blocking timeout (30 seconds). There are usually a few possiblities: 1) You are not

[jboss-user] [JBoss Portal] - Re: java.lang.ClassCastException in ContextImpl

2007-04-06 Thread FredF
I have realized that the transaction exception is not the issue. It happened due to time out when I was debugging the code. I increased it and now its not thrown anymore. I still have no clue about the classcastexception because the exception is thrown inside the proxyObject for the

[jboss-user] [EJB 3.0] - Re: No ManagedConnections available Error

2007-04-06 Thread [EMAIL PROTECTED]
The other *obvious* solution would be to increase the max number of connections in the pool. Of course, you would want to verify this against suitable load testing to determine the 'blreaking point'. View the original post :

[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-06 Thread fady.matar
Thanks a lot, got it working. I had commented out the jbpm configuration in components.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035330#4035330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035330

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-06 Thread fhh
Add this to components.xml: | factory name=hostname value=#{facesContext.externalContext.request.servername} scope=APPROPRIATE_SCOPE/ | (This is from memory. Check javadoc.). Then you can use hostname in el expressions with facelets: | c:if test=#{hostname == 'www.mydomain.com' |

[jboss-user] [JBoss Seam] - Re: Expression Language in Java; simple, but impossible?

2007-04-06 Thread fhh
Or simply: | @In(value=#{yourElString}) | private String str; | This will only work if the el expression does not change dynamically. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035333#4035333 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Location of hibernate mapping files

2007-04-06 Thread balde
Where should the hibernate mapping files (.hbm.xml) be located? Thanks balde View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035334#4035334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035334

[jboss-user] [JBoss Getting Started Documentation] - Re: user name password

2007-04-06 Thread PeterJ
Slight correction. The installer will not let you get passed the secure consoles page without entering in a password. You you must have entered something. What did you enter? If you can't remember, look in jmx-console-users.xml. View the original post :

[jboss-user] [JBoss Seam] - Re: page specific login-required=

2007-04-06 Thread codelion
Can I help along JBSEAM-1009 by writing regression tests for it? Please point me to relevant files in Seam source that test security so I can imitate. My current application would be a pain to secure without it, and I'm planning on writing another app. I am interested in having 1009 in an

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-06 Thread rjstanford
Very cool, and thanks for the response. Would it be appropriate to use security rules to send 404s if someone tried to access one of the control domain pages through a non-control hostname? Or would that be a perversion of the security system and there's a much easier way to do it? I don't

[jboss-user] [JBoss Seam] - Re: How to insert a timestamp to a Not Nullable column from

2007-04-06 Thread fhh
I think it is not a good idea to use the generator strategy increment. Create the sequence insted. If you have already data in the schema, set the initial value of the sequence so you don't get duplicate pks. Use @SequenceGenerator or alter the sequence manually. Regards Felix View the

[jboss-user] [JBoss Portal] - Re: Portlet URL

2007-04-06 Thread ian.ouzounov
there are several ways to achieve that. one will be to use jsf and action mapping. in faces-config.xml you specify the mapping after action. another way, more simple is to use %= request.getContextPath()% to build the base path relative to the portal page. for example: /inside portlet jsp/

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-06 Thread fhh
anonymous wrote : | Would it be appropriate to use security rules to send 404s if someone tried to access one of the control domain pages through a non-control hostname? Or would that be a perversion of the security system? | Yes, it would be a perversion of the security system. It would

[jboss-user] [JBoss Portal] - Re: Portlet URL

2007-04-06 Thread ian.ouzounov
View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035342#4035342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035342 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Portal] - Re: Portlet URL

2007-04-06 Thread ian.ouzounov
i couldn't paste the code for some reason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035344#4035344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035344 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: No ManagedConnections available Error

2007-04-06 Thread majohnst
I don't think it is my db queries. All of them are really short and quick. In my servlet, when a request comes in, I start a JTA transaction, do all the servlet work, then either commit or rollback the JTA transaction. When I do the commit or rollback, that should close the DB connection and

[jboss-user] [JBossWS] - [Fatal Error] :-1:-1: Premature end of file.

2007-04-06 Thread nicolemans72
I work on an application to test JBossWS I have a web service which turns on a JBoss AS 4.0.5 server, which returns a complex type object, Dmex I have this client: | try { | |ServiceFactoryImpl factory=new ServiceFactoryImpl(); |URL wsdlLocation = new

[jboss-user] [EJB 3.0] - JBoss generating a column for relationships in the DB table

2007-04-06 Thread abhinav19
Hi All I was trying to implement EJB3 using Jboss 4.0.5GA. While deploying the entity beans it creates an additional column in the DB table with the name of the relationship object. e.g. if User is related to UserDetail, it creates a userDetail column in the User table as RAW(255). Coz the

[jboss-user] [EJB 3.0] - Re: No ManagedConnections available Error

2007-04-06 Thread [EMAIL PROTECTED]
Yes, if using JPA the connection will be closed for you. To clarify, you are using EJB3 to do the persistence correct? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035349#4035349 Reply to the post :

[jboss-user] [EJB 3.0] - Re: CMP Entity and foreign keys

2007-04-06 Thread abhinav19
Sorry for the delayed reply. But for me Jboss does not generate the FKs in the DB, though it creates PK. Please see my post http://www.jboss.com/index.html?module=bbop=viewtopicp=4035347#4035347 regarding the problem I am facing with relationships. Regards Abhinav View the original post :

[jboss-user] [EJB 3.0] - Re: Pb with EJB Client(javax.naming.CommunicationException)

2007-04-06 Thread fhh
| java.naming.provider.url=localhost:8080 | JNDI runs on 1099 not 8080 normally. | System.out.println(beanRemote.ditBonjour(Julie ma princesse)); | Interesting version of Hello, World! :-) Regards Felix View the original post :

[jboss-user] [JBoss Seam] - How to return to a previous page without conversations

2007-04-06 Thread chane
I seem to be having a brain freeze. I'm trying to create a simple mechanism where a user is on a view page (no conversation is active). They click a link and are taken to another page. Do some stuff and then click a return button and are taken back to the original page. For example, -

[jboss-user] [EJB 3.0] - Re: RollbackException and PersistentContext

2007-04-06 Thread abhinav19
I guess you are just firing select statements from your method2(). Remove the transaction attaribute. I think it will be better approach to use only one method and pass the list to it. just suggestions, dont know your complete scenario. Who I am you know me View the original post :

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-06 Thread fhh
Simply annotate the action method behind the return button with @End. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035357#4035357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035357

[jboss-user] [JBoss Portal] - Re: Portlet URL

2007-04-06 Thread PeterJ
To post code: select the code and click the Code button, that will surround the code with [ code ] [ /code ] brackets. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035359#4035359 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to strip request parameters for page reloads

2007-04-06 Thread gzoller
Ok, maybe I'm being a bit dense here... How does using JSF help? Wouldn't using a h:commandLink have the same problem? The scenario I've describe was lifted right out of the Seam tutorial, chapter 1. Is using the DataModel as currently envisioned not a good idea since the recommended use

[jboss-user] [JBoss Seam] - Excadel - RHDS - JBossIDE

2007-04-06 Thread ivanflorentin
I am waiting for RHDS to come out, I've been using ExadelStudio 4.0.4 for a while but returned to Eclipse 3.1.2+JbossIDE 1.6. I've found ExadelStudio to be very unstable, it adds a lot of functionality that I don't need for a price I don't want to pay: huge memory footprint, random eclipse

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-06 Thread chane
Thanks for the reply. Although, I'm going to say I don't understand how that will help return to a previous page. Isn't @End for transaction control. How can I use end on the return action method to navigate back to a previous page? Do you know if there is an example in the Seam

[jboss-user] [JBoss Seam] - p:barCode seamPDF + iText barcodes

2007-04-06 Thread ivanflorentin
I want to create a tag p:barCode to put tags on a PDF document using iText barcode generator. Itext in Acction is very clear about how to print barCodes. I have a requirements however: It should be possible to place the barcode anywhere in the document. give an absolut position referring to the

[jboss-user] [Installation, Configuration Deployment] - Re: War deployment problem

2007-04-06 Thread snarfdweezunit
I wish I had that problem, I don't even get a Deploy option when I right-click on my war file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035366#4035366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035366

[jboss-user] [JBoss Portal] - Re: java.lang.ClassCastException in ContextImpl

2007-04-06 Thread FredF
Can there be some sort of class loading problem? Here's something I read just now http://www.onjava.com/pub/a/onjava/2003/11/12/classloader.html In the case of a classloader problem maybe the ContextImpl class exists in different packages loaded by different classloaders? I need to find out why

[jboss-user] [Clustering/JBoss] - JGroups mulitcast test program problem, cannot use bind_addr

2007-04-06 Thread timlai
Hi, I'm new to this forum. I did attempt to search for a topic similar to mine but was not successful.Please let me know if there's a similar topic. I'm currently attempting to test Multicasting using the JGroups test programs: org.jgroups.tests.McastReceiverTest

[jboss-user] [JBoss jBPM] - Re: 3.2 scheduler in ear

2007-04-06 Thread brittm
Yes, the TimerServiceBean is in there. Yes, I'm in an ejb container: as mentioned, I'm using the JBoss 4.0.4 server that is distributed with 3.2.GA. I've simply removed the existing jbpm-console.war from the server's jbpm/deploy directory and replaced it with the prebuilt jbpm-enterprise.ear

[jboss-user] [Installation, Configuration Deployment] - No Deploy option when I right-click on my war file to deploy

2007-04-06 Thread snarfdweezunit
I've installed the JBoss IDE/Eclipse bundle- went through the JBoss meets Eclipse article only to be stopped dead by this- no hint as to why, no grayed out option, nothing. This is a show stopper for me, I'm being pushed towards JBuilder by office mates now- still curious as to the answer to

[jboss-user] [JBoss Seam] - Re: How to strip request parameters for page reloads

2007-04-06 Thread [EMAIL PROTECTED]
If you use a POSTback (note the POST), the user would be told Are you sure you want to reload this page and submit the data again if he/she clicks Reload. If the user does want to delete again, it's OK to show an error message. If you try this with a GET (as the Seam example has), users would

[jboss-user] [Clustering/JBoss] - Re: JGroups mulitcast test program problem, cannot use bind_

2007-04-06 Thread [EMAIL PROTECTED]
Can you disable the IPv6 stack and see if it works ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035372#4035372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035372 ___

[jboss-user] [Installation, Configuration Deployment] - Re: No Deploy option when I right-click on my war file to de

2007-04-06 Thread PeterJ
I am a little confused. Are you right-clicking the war file in Eclipse? Or in Explorer? Others can answer the Eclipse-related question (I never use Eclipse to build or deploy anything), but to deploy a war file in Explorer, simply copy it to server/xxx/deploy (where xxx is usually default).

  1   2   >