[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2007-12-24 Thread jaikiran
"nitm" wrote : oh, another question: | i used the service.bat that comes with the jboss-native to run the jboss AS as windows service. | this works great but only for local host. | i know that i should use the -b option when using run.bat (run -b 0.0.0.0) but i do i make it run as windows s

[jboss-user] [Beginners Corner] - Re: hostname

2007-12-24 Thread jaikiran
You will have to provide us more details about what you have done so far and what you are trying to do. Also, post the JBoss server version, the Java version and the entire exception stacktrace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115400#4115400 R

[jboss-user] [JBoss Portal] - Re: Getting session in JSF backing bean

2007-12-24 Thread shimonl97
Cast it to PortletSession you can get the http session from portalContext View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115399#4115399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115399 _

[jboss-user] [JBoss AOP] - Re: Please help with reflection

2007-12-24 Thread [EMAIL PROTECTED]
Hi! Probably you're using the old 1.5.x versions of JBoss AOP, correct? This shouldn't be happening in the new version of JBoss AOP, since we added error messages to avoid invalid advice signatures. Regarding the inconsistency of class object creation vs. reflection creation, I believe that, i

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss AS + hibernate + mysql

2007-12-24 Thread nitm
forgot to add that when i change the datasource to java:/MySql instead of java:/DefaultDS it works great... thanks, nitzan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115393#4115393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - jboss AS + hibernate + mysql

2007-12-24 Thread nitm
hi, i want to use hibernate with the jboss AS while using mysql. i'm using: - jboss AS 4.2.2 - hibernate 3.2 - mysql server 5.0 i first want to check that the jboss AS can work with mysql in a proper way so i'm trying to make mysql the default datasource. i went through this article a step at

[jboss-user] [Beginners Corner] - No Persistence provider for EntityManager

2007-12-24 Thread jhannoy
Hi, I am using the following configuration: JBoss 4.2.2 GA and EJB3/JPA. Here follows a simple session bean and its remote interface that I've been using: | public interface Monitor { | | abstract EntityManager getEm(); | | abstract void setEm(EntityManager em); |

[jboss-user] [JBoss Seam] - UTF-encoded characters not displaying

2007-12-24 Thread lanoix
Hello. An other question about character encoding... I've seen a lot of question about that, but not reflecting my problem. Problems that I've seen were &xxx wrongly displayed. The solution was to use a tool like native2... (I cannot get the name right now anymore) to translate html characters

[jboss-user] [JCA/JBoss] - Re: WorkManager thread pooling

2007-12-24 Thread avzak
Thanks for the quick reply. I tried to configure the thread pool in jbossjca-service.xml by adding the MinimumPoolSize attribute. I also tried to modify the min/max attributes of the WorkManagerThreadPool MBean through the JMX console. Both results the same: the max size cannot be set to a great

[jboss-user] [JBoss Portal] - Getting session in JSF backing bean

2007-12-24 Thread RastaBaby
Having trouble getting session context in my backing bean. The following code is generating a: Caused by: java.lang.ClassCastException:com.sun.faces.portlet.PortletSessionWrapper | HttpSession session = (HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false);

[jboss-user] [JBoss jBPM] - Re: Log retrieval

2007-12-24 Thread Kotov
And what about upward compatibility? Is it possible to include in jBPM API getLogs(Class class,Date from, Date to) function calling "custom hibernate query" - I'll provide such query. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115381#4115381 Reply to the

[jboss-user] [JBoss Seam] - Re: How to inject a singleton?

2007-12-24 Thread nickarls
"hubaghdadi" wrote : I mean a simple POJO that it has to be a singleton... That would be an application scoped component. There can be... only one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115380#4115380 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JCA/JBoss] - Re: WorkManager thread pooling

2007-12-24 Thread vickyk
"avzak" wrote : Hi, | We are developing a resource adapter which uses threads in order to process incoming network data. These threads are obtained from the WorkManager instance which uses a BasicThreadPool instance as its thread pooling mechanism. | When we tried to configure the thread pool

[jboss-user] [EJB 3.0] - Clustered ServiceBeans (@Service & @Clustered)

2007-12-24 Thread kotlusa
Hello, I'm a big fan of the @Service EJB 3.0 extension because makes it easy to write singleton EJB's. Unfortunately, I haven't had much luck with these in a clustered environment. It appears that, even with the @Clustered annotation, each node of the cluster gets it's on singleton instance r

[jboss-user] [JBoss Seam] - Re: Building Seam 2.0.0.0.GA with Eclipse --- javac task not

2007-12-24 Thread hvram
Thanks Peter . I ran the ant task and copied the .project file from the checkout. After that I was able to import this into eclipse Regards Hari View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115372#4115372 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: error message & trinidad

2007-12-24 Thread ebu
eh, that was old facelets lib... http://jira.jboss.com/jira/browse/JBSEAM-1667 but your explanations about model validator are very helpful. Would be nice to have them in ref. doc. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115371#4115371 Repl

[jboss-user] [JBoss AOP] - Re: Please help with reflection

2007-12-24 Thread bornmw
Sorry, it was my fault. I've used void as an aspect: | public void render(Invocation inv) | Changing it to return an Object fixes the issue. While using a void aspect worked with classical class construction it failed with reflection. I know that it's my bad, but this inconsistency probabl

[jboss-user] [JBoss Seam] - Re: How to inject a singleton?

2007-12-24 Thread hubaghdadi
I mean a simple POJO that it has to be a singleton... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115369#4115369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115369 ___ j

[jboss-user] [JBoss Seam] - Re: Entity EJB3.0 Unit Testing - How to setup JNDI datasourc

2007-12-24 Thread sushmu
Running Embedded JBoss from Maven is tricky partly because of the classpath issues and partly because of the surefire test plugin and the jdk 1.6 incompatabilities. I did the following: 1. Download Embedded JBoss Beta 2 version. 2. Copy all folders under 'bootstrap' that comes with EJ into src

[jboss-user] [JBoss Seam] - argument type mismatch exception after Seam 2 upgrade - help

2007-12-24 Thread terryb
Having upgraded seam 1.2.1GA project to Seam 2 and JBoss EAP 4.2; my project is now unusable. I can't seen to find out why I get the following error and where it comes from. On some pages it occurs when html form is submitted, and on some just when page is being displayed? Seam 2.0GA + Facelets

[jboss-user] [JBoss Seam] - Re: debug.seam and iText-PDF without redirects?

2007-12-24 Thread [EMAIL PROTECTED]
iText no longer does a redirect. This is in CVS now and will be a part of 2.0.1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115366#4115366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115366

[jboss-user] [JBoss Seam] - Re: How to inject a singleton?

2007-12-24 Thread [EMAIL PROTECTED]
For something a bit stronger, if you are JBoss you could also consider the @Service EJB3 bean. JBoss will manage a single server-wide instance of your session bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115364#4115364 Reply to the post : http

[jboss-user] [JCA/JBoss] - WorkManager thread pooling

2007-12-24 Thread avzak
Hi, We are developing a resource adapter which uses threads in order to process incoming network data. These threads are obtained from the WorkManager instance which uses a BasicThreadPool instance as its thread pooling mechanism. When we tried to configure the thread pool we noticed that its min

[jboss-user] [Beginners Corner] - Re: hostname

2007-12-24 Thread mithilwane
Basically now when i run the client from a remote m/c the name resolution does occur but rmi fails. Any Ideas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115360#4115360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Tools (users)] - Re: eclipse plugin cant find a running server

2007-12-24 Thread nitm
yeah, that's what i thought.. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115359#4115359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115359 ___ jboss-user mailin

[jboss-user] [Beginners Corner] - Re: hostname

2007-12-24 Thread mithilwane
Did all this but still getting an exception View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115358#4115358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115358 ___ jboss-user

[jboss-user] [JBoss Tools (users)] - Re: eclipse plugin cant find a running server

2007-12-24 Thread [EMAIL PROTECTED]
well, i would just stop the service when doing development and let the server integration do the work...then when you want it to run permenently start the service again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115357#4115357 Reply to the post : http:

[jboss-user] [JBoss Tools (users)] - Re: Commit & Checkout Seam Project

2007-12-24 Thread [EMAIL PROTECTED]
Just commit them all under e.g. svn.jboss.com/myproject/xxx so you get svn.jboss.com/myproject/xxx/xxx svn.jboss.com/myproject/xxx/xxx-ejb svn.jboss.com/myproject/xxx/xxx-ear svn.jboss.com/myproject/xxx/xxx-test and then when you chek it out you just do: svn co svn.jboss.com/myproject/xxx yo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - extracted ear/war/jar file location

2007-12-24 Thread shimi
How can I find out in runtime where JBoss extracted my ear/war/jar file? I have a file inside my ear/war/jar file and I need to know the location of the file. I know that it is in the tmp/deploy directory but I need the exact application temporary name. View the original post : http://www.jbos

[jboss-user] [JBoss Tools (users)] - Re: eclipse plugin cant find a running server

2007-12-24 Thread nitm
thanks for your reply max, it took me a while to understand what is that jira you wrote about, but i figured it out and added a new issue. i guess that in the mean while i'll have to use two server instances? one that will run as a windows service and one for development? thanks, nitzan. View

[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-24 Thread [EMAIL PROTECTED]
Yes, but this doesn't give you parameter propagation of course. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115349#4115349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115349 ___

[jboss-user] [JBoss Seam] - Re: debug.seam and iText-PDF without redirects?

2007-12-24 Thread [EMAIL PROTECTED]
In answer to both questions, no, but both are issues we are aware of and have some ideas to improve on (I'm talking sometime in the future for this though). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115350#4115350 Reply to the post : http://www.jboss.co

[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-24 Thread [EMAIL PROTECTED]
No, the page context only lasts as long as a page. You could use a conversation and a standard PC injected with @PersistenceContext to get a new PC for each request. This is really an anti-pattern with Seam though, and you would be better understanding lazy loading properly. View the original p

[jboss-user] [JBoss Seam] - debug.seam and iText-PDF without redirects?

2007-12-24 Thread krausest
I don't like being redirected in both cases. Maybe there's a simple workaround so I'm looking for your help. When debug is enabled in components.xml and an exception occurs I'm redirected to debug.seam. The URL I originally entered isn't reachable via the back button which is distracting. Any w

[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-24 Thread dkane
Ok, it works in the way you recommend. Thanks. The last question : for ajax request, we can write - no need to specify "param" tag in pages.xml - right ? There is no assignTo in f:param, though.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115344#

[jboss-user] [JBoss Seam] - Re: ProcessList in seam

2007-12-24 Thread ar.mohseni
tanx a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115343#4115343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115343 ___ jboss-user mailing list jboss-user@lists.jbo

[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2007-12-24 Thread Kumarselvan
2007-12-24 16:13:57,968 185859 TRACE [org.jboss.remoting.ServerInvoker] (WorkerThread#0[131.10.20.40:2508]:) SocketServerInvoker[131.10.20.40:3873] successfully dispatched invocation, returning [EMAIL PROTECTED] from subsystem 'AOP' to client 3nak14-awcxm4-fakvt4xg-1-fakvt4xg-2 2007-12-24 16:13:

[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-24 Thread nguyenhaugiang
Thank you for your reply. As in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124426, we want to maintain state through a sequence of pages, but do not share SMPC. Page Context var can solve our case? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBossWS] - How to replace REPLACE_WITH_ACTUAL_URL with dot form IP

2007-12-24 Thread sergerus
How to say JBoss replace REPLACE_WITH_ACTUAL_URL with dot form IP not domain name? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115337#4115337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115337 ___

[jboss-user] [Remoting] - Bug in CompressingUnMarshaller

2007-12-24 Thread dreyk
You can find in documentation reference on using CompressingUnMarshaller for reduce trafic. For this aim you can define you UnMarshaller by this way CompressingUnMarshaller(new HTTPUnMarshaller()). But it's does't work, see you read method for CompressingUnMarshaller | public Object read(Inpu

[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-24 Thread [EMAIL PROTECTED]
Yes, this is to be expected. After calling B you do a redirect to another page, hence the page context changes. (B is called in the context of A). Doing a redirect is essentially a call to a new page. You should use the conversation scope for passing a variable through a sequence of logically co

[jboss-user] [JBoss Seam] - Re: Building Seam 2.0.0.0.GA with Eclipse --- javac task not

2007-12-24 Thread [EMAIL PROTECTED]
Import from the CVS tag rather than the download as that has a .project file in it, and a task for generating .classpath (ant eclipseclasspath) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115334#4115334 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Seam] - Re: ProcessList in seam

2007-12-24 Thread [EMAIL PROTECTED]
2) Seam provides access to task lists etc. via EL - see the docs for more http://docs.jboss.org/seam/2.0.1.CR1/reference/en/html/jbpm.html. Of course you can easily create more such lists by creating a Seam component that does the necessary jbpm query 1 and 3 need to be asked via the jbpm or gr

[jboss-user] [JBoss Seam] - Re: Design question with Rich GWT Ajax Client

2007-12-24 Thread [EMAIL PROTECTED]
Wrap your calls to Seam components in an ContextHttpServletRequest. Make sure the conversationId is in the request parameter map you pass in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115332#4115332 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Tools (users)] - Commit & Checkout Seam Project

2007-12-24 Thread berkay
Hi. We had been using Netbeans for our Seam project but we decided to use WTP + JBoss Tools when the Tools 2.0 released. I am little bit confused about cvs part. When i create a new seam project (deploy as ear), wtp creates 4 project directory. [xxx / xxx-ejb / xxx-ear / xxx-test] Should i com

[jboss-user] [JBoss Seam] - Re: Changing .seam extension

2007-12-24 Thread peter.hilton
If you need more flexibility, try http://tuckey.org/urlrewrite/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115330#4115330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115330 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Stop error

2007-12-24 Thread harish73
Thanks for your response. I checked on the linux server and did not find any file or directory by name "selinux". So, what it means?? Thanks. "gabewong" wrote : Edit /etc/sysconfig/selinux | and set entry to: | SELINUX=disabled | | Reboot server View the original post : http://www.jbo

[jboss-user] [JBoss Seam] - Building Seam 2.0.0.0.GA with Eclipse --- javac task not def

2007-12-24 Thread hvram
Hi I was attempting to build Seam 2.0 GA with Eclipse . I tried using Eclipse's create new project from an existing ant build file and it gave an error saying build.xml does not have javac task I am able to build from a command line ant . Is this the way to import the project into eclip

[jboss-user] [JBossWS] - Re: howto disable debug output from client

2007-12-24 Thread rukus
"PeterJ" wrote : You did not state which version of JBossWS you are using, so I will assume the version that is in JBossAS 4.2.2. | | The log4j.properties file can be found in client/jbossws-client.jar. It is set to log to the console at debug level, you can change it to log at WARN or ERRO

[jboss-user] [JBoss Messaging] - Different Message id for each listener

2007-12-24 Thread assaf49
Hi, We have several listeners (each with a different selector) for the same Topic. The order of the messages per each listener (we need FIFO) is very important for us. We understand that after connection failure, the "failure recovery" mechanism does not guarantee ordering of messages. So we w