[jboss-user] [Javassist user questions] - Re: error reloading a class

2008-02-10 Thread cat4hire
Just to make it clearer: * the interface I'm going to apply will remain the same during the whole program, and so I guess it can be loaded by a parent (even root) loader; * the class to which the interface will be applied can change during the program execution, and so should be loaded by a custo

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Static Content / External Directories in jboss-4.2.1.GA

2008-02-10 Thread yj4jboss
Hi, I recently migrated from jboss-4.0.5.GA to jboss-4.2.1.GA. Previously i was serving static content as described in the following wiki. With jbossWeb. This seems no longer to be working in jboss-4.2.1.GA. I added the context configs in jboss-service.xml in jboss-web-deployer and changed t

[jboss-user] [JBossWS] - Re: WS-Security Newbie Question...

2008-02-10 Thread shashankjain
Hi Peter, I havent yet got the book.Dont have the fund right now.. May be if you can help me out only on this Web service security stuff ,it would be really helpful Regards Shashank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128260#4128260 Reply to the p

[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question

2008-02-10 Thread nickarls
Use eclipse + jboss tools to generate a sample project and move on from there. You shouldn't have to do anything extra, I think the classes just have to be found by the same classloader that picks up your persistence.xml(?) View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Getting Started Documentation] - need help

2008-02-10 Thread canuseeme
Determine, document and implement the necessary configuration to handle URL rewriting. Write a URL rewrite configuration to handle rewriting the request port of 80 to the local JBoss listening port of 8080/8180/8280. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [JBossWS] - Re: SOAP with Attachment in JBoss 4.0.4 GA

2008-02-10 Thread EricJava
I'm wondering the same thing, except I'm using AS 4.2.2, and can switch to 5.0 if it makes it easier. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128255#4128255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method

2008-02-10 Thread gsegura
Maybe this could this be associated with the lifecycle of the MDB being dependent on seam: http://www.jboss.org/?module=bb&op=viewtopic&t=100946 I'll appreciate if you post back if this is the case, because I'm also about to implement a configuration similiar to yours. View the original post

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2008-02-10 Thread PeterJ
Shashank, please do not post questions at the end of someone else's thread. You have asked the same question on three separate threads, and as far as I can tell have not made use of the advice given on those threads. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - demultiplexing notifications from MDB

2008-02-10 Thread gsegura
Hello, I have this seam application that uses a message driven bean for receiving messages from external system. Upon arrival of message I would like to notify the specific client (provided she/he has an ongoing web session) by means of a4j:push listener. The question is: how do I access a par

[jboss-user] [JBossWS] - Re: WS-Security Newbie Question...

2008-02-10 Thread PeterJ
Did you get the book? The section on configuring WSSecurity is very detailed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128250#4128250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128250 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Turning of INFO-logging except for some categories

2008-02-10 Thread PeterJ
One you set the threshold for an appender to WARN, only WARN and ERROR messages will ever be posted there - you will never get INFO messages. To do what you want, you could try this (I haven't tried it so cannot vouch that it will work). Leave the threshold at INFO. Set the trace levels for com

[jboss-user] [EJB 3.0] - Running 4.2.2 and 4.0.3SP1 EJBs in the same environment

2008-02-10 Thread lmellis85
I currently have a number of services deployed on different instances of JBoss 4.0.3SP1. This includes a mix of EJB2 and EJB3 SLSBs. The services are not clustered, just 'grouped' into different categories and deployed to different JBoss instances. Clients connect to the different JBoss instanc

[jboss-user] [JBoss Tools (users)] - Issue encoutered starting jboss server within eclipse

2008-02-10 Thread fly2moon2
Hi All, I'm running on Mac OS X platform but I'm wondering if running on other platform having similar issue explained below: I'm setting up JBoss AS 5, Eclipse Eurpoa, with the latest JBoss Tools. I followed the tutorial, added the installed runtime and ready to "start" the jboss server in t

[jboss-user] [JBoss Portal] - Re: Retaining default Portal implementation and customizing

2008-02-10 Thread PeterJ
I would suggest just editing the existing data/conf/default-object.xml file. If you include your *.war files within jboss-portal.sar, you can reference your portlets from within there. Or you can define your portlet locations within your own *-object.xml file. If I read your question correctl

[jboss-user] [JBoss Seam] - s:selectItems + a4j:support = NullPointerException

2008-02-10 Thread saeediqbal1
I get a nullpointerexception when i move the select box back to the item that is "noSelectionLabel". When I select a valid entry inside the drop down, it works OK. But when we go back to resetting it by selecting the noSelectionLabel, it pops the following error. Is this a bug? | |

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: installing PHP module for Windows

2008-02-10 Thread PeterJ
See the discussion at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=125437. Eventually, you will come to a post where I rebuilt the dll (the one on the web site is an older version and gets the error you posted) and a URL from where you can download the correct version. Let me kno

[jboss-user] [JBoss Portal] - Re: CMS error

2008-02-10 Thread PeterJ
Earlier in the console output there should have been a stack trace stating exactly what the problem is. Please post that. What you have posted is the report that said something failed, which usually does not help solve the issue. My closest guess, based on what you posted, is either a databas

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2008-02-10 Thread shashankjain
Hi , I am trying to set up a standalone client for JBossWS Security. I am using JBoss4.2 with JBoss ws2.0.2. I am unable to get the standalone client working.I think server expects the http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128242#4128242 Reply to the post : http://www.jboss.

[jboss-user] [JBoss jBPM] - Re: Is it possible to undeploy BPEL processes?

2008-02-10 Thread [EMAIL PROTECTED]
By the way, any input you can provide on the aforementioned issue (your database, driver, and any exception you encounter while deleting the process definition) will be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128240#4128240 Reply to the p

[jboss-user] [JBoss jBPM] - Re: Is it possible to undeploy BPEL processes?

2008-02-10 Thread [EMAIL PROTECTED]
Undeployment is a twofold operation: undeploy the web module and remove the process definition from the database. Undeploying the web module effectively makes the related process definition unreachable, but the process data stays in the database and can be queried later. This is normally what y

[jboss-user] [JBossWS] - Specifying the server's URL in the client?

2008-02-10 Thread EricJava
Simple question: What's the right way to set the server's URL from within the client? The reason I ask is because I'll be distributing a client. The user will be able to choose which server to connect to. Other people will run servers; I don't even know what the servers will be. Unfortunatel

[jboss-user] [JBossWS] - Re: WS-Security Newbie Question...

2008-02-10 Thread shashankjain
Were you able to configure WS security by any chance..I tried a lot of options bu still couldnt get it working. Can you please share the steps as to how to create the client and server for WS Security. Your help is needed urgently Regards Shashank View the original post : http://www.jboss.com/i

[jboss-user] [Clustering/JBoss] - while deployment getting exception in server

2008-02-10 Thread rajasekhar.kovvuru
javax.naming.NameNotFoundException: TicketRegistryCache not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.

[jboss-user] [Clustering/JBoss] - problem with jndi bounding

2008-02-10 Thread rajasekhar.kovvuru
hi all, this is rajasekhar i got strucked with bounding of jndi(not the databasejndi) can any body help me where to bind that jndi in jboss Required urgently Any way thanx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128234#4128234 Reply to the p

[jboss-user] [JBossWS] - Re: how to secure web services in jboss?

2008-02-10 Thread shashankjain
When I run the same with WSrunclient I get the following error javax.xml.ws.soap.SOAPFaultException: org.jboss.ws.core.CommonSOAPFaultException : This service requires , which is missing. at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SO APFaultHelperJAXWS.java:72)

[jboss-user] [JBoss Seam] - Re: NullPointer during Identity.hasPermission ?

2008-02-10 Thread [EMAIL PROTECTED]
Don't pass null, it's a varargs param so you only need the first two parameter values. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128231#4128231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128231 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Turning of INFO-logging except for some categories

2008-02-10 Thread pete007
Hi all, I have set the logging threshold to WARN in the CONSOLE-appender in jboss-log4j.xml. Now I want to set it only for some categories to INFO again (EARDeployer, Server). Can someone please tell me how to override the appender-settings in a category or how to get the same result (multiple

[jboss-user] [JBoss Seam] - Re: Error running Seam Examples with JBoss-5

2008-02-10 Thread thejavafreak
JBoss AS 5 is not ready yet and Seam is not tested against JBoss 5 yet. I think it's better to use JBoss AS 4.2.2.GA instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128220#4128220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[jboss-user] [JBoss Portal] - Retaining default Portal implementation and customizing a ne

2008-02-10 Thread babsmk
I am looking at a way where i can define\create a new portal instance with CMS, Personalization, Themes & Layouts , authentication all to have modified functionality than what Portal offers by default. Essentially i would need instances of CMS and other Portlets which can be modified for my Po

[jboss-user] [JBoss Seam] - Re: How to save seam pdf to a file

2008-02-10 Thread terryb
Norman I have logged JIRA. It would be a good feature to have in already impressive Seam PDF generation. Whichever way its done, obviously it would allow to specify serverside path/filename. I have logged JIRA: http://jira.jboss.com/jira/browse/JBSEAM-2613 View the original post : http://www

[jboss-user] [JBoss Seam] - NullPointer during Identity.hasPermission ?

2008-02-10 Thread kariem
I really had some strange issues today trying to programmatically check for permissions. The documentation [1] states that it is possible to use inline restrictions such as if (!Identity.instance().hasRole("admin")) | throw new AuthorizationException("Must be admin to perform this action"

[jboss-user] [JBoss Messaging] - Reliable delivery

2008-02-10 Thread vc123
Hi, We are evaluating JBoss Messaging suitability for reliable delivery. I am not quite sure how reliable message delivery (PERSISTENT) is implemented in JBoss Messaging. Assuming a JDBC persistence manager, does the AUTO_ACK mode result in a JDBC commit after each message ? On my tests,

[jboss-user] [JBoss Seam] - when to use seam component and when to use ejb session bean

2008-02-10 Thread reyjexter
i'm really new to ejb so with regards to design issues, i would want to know when is it advisable to use an ejb session bean or use a seam component. the default codes generated by seam gen uses a seam component authenticator so this made me wonder what the most appropriate way to design your c

[jboss-user] [JBoss Seam] - Re: Worst possible situation

2008-02-10 Thread [EMAIL PROTECTED]
If you could package this up in a deployable test case in JIRA and assign to me, I'd be happy to take a look at it for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128214#4128214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss Seam] - Re: Worst possible situation

2008-02-10 Thread jazir1979
On my project we develop on windows, but our anthill (continuous integration) deployment and demo environment are on linux, with another external demo environment on windows under IIS forwarding to JBossAS. I've never noticed any kind of different application behaviour among these environments

[jboss-user] [JBoss Seam] - Re: problem on Internet Explorer

2008-02-10 Thread [EMAIL PROTECTED]
I don't really know why it's not working in your IE6. Do you get any script errors? Is it possible for you to try it on another machine with IE6? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128211#4128211 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JBoss Seam] - Re: Are there any ready admin pages examples for user and ro

2008-02-10 Thread [EMAIL PROTECTED]
Take a look at the seamspace example in latest SVN. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128209#4128209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128209 ___ jbo

[jboss-user] [JBoss Seam] - Re: EVENT_LOGIN_SUCCESSFUL handled twice

2008-02-10 Thread [EMAIL PROTECTED]
It's fixed in latest SVN. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128210#4128210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128210 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Seam] - Are there any ready admin pages examples for user and role m

2008-02-10 Thread Mikail
I want to use Seam, but don't want to write user and role management from scratch. Are there any ready examples? Or OpenSource Seam web-projects which user and role management i can reuse? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128208#4128208 Reply

[jboss-user] [Javassist user questions] - Re: Duplicate a method

2008-02-10 Thread gkorland
The thing is that I want the new method to look the same as the original code, for that I want to copy the original code. The problem is that when I use the: newMethod.setBody(method, null); to copy the original body I need to add the following code to fix the MaxLocals: CodeAttribute co

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problems with running JBoss in Amazon EC2 environment

2008-02-10 Thread vsa
Hi, I am deploying my jboss application server behind amazon ec2. It is essentially like deploying behind a firewall. 1. I do : run.sh -b 0.0.0.0 to bind the jboss deployment to the physical local interface 2. When a http request arrives on ec2, it is supposed to be NAT'ed to the physical host

[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question

2008-02-10 Thread bloreguy
Thank you very much. WHere do I specify that the JPA annotated classes have to be loaded automatically? I used the entry property name="hibernate.archive.autodetection" value="class, hbm" and still see that when I refer to an entity class, it gives me an exception that the entity class is not m

[jboss-user] [JBoss jBPM] - Request of Example of jBPM project

2008-02-10 Thread ziopanzu
Hi to all, I have need of an example of jBPM project with "Decision", "Process state" and "Mail node" nodes. I have need of this project in order to comprise them better. Someone can help me? Pleeease! (excused for eventual errors) View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method

2008-02-10 Thread rmcalderero
We have not used any datasource.xml so far. Below the persistence.xml | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persi

[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-10 Thread xavybb
"nickarls" wrote : | State(less/ful) EJBs must be packaged in EARs | wopps!! I created a test app and deployed it as an EAR and now all works fine. Sorry for my newbie mistake, and thanks a lot for your patience. anonymous wrote : | Yes, it must be an EAR file - here is a little more in

[jboss-user] [JBoss Seam] - Re: EVENT_LOGIN_SUCCESSFUL handled twice

2008-02-10 Thread joeyxxx
Thanks. Which revision is it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128198#4128198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128198 ___ jboss-user mailing list j

[jboss-user] [JBoss Seam] - Re: Worst possible situation

2008-02-10 Thread supernovasoftware.com
I am in the process of doing a migration. [url] http://www.jboss.com/index.html?module=bb&op=viewtopic&t=129648[/url] Please post any solution or cause you find. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128197#4128197 Reply to the post : http://www.jbo

[jboss-user] [JBoss Seam] - Worst possible situation

2008-02-10 Thread yuriy_zubarev
Greeting, The subject line is grim but true. I was developing Seam app on Windows box and everything worked fine, I put it on a Linux box and it doesn't work and doesn't spit out any exceptions. Ok, a bit of details. I use Seam 2.0.1 and tomcat 6 on Java 5. Windows and Linux environments have

[jboss-user] [JBoss Seam] - Re: EVENT_LOGIN_SUCCESSFUL handled twice

2008-02-10 Thread sdegardin
This issue has been solved ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128194#4128194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128194 ___ jboss-user mailing list jb

[jboss-user] [JBoss Seam] - component with multiple interfaces?

2008-02-10 Thread alex.x.zhang
My question is: can you use one component with multiple interfaces for multiple purposes? I am trying to use one class as both the backing bean and the selectItem converter, like this: @Stateful | @Name("fooManager") | @org.jboss.seam.annotations.faces.Converter | public class FooManagerB

[jboss-user] [JBoss Seam] - Re: alterar arquivo editproerty.xhtml

2008-02-10 Thread nickarls
Inglês, por favor. O português não é falado aqui. (courtesy of babelfish)... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128192#4128192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128192

[jboss-user] [Management, JMX/JBoss] - Retrieve Root Path

2008-02-10 Thread abondi
Hi everybody, I must retrieve the root path of my MBean. Is there any method to do this? Thank you Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128191#4128191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128

[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-10 Thread msystems
Yes, it must be an EAR file - here is a little more information :-) http://www.developer.com/java/ejb/article.php/10931_3670496_1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128189#4128189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBoss Seam] - alterar arquivo editproerty.xhtml

2008-02-10 Thread rafaelborsato
Ola gostaria de alterar esse aruivo da jboss seam para que quando na geração o seam encontrsse agum campo boolean ele geraria um radio button autometicamente na tela com os valores sim não... desde ja agradeço rafael View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JNDI/Naming/Network] - JNDI Problems with Cluster, Windows XP

2008-02-10 Thread MarcusDidiusFalco
Hallo I am just trying to learn more about JBoss. I have a single Windows XP machine. JBoss 4.0.2.GA With a non-clustered setup I have never had any problems with JNDI. However when I try even the simplest application in a cluster (vertical, copied the all configuration two times and used the Bi

[jboss-user] [JBoss Seam] - Possible design weakness of Events.raiseEvent() ??

2008-02-10 Thread gena777
Hello, the current implementation of the event observer pattern seems to be (in my opinion) unstable: the new one observer can throw an uncaught runtime exception and so prevent other observer from the reaction to this event. Are there any fail-safe design pattern known, how we should use the

[jboss-user] [JBoss Seam] - Re: problem on Internet Explorer

2008-02-10 Thread kai222
Shane, thanks for your effort! I have to test this in a different way. The seam-space example from Seam 2.0.1.GA doesn't work in my Internet Explorer 6 neither. Do you just have an idea which of the thousands of configuration possibilities of IE is maybe disabled/enabled? I thought I had the de

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to deploy an ear with multiple war in jboss?

2008-02-10 Thread jaikiran
anonymous wrote : But how doI separate the logs of these two diff wars. Do these war files contain classes belonging to distinct package? If yes, then this can be done in a pretty straightforward way. Something similar to what's being discussed at http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBossWS] - Re: how to secure web services in jboss?

2008-02-10 Thread shashankjain
After adding few more jars in classpath i start getting this error org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128180#4128180 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBossWS] - Re: how to secure web services in jboss?

2008-02-10 Thread shashankjain
Hi, I have configured all files for JBoss WS Security..Using JBoss WS 2.0.3 stack. The Web service is defined as @WebService(name = "SecureService", targetNamespace = "http://org.jboss.ws/samples/wssecurity";) @SOAPBinding(style = Style.RPC) public interface SecureService { /** *

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB JAR inside EAR

2008-02-10 Thread jaikiran
OK, a bit of digging, led me to this http://support.bea.com/application_content/product_portlets/support_patterns/wls/CLOBBLOBDataTypeHandlingIssuesPattern.html. Going by what is mentioned in that article, i guess, the problem you are having is related to a programming error rather than a classl

[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-10 Thread jaikiran
anonymous wrote : The order to run the client-server that I'm using is | java -jar -app-client.jar Can you post the exact command that you are using (along with the -D parameters) to run this client? I dont see a reason why this should fail with a NoInitialContextException. View the origin

[jboss-user] [EJB 3.0] - Re: ClassCastException within an EAR deployment

2008-02-10 Thread jaikiran
See these: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128

[jboss-user] [Beginners Corner] - Re: log4j: loggin to different files + sheduler

2008-02-10 Thread jaikiran
public class myclass{ | protected static Logger log; | | public myclass(String log4jcategory) { | log = Logger.getLogger(log4jCategory); | } | | } | This looks wrong. You are maintaining one class level variable which can only hold one logger at

[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS

2008-02-10 Thread pbolle
Hi all, in the developer forum Koen has answered my post and he will fix that problem ( http://jboss.org/index.html?module=bb&op=viewtopic&t=127556 ). Regards Philipp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128174#4128174 Reply to the post : http:

[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question

2008-02-10 Thread nickarls
The entities have JPA annotations that describe the mapping between objects and database tables and hibernates serves as the underlying implementation. The annotations are scanned automagically There are plenty of JPA beginner tutorials around. View the original post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method

2008-02-10 Thread nickarls
How does your persistence.xml and datasource xml look like? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128172#4128172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128172 ___

[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-10 Thread nickarls
State(less/ful) EJBs must be packaged in EARs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128171#4128171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128171 ___ jboss-use

[jboss-user] [JBossWS] - SOAP with Attachment in JBoss 4.0.4 GA

2008-02-10 Thread sarin_ashish
Hi, Is it possible to write a Web service method in JBoss 4.0.4 (which comes with JbossWS 1.0.0 GA) which returns DataHandler object and use it for receiving attachment on the client side ? If not, whats the alternative available if I want to do achieve this functionality in JBoss 4.0.4 GA ?

[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-10 Thread xavybb
"msystems" wrote : I guess the name of the EAR file don't equals 'prueba'? | | | | | | ^^ | | Should be the name of the EAR file. | | You are right, my app is deployed as a WAR (prueba.war). I edited my deployed compon

[jboss-user] [JNDI/Naming/Network] - Re: Cannot bind transaction factory in CORBA naming service

2008-02-10 Thread argonist
Hello, I have still that problem and cannot sovle it. Please tell me what is problem. thank you in advance Manu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128165#4128165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [Javassist user questions] - error reloading a class

2008-02-10 Thread cat4hire
Hi all, I'm writing a custom class loader that exploits Javassist to manipulate classes on the fly. This is what I'd like to do: 1) start with a clear class (not manipulated) loaded from the root custom classloader 2) manipulate the class inserting an interface on it, load the class with a custo

[jboss-user] [Javassist user questions] - Re: JA seems inactive, is it?

2008-02-10 Thread cat4hire
Well, I guess Javassist is still active, since on Janauary 2008 it has been released the 3.6 release, but the JBoss page seems not up to date. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128160#4128160 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [Javassist user questions] - Re: Duplicate a method

2008-02-10 Thread cat4hire
You are not trying to duplicate, rather to overload the method. I usually do this: 1) create a StringBuffer where I place the java source code for the new method; 2) use CtNewMethod.make() to obtain a new CtMethod for the source code; 3) add the method to the CtClass. View the original post : ht

[jboss-user] [JBoss Seam] - Problem with custom converter for class access in facelets u

2008-02-10 Thread Rincewind77
I try to register a custom converter for my business model enums in Seam 2.0.1.GA. This works fine until I do use facelets EL to access my properties. That's my enum: public enum Gender { | MALE, FEMALE | } Here's my converter (it's not finished, I know ;-): @Name("genderConverter") |

[jboss-user] [Javassist user questions] - Re: How to use an new method argument?

2008-02-10 Thread cat4hire
You can refer to method arguments using the special $n variables, for instance if your argument is the third, than in the method code you can refer to it as $3. Similarly, $$ is substituted to the full list of arguments. View the original post : http://www.jboss.com/index.html?module=bb&op=view

[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method

2008-02-10 Thread rmcalderero
No. The configuration we used is copied from the jpa example of the booking application. Something like this: Components.xml | . | | | | | | .. And as i said, this is been working correctly so far for our application. View the original p

[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file

2008-02-10 Thread baz
Finally i found it. This mapping causes the exception: | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";> | | | | | | | | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: Validation patter -> Invalid State

2008-02-10 Thread enda
I also read and can confirm the think that empty field that has pattern annotation and is not required will cause an exception when new object is created. Can I somehow avoid to it? I assume that value "" cannot be evaluated? View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: serializing access to resource

2008-02-10 Thread gsegura
Ok, perhaps the correct question is: Does EJB3 persistence honors this aspects of Entity Bean Life Cycle (these behaviour is described in http://www.ubookcase.com/book/Sams/JBoss.4.0.The.Official.Guide/0672326485/ch05lev1sec4.html): anonymous wrote : With the default configuration of JBoss ther

[jboss-user] [JBoss Seam] - Re: Event not raised with annotations - Bug?

2008-02-10 Thread [EMAIL PROTECTED]
I suggest you put a breakpoint in EventInterceptor.aroundInvoke() to see what's happening. The return value of your method shouldn't make any difference to whether the event is raised or not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128155#4128155 Rep

[jboss-user] [JBoss Seam] - Re: problem on Internet Explorer

2008-02-10 Thread [EMAIL PROTECTED]
I just tested the seam-space example from latest SVN on IE 6, IE 7 and Firefox. File upload (which is used in the new user registration views) worked fine on all three browsers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128154#4128154 Reply to the post

[jboss-user] [JBoss Seam] - Event not raised with annotations - Bug?

2008-02-10 Thread ruettimac
Hi, I have two methods raising an event - one raises the event, the other not. If I raise the event programmatically it works, but not while I am annotating the raise of the event. First the method which does not raise the event with annotations: | @RaiseEvent(value=SeamConstants.EVENT_SPOR

[jboss-user] [Remoting] - Re: Concurrency Issue (ClassCastException) in MicroRemoteCli

2008-02-10 Thread [EMAIL PROTECTED]
Hi Paul, I've been thinking about this issue some more. 1. Definitely, setting the unmarshaller instance variable (if there is to be such a thing) should have been synchronized. 2. I've been re-reading the documentation on the Application Server classloading structure, particularly sections