[jboss-user] [JBoss Seam] - regarding jboss-bean.xml?
HI because we have to deploy our application in many servers with different specifications and configurations, I need to have an external config file in which I declare simply IP and connection url the question is that how can I put these info into a file so jboss-beans.xml read those information because this file currently located in jar file it is difficult to alter the file and create a new jar file for each server thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073349#4073349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM + Hibernate Could not flush sessions problem
Hi All We are using jBPM with Hibernate in a Seam 1.2.1 application and have come across this exception...Do we have any idea why this would occur? Has anybody else encountered this before? Regards Shubham 2007-08-12 13:06:12,590 ERROR [STDERR] org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session 2007-08-12 13:06:12,591 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:189) 2007-08-12 13:06:12,591 ERROR [STDERR] at org.jbpm.svc.Services.close(Services.java:211) 2007-08-12 13:06:12,591 ERROR [STDERR] at org.jbpm.JbpmContext.close(JbpmContext.java:139) 2007-08-12 13:06:12,591 ERROR [STDERR] at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:239) 2007-08-12 13:06:12,591 ERROR [STDERR] at org.jboss.seam.core.Jbpm.startup(Jbpm.java:66) 2007-08-12 13:06:12,592 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2007-08-12 13:06:12,592 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 2007-08-12 13:06:12,592 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2007-08-12 13:06:12,592 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:615) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:20) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1834) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1757) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1746) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.init.Initialization.init(Initialization.java:504) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33) 2007-08-12 13:06:12,592 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) 2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) 2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) 2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) 2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 2007-08-12 13:06:12,593 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073350#4073350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
I have it. But this is for jboss. I'm using glass fish. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073351#4073351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Facet and tomcat runtime
hi olivier, Thanks for the kind words ;) With respect seam facet not being enabled, then that is just because until JBoss 4.2 is the only runtime that provides the right set of libraries - in a future release will we enable it for others than just jboss. Do also note that currently the seam facet is purely used to generate a simple WTP project (that will deploy to jboss 4.2 and have wtp hotdeploy etc.) but that is it. If you have an existing project you can curerntly right click it and enable seam features on it and it doesn't even have to be a WTP project. In the future that enablement button will probably move to a preference page. That seam facelets doesn't disable the seam features is a bug - would be great if you could report it in jira. thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073352#4073352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problem starting service portal:service=CMS
I have the latest portal and i run it with MySql 5.0 I use the jdbc driver mysql-connector-java-5.0.7-bin.jar when i start Jboss i get 10:46:50,465 INFO [RepositoryImpl] Starting repository... 10:46:50,605 WARN [ServiceController] Problem starting service portal:service=CMS javax.jcr.RepositoryException: failed to load persisted repository state: 8: 8 at org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:408) which leads for authentication denied when trying to login as admin any idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073353#4073353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Facet and tomcat runtime
Thanks a lot for the detailed explanation. Very interesting. I will open a bug in JIRA as soon as I verify that the problem still occur in the last nightly build. Even if this bug has for me a nice side effect ;-) Thanks again. Keep up the good work. Olivier. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073355#4073355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: installing jBPM
Can you give me the link to the answering post. I asked me the some questions some time ago. Would be nice to know how it works. thx lou View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073356#4073356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
You need to find out what jndi name Glassfish uses to expose the entity manager factory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073362#4073362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Configuration of additional JMS Connection Factories
Hi, I'm using JBoss 4.0.5 for deployment. I'd like to define multiply Connection Factories, i.e. to use simultaneously the default ConnectionFactory and my own MyConnectionFactory. For this in uil2-service.xml I added the code: MyConnectionFactory But this enables using only MyConnectionFactory. Is there an option to define (and use ) multiply JMS connection factories for JBoss? Thanks in advance, egur. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073365#4073365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: OutOfMemoryError in JBPM3.2.1
kukeltje wrote : By looking in the jsf component for dataform, find out what causes the OOME and creating a patch Well. I looked into the source code of jsf component, and found it is bug of jbpm3.2.1 ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073366#4073366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to define customer bean in jbpm 3.2.1?
I just upgraded from jbpm 3.2. GA to jbpm 3.2.1, and found unlike jpbm3.2.GA there is no managed-bean tag in \WEB-INF\faces-config.xml file. After adding my managed-ben in to \WEB-INF\faces-config.xml and runing my web application that woking well in jbpm3.2.GA, I got the error Target Unreachable, identifier MyUserBean resolved to null. So I think it maybe different to define cusomer bean in jbpm 3.2.1. Is there any suggestion? Thanks in advanbce. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073367#4073367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Infiniband
Hi all, I have been using jboss application server for a while as a stand alone server. Now I want to build a cluster environment using jboss on InfiniBand technology, I read The Jboss 4 Application Server Clustering Guide but there was nothing about InfiniBand .I want to know if Jboss could be run on InfiniBand and if so , what should I do to run Jboss on InfiniBand ? Any help would be appreciated. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073369#4073369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Single Session for Same IP?
Hello, I've just started development with JBoss, I'm having the following issue: I'm logging in to my application with different users from the same machine (from different browser windows), and from all the windows I can access only to the last logged in users (that is I get only one session). The session management works when I logon to my application from different machines (with different IP addresses). So I believe that this is might be issue with JBoss assigning a single session to the users coming from one IP. Is there a setting about this we can enable/disable? Best, Mustafa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073370#4073370 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Newbie: How do I create a single jar for a Drools app?
I have a simple app in the ide (eclipse) just a java file and a drl file. I build and run it in the IDE and it works fine. I then create a jar but it won't run (Exception in thread main java.lang.NoClassDefFoundError:), the drools jars are in there as are the drools libs, I've tried pointing the classpath at the current dir and the location of the drools jars etc etc. Is there an idiot's guide anywhere or can anyone suggest where my mistake is? Any pointers would be most welcome. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073371#4073371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB remore client in 4.2
double-check that your client's classpath contains all the necessary jboss jars (in JBOSS/client dir), and the EJB interface class for the bean your invoking. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073372#4073372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Hi everyone, I'm having a problem and your help would be great! I am getting the below error when i try to deploy my project in JBoss. 09:44:02,578 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/MANIFEST.MF } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/MANIFEST.MF | altDD: null | lastDeployed: 1186926242575 | lastModified: 1186926242000 | mbeans: | | [EMAIL PROTECTED] { url=file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/application.xml } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/application.xml | altDD: null | lastDeployed: 1186926242577 | lastModified: 1186926242000 | mbeans: | | --- Incompletely deployed packages --- | [EMAIL PROTECTED] { url=file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/MANIFEST.MF } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/MANIFEST.MF | altDD: null | lastDeployed: 1186926242575 | lastModified: 1186926242000 | mbeans: | | [EMAIL PROTECTED] { url=file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/application.xml } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/opt/jboss/jboss-4.2.1.GA/server/default/deploy/deploy/META-INF/application.xml | altDD: null | lastDeployed: 1186926242577 | lastModified: 1186926242000 | mbeans: | | --- MBeans waiting for other MBeans --- | ObjectName: user:service=QuartzService,name=QuartzService | State: CONFIGURED | I Depend On: | jboss.jca:service=LocalTxCM,name=QuartzDS | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.jca:service=LocalTxCM,name=QuartzDS | State: NOTYETINSTALLED | Depends On Me: | user:service=QuartzService,name=QuartzService | | | 09:44:02,634 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8090 | 09:44:02,648 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8010 | 09:44:02,655 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 19s:50ms | 192.168.235.75 | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073373#4073373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: OutOfMemoryError in JBPM3.2.1
stana, If it's a JBPM issue, file a JIRA issue, after first making sure there isn't one already. If there already is one, you'll want to vote for it. If you understand what's going on, and can describe it clearly, it's likely to get quicker attention. If possible, you want to aim for someone to be able to reproduce it in 5 minutes. If you have a unit test that reproduces the problem, it will get quicker attention. If you have a proposed fix, attach a diff. I'm not trying to tell you that you SHOULD do any of this - I'm just describing what's likely to work. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073376#4073376 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: validation
I see three options: A) To catch the Exception in your code and then show the respective message. | public void create(Object entity) throws MyDuplicatedException { | try { | em.persist(entity); | em.flush(); | } catch (EntityExistsException e) { | throw new MyDuplicatedException(); | } | } | | B) To use @Validator and @Name enabling a JSF Validator as Seam component. | @Name(equalValidator) | @Validator | public class EqualValidator implements javax.faces.validator.Validator { | ... | public void validate(FacesContext facesContext, UIComponent uiComponent, Object value) throws ValidatorException { | ... | } | } | | | -- | | h:inputSecret id=confirmPassword value=#{user.confirmPassword} required=true |maxlength=40 redisplay=true tabindex=3 styleClass=input | f:validator validatorId=equalValidator/ | /h:inputSecret | | C) To implement custom Hibernate Validator (it will work with s:validate). | public class MyEmailValidator implements ValidatorMyEmail { | ... | public boolean isValid(Object value) {... | } | ... | } | - | | @Documented | @ValidatorClass(EmailValidator.class) | @Target({METHOD, FIELD}) | @Retention(RUNTIME) | public @interface MyEmail { | String message() default {validator.email}; | } | | | | . | @Entity | public class User { | ... | @MyEmail | private String email; | ... | } | | I used A) and B) and C) in different scenarios, but at the moment I din't use C) to access database querying for some data. Maybe you can try making MyEmail class a Seam component (which will allows you to access SMPC). HTH. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073378#4073378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Source code for jbpm_console
Hi, I'm having a heck of a time locating the CVS source location for the jbpm web console (jbpm-console). I thought it was under jbpm.3/console/src, but that doesn't appear to have any Java files on the head (everything shows as deleted). Any help would be greatly appreciated! jeff View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073380#4073380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Source code for jbpm_console
Never mind -- I found it under jbpm4jsf. jeff View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073381#4073381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: entity-query : resultCount problem with join fetch
[EMAIL PROTECTED] wrote : no, there is no JIRA issue for this Now there's one: http://jira.jboss.org/jira/browse/JBSEAM-1786 Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073382#4073382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically
What do you mean by the Page Display name Page - node or Browser display name... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073383#4073383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - @Enumerated(EnumType.STRING) writes ordinal to table
JBoss AS 4.2.1 I'm trying to persist an enum as a string (e.g. OBJECT_CREATE rather than its ordinal 0): public enum AuditEvent { | OBJECT_CREATE,OBJECT_UPDATE,OBJECT_REMOVE,FIELD_CHANGE, | } My Entity property is marked with @Enumerated to set the STRING converstion: @Column(name = audit_event) | @Enumerated(EnumType.STRING) | public AuditEvent getEvent() {... The generated table is (correctly) a VARCHAR (without the STRING annotation, it is an int), but the value written to the table is still the ordinal value (the string '0' rather than the string 'OBJECT_CREATE'). Is this a bug in JBoss 4.2.1, or a misunderstanding of the spec on my part? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073384#4073384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: OutOfMemoryError in JBPM3.2.1
Staub, Thanks for your advice. For my poor English (it is not my native language), it is impossible for me to describe the issue clearly. But it is definitely a bug. I hope this topic could attract attention and somebody can do the work you said. -Stana View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073385#4073385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Communication between JSR 168 Portlets
I think you are talking about IPC. There are good examples based on events in samples... Have a look at them... Specifiacally, PortletA, PortletB in the samples events package. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073386#4073386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PersistenceContext injection in Seam 2.0beta1
JIRA issue created: http://jira.jboss.org/jira/browse/JBSEAM-1787 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073387#4073387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Opening new portlet from link
Are there fixed number of portlets that you want on the second page. If thats the case. I think you can add those portlets in minimized state with empty rendersets(No Decorations, so taht you dont get the feel that there are portlets on the page).and on the click get them maximized which would have the required window decorations. I hope this would be a work around for fixed no of windows... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073388#4073388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Adding new portals
Please be more clear on your question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073389#4073389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically
Browser display name. The name that gets displayed on the tabs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073391#4073391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)
Did you touch Hotel.java? It looks (to me) like the key exception in the log is org.hibernate.AnnotationException: No identifier specified for entity: org.jboss.seam.example.booking.Hotel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073394#4073394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBoss Cache 2.0.0 in GA
aditsu wrote : Great! | Shouldn't this be a sticky announcement? Yes you are right, just made it sticky. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073396#4073396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically
I acheived this by putting some logic in tabs.jsp. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073398#4073398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
Do i need to add persistence unit ref in the web.xml with GF? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073399#4073399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Communication between JSR 168 Portlets
I think you should consider the second page to be the same portlet or you should make a menu link to the other portlet In the first case it is the same portlet. In the second case it works as the menu system works. (Only difference your link comes from another portlet .. not the menu) A third case could be called IPC Inter portlet communication. The best design is to avoid this. The basic idea behind portlets in JSR 168 is independence. It does not specify IPC. You can ask. Was the JSR 168 team sleeping ... doing a bad job? I think No. I think the JSR 168 team did a fair job. You should think about portlets as independent units. At the wildest linked together like a menu... By such a perception I believe you will end up being happier... The benefit from portlets for you shoud be the power of combining portlets into a portal. The benefit should not be another way of combining components. Components are much better combined in frameworks like JSF View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073400#4073400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss and spring frame work
I got the following error in the jmx console when I invoke the oracle jdbc driver: oracle.jdbc.driver.OracleDriver Information Not loaded in repository cache here is my oracle-ds.xml file: local-tx-datasource jndi-namecpp/jndi-name connection-urljdbc:oracle:thin:@xxx:oralu/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namex/user-name x type-mappingOracle9i/type-mapping -Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073402#4073402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @Enumerated(EnumType.STRING) writes ordinal to table
False alarm! After doing a clean deploy to jboss, it's working as expected (writing 'OBJECT_CREATE', etc. to the database, not a string ordinal value). Something must be wrong with my Seam ant explode task which I expected to deploy the new entity .class files to the server. In any case, JBoss/EJB3 is working as it ought to. Sorry for the wasted bandwidth! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073403#4073403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
According to this [1] it won't work with jndi [1] http://forums.java.net/jive/thread.jspa?messageID=207521 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073404#4073404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Generic way to truncate date
Hello, I am trying to figure out a way to truncate a date so that it works for both SQL Server and Oracle. Presently I just use trunc in my queries for Oracle , but this does not work in SQL Server. I thought that the dialect would convert the trunc function to its SQL Server equivalent but thats not the case. Is there anything in hibernate that can do this? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073406#4073406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - sjsas and Seam. method not found exception
I write simple application and I have problem, that I can't resolve. It always show me error that, method test.TestLocal_15902127.test() hasn't been found. There is Seam.propertis in web/conf dir in ejb project and there are all business interfaces. Please help. My error: | javax.el.MethodNotFoundException: /template-client.xhtml @23,78 | action=#{test.test}: Method not found: test.TestLocal_15902127.test() | javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: | /template-client.xhtml @23,78 action=#{test.test}: Method not found: | test.TestLocal_15902127.test() | at | javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:81) | at | com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:96) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at | org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180) | at | org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158) | at | org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:329) | at | com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) | at | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244) | | web.xml | ?xml version=1.0 encoding=UTF-8? | web-app version=2.5 xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; | context-param | param-namecom.sun.faces.verifyObjects/param-name | param-valuetrue/param-value | /context-param | context-param | param-namecom.sun.faces.validateXml/param-name | param-valuetrue/param-value | /context-param | context-param | param-namejavax.faces.DEFAULT_SUFFIX/param-name | param-value.xhtml/param-value | /context-param | context-param | param-namefacelets.DEVELOPMENT/param-name | param-valuefalse/param-value | /context-param | context-param | param-namefacelets.SKIP_COMMENTS/param-name | param-valuetrue/param-value | /context-param | servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern*.xhtml/url-pattern | /servlet-mapping | session-config | session-timeout | 30 | /session-timeout | /session-config | welcome-file-list | welcome-file | index.xhtml | /welcome-file | /welcome-file-list | context-param | description | /description | param-nameorg.jboss.seam.core.init.jndiPattern/param-name | param-valuejava:comp/env/Tets-ejb/#{ejbName}/local/param-value | /context-param | | listener | listener-classorg.jboss.seam.servlet.SeamListener/listener-class | /listener | | ejb-local-ref | ejb-ref-nameTets-ejb/TestBean/local/ejb-ref-name | ejb-ref-typeSession/ejb-ref-type | localtest.TestLocal/local | ejb-linkTestBean/ejb-link | /ejb-local-ref | /web-app | | | ?xml version='1.0' encoding='UTF-8'? | faces-config version=1.2 | xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd; | | application | view-handler | com.sun.facelets.FaceletViewHandler | /view-handler | /application | lifecycle | phase-listenerorg.jboss.seam.jsf.SeamPhaseListener/phase-listener | /lifecycle | application | el-resolver | org.jboss.seam.jsf.SeamELResolver | /el-resolver | /application | /faces-config | ejb-jar.xml | ?xml version=1.0 encoding=UTF-8? | ejb-jar xmlns = http://java.sun.com/xml/ns/javaee; version = 3.0 | xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation = | http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd; | interceptors | interceptor | interceptor-class | org.jboss.seam.ejb.SeamInterceptor | /interceptor-class | /interceptor | /interceptors | assembly-descriptor | interceptor-binding | ejb-name*/ejb-name | interceptor-class | org.jboss.seam.ejb.SeamInterceptor
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
My reading of the JPA spec is that it requires the EntityManagerFactory to be exported to JNDI, but I will check what others think on this. You should be able to do this using persistence:entityMangerFactory persistence-unit-name=SeamGenProject name=entityManagerFactory / | persistence:managed-persistence-context name=entityManager auto-create=true entityManagerFactory=#{entityManagerFactory} / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073409#4073409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Need help: jboss 4.2.1 GA startup Failed to initialize t
Which operating system? If Linux, try adding the option -Djava.net.preferIPv4Stack=true to the JVM options. Sometimes IPv6 can cause issues on Linux and setting this option will turn IPv6 off. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073408#4073408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ERROR [URLDeploymentScanner] Incomplete Deployment list
Looks like you did a exploded deployment of an application named deploy. Either that, or you created a directory named deploy under the existing deploy directory and copied the contents of your application there. Based on the errors, I would guess that the application is an enterprise application, and thus it requires a .ear extension. Either package your application as a file named xxx.ear (where 'xxx' is anything you want) and copy that file to the deploy directory. Or renamed the deploy directory you created to 'xxx.ear' (i.e., you will end up with /opt/jboss/jboss-4.2.1.GA/server/default/deploy/xxx.ear). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073411#4073411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
Sorry, I meant: To work around the limitation in glassfish, use ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073410#4073410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - What goes where ? packaging and deployment question
OK so im beginning my adventure with JBoss Seam - i have 2+ J2SE learning experience and 2yrs+ exp developing PHP apps. First and foremost - thanks JBoss team for a great Seam Documentation - it answered not all-but some of my questions where others didnt even scratch the surface ! Root of my problem is : Im having big time trouble with understanding project file structure. - what comprises for a ear file (my guess is - jars) - what should be the structure of webapp and ejb module inside ear ? (where i should put sources and where to put compiled stuff ? - what exactly happens when JBOSS AS deploys ear files ? wich files go where ? - how can i remove app thats partially deployed and moving ear to undeploy/ dosent work ? if anyone could help me or point me to a specific articles - ill' be much obliged :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073412#4073412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Generic way to truncate date
Please ask on a hibernate forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073413#4073413 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Trinidad table binding
I'm writing an application using a mix of Trinidad and RichFaces controls. I used the SeamDisc example in CVS for the setup and it's working. I'm using a tr:table with the following header: tr:table id=partyTypeList value=#{partyTypes.dataModel} | var=partyType rowBandingInterval=1 rows=10 | rowSelection=multiple binding=#{partyTypesManager.table} The binding does not work, I get a javax.el.ELException: /party/partyTypes.xhtml @31,68 binding=#{partyTypesManager.table}: java.lang.IllegalArgumentException: argument type mismatch. As you can imagine I carefully used the example in the TRinidad web site and double.checked the code of the bean, that is: @Name(partyTypesManager) | @Scope(ScopeType.SESSION) | public class PartyTypesManager { | | public void performDelete(ActionEvent action){ | UIXTable table = getTable(); | Iterator selection = table.getSelectedRowKeys().iterator(); | Object oldKey = table.getRowKey(); | while(selection.hasNext()){ | Object rowKey = selection.next(); | table.setRowKey(rowKey); | PartyType pt = (PartyType) table.getRowData(); | System.out.println(PartyType +pt.getId()+ marked for deletion); | } | table.setRowKey(oldKey); | } | | private UIXTable _table; | public UIXTable getTable() { | return _table; | } | public void setTable(UIXTable table) { | this._table = table; | } | | } I red an old post that said to not try to use a binding of a trinidad table in Seam. Is it still true? The SeamDisc example did not bind any table to a backing bean, so i do not have any hint. The binding is necessary to use the multirow selection feature, one of the many differences between the Trinidad table and the RichFaces table. Thanks Marco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073414#4073414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Single Session for Same IP?
Multiple browser windows do not equate to multiple sessions - there is only one (as you found out). If you want multiple sessions, you need to run multiple browsers. For example, I always start with Firefox. If I need a second session (happens occasionally), I fire up Internet Explorer. If I ever need a third or fourth session, I would have to run Opera. (Though your post got me to wondering if there is a way to configure a browser to run a unique session in each window. There might be a way because I know that tools such a JMeter can run multiple sessions.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073415#4073415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: New Install on Windows Server 2003
I think you have a JVM installation issue. You indicate that you are running JDK 1.6, but the error identifies the JVM as: Java VM: Java HotSpot(TM) Server VM (1.5.0_01-b08 mixed mode) and later it says: vm_info: Java HotSpot(TM) Server VM (1.5.0_01-b08) for windows-x86, built on Dec 6 2004 19:33:54 by java_re with MS VC++ 6.0 but among the DLLs listed are: 0x7c34 - 0x7c396000 C:\Program Files\Java\jre1.6.0\bin\msvcr71.dll 0x6d84 - 0x6dba5000 C:\Program Files\Java\jre1.6.0\bin\server\jvm.dll Actually, that last line concerning the jvm.dll leads me to believe that someone copied over a 1.5 JVM DLL into the 1.6 JVM directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073416#4073416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Before Start we need your advice
Thanks Peter, I think you refer to EJB 3.0 session beans with CMT and pure Hibernate without JTA, If I put it differently, use only the EJB 3.0 session beans CMT but not the entity beans for entity beans directly use the hibernate. Hope above is correct View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073417#4073417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Jndi problem with jboss embedded and testng
Hello i'm trying to run a testng test. At the beginning it looks fine: | 01:55:18,578 INFO [Component] Component: offerLifecycle, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: de.intermobil.appl.OfferLifecycleBean, JNDI: OfferLifecycleBean/local but as soon es the test needs an injected value, the following exceptions are thrown: FAILED CONFIGURATION: @BeforeClass init | org.jboss.seam.InstantiationException: Could not instantiate Seam component: offerLifecycle | at org.jboss.seam.Component.newInstance(Component.java:1955) | | Caused by: javax.naming.NameNotFoundException: OfferLifecycleBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:542) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:550) I don't know why it doesn't work. The full jboss version works fine just the embedded jboss doesn't work. The configuration seems to be ok. Only the jndi lookup for OfferLifecycleBean/local fails. Could you give me a hint, what could be wrong? Thanks, Gena View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073418#4073418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to realize the
thanks for your advise,kukeltje! i will see those test cases carefully. in case i need more of your help,would you please leave your e-mail? thanks again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073419#4073419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Need help: jboss 4.2.1 GA startup Failed to initialize t
PeterJ wrote : Which operating system? If Linux, try adding the option -Djava.net.preferIPv4Stack=true to the JVM options. Sometimes IPv6 can cause issues on Linux and setting this option will turn IPv6 off. | Thank you. it is windows xp sp2. where i place the option -Djava.net.preferIPv4Stack=true ? how about the problem said SSLEngin failed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073425#4073425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5
Are there any articles comparing JSF performance with JSP for relatively up-to-date JSF implementations? Specifically I'm interested in data table rendering... Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073426#4073426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - I deployed jBPM to Weblogic9.1 successfully, but I can not lo
In order to study jBPM deeply,I open the jbpm-console.war package,and deploy it to Weblogic9.1,and point db to SqlServer.Logs as below: 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: JDBC driver: SQLServer, version: 2.2.0022 2007-8-13 10:34:54 org.hibernate.dialect.Dialect ??: Using dialect: org.hibernate.dialect.SQLServerDialect 2007-8-13 10:34:54 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory ??: Using default transaction strategy (direct JDBC transactions) 2007-8-13 10:34:54 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup ??: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Automatic flush during beforeCompletion(): disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Automatic session close at end of transaction: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Scrollable result sets: enabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: JDBC3 getGeneratedKeys(): disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Connection release mode: auto 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Default batch fetch size: 1 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Generate SQL with comments: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Order SQL updates by primary key: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory ??: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 2007-8-13 10:34:54 org.hibernate.hql.ast.ASTQueryTranslatorFactory ??: Using ASTQueryTranslatorFactory 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Query language substitutions: {} 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: JPA-QL strict compliance: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Second-level cache: enabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Query cache: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory createCacheProvider ??: Cache provider: org.hibernate.cache.HashtableCacheProvider 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Optimize cache for minimal puts: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Structured second-level cache entries: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Statistics: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Deleted entity synthetic identifier rollback: disabled 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Default entity-mode: pojo 2007-8-13 10:34:54 org.hibernate.cfg.SettingsFactory buildSettings ??: Named query checking : enabled 2007-8-13 10:34:54 org.hibernate.impl.SessionFactoryImpl ??: building session factory 2007-8-13 10:34:57 org.hibernate.impl.SessionFactoryObjectFactory addInstance ??: Not binding factory to JNDI, no JNDI name configured 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: SQL Warning: 0, SQLState: 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to jbpm 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: SQL Warning: 0, SQLState: 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]?? 'jbpm'? 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: SQL Warning: 0, SQLState: 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: [Microsoft][SQLServer 2000 Driver for JDBC]Language changed to 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: SQL Warning: 0, SQLState: 2007-8-13 10:34:59 org.hibernate.util.JDBCExceptionReporter logWarnings ??: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer] ? 2007-8-13 10:43:23 com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp ??: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container. 2007-8-13 10:43:34 com.sun.facelets.compiler.TagLibraryConfig loadImplicit ??: Added Library from: zip:E:/bea/user_projects/domains/mydomain/./servers/AdminServer/tmp/_WL_user/_appsdir_jBPM_war/i0ke06/war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 2007-8-13 10:43:34 com.sun.facelets.compiler.TagLibraryConfig loadImplicit ??: Added Library from:
[jboss-user] [JBossCache] - Re: read only POJOCache objects?
PojoCache doesn't have such capability to mark a retrieved POJO as read only, I am afraid. -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073428#4073428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: findAll(null) working?
Maybe posting your unit test would help here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073429#4073429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?
No, you can't associate multiple objects using a single key. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073430#4073430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: POJOCache detach()? Sort Of?
detach as it stands is to remove the pojo from the cache unless you want to use it in other way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073431#4073431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Replication not working when updating an object in pojo
Instead of running inside jboss as, can you make sure the standalone works first between the 2 nodes? -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073432#4073432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache 1.4.1 SP3 and Tomcat
Any reason that you can't use compile time option instead? Loadtime sometimes has the problem of classpath and loading issue. In addition, it would need to weave all the classes at runtime that can be really slow. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073433#4073433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - .NET client failed to invoke web service on JBoss
Hi, I created a Hello World web service and deployed it on JBoss 4.0.1sp1. This web service only has one method which prints a Hello world message. I created Java clients and they succeeded to consume this service. But when I use a .NET client to try to invoke the method, it always failed. The Java client, .NET client and the JBoss server are on the same machine. The service was created following the JBoss AS documentation Chapter 12. When my .NET client tries to invoke the method, I always got a 500 error saying The server encountered an internal error () that prevented it from fulfilling this request. The exception stack starts with java.lang.NullPointerException org.apache.axis.encoding.DeserializationContextImpl.getTypeMapping. org.apache.axis.encoding.DeserializationContextImpl.getDeserializer. . Any help would be greatly appreciated. Thanks. Arthur View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073434#4073434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: .NET client failed to invoke web service on JBoss
One more thing, the method of the web service takes a string as input argument. The .NET client sends a string to the web service method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073435#4073435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem configuring SMPC
Unfortunately, the spec doesn't require JNDI binding except to the ENC of a Bean (useless crap). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073436#4073436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)
Yes I did touch Hotel.java because I am going to use the search thing to get data out of the database. Therefore I modify some parts of it. However, I am not sure if I did the correct thing or not. I just change the attributes of the hotel to match what we have but still call it hotel. Is it because I touched Hotel.java?? I will try to run it with the original one then. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073438#4073438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Single Session for Same IP?
Hi Peter, Are you sure that multiple windows don't mean multiple sessions? I'm currently using several other web applications that can run different users in different windows. The issue I'm worried about is if the problem is related to the IP of the machine, my application will simply collapse when users of a network obtaining their internet connection via a single IP connect to my application. So to make sure I'll do the following tests: - As you've said I'll open up different browsers (Firefox, Konqueror in my case) and see if the session is shared - I'll connect to the application via 2 machines using the same external IP and see what happens I'll keep posting the results. Meanwhile, are there anyone else experiencing these kinds of issues? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073439#4073439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - how to debug jsp portlet in eclipse?
I can not debug jsp portlet in eclipse, i need to make a war file,then copy to jboss portal/deploy directory, if portlet has errors,I modify errors and make a war file again , So ,i have to do this many times, could i debug jsp portlet in Eclipse IDE ? Who can help me ,help ,help ?? I am Chinese,I could not speak english well ,sorry. Thanks for answer,Please help me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073440#4073440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - ActiveMQ integration problem
Hi, I'm using: - JBoss AS 4.2.0 - ActiveMQ 4.1.1 I tried to use ActiveMQ as message broker for my MDB. Somehow it is not run properly. I got 2 problem : 1. 13:32:10,344 WARN [ManagementContext] Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Software caused connection abort: recv failed] Does anyone know what is the problem ? 2. It seems that my MDB only process (receive the event) when it was first time deployed. The sequence : a. Run JBOSS AS b. Run client, send message to a queue c. Deploy my MDB d. My MDB can process the message e. Run the client again f. MDB do nothing, until, I redeploy the MDB again. Client snippet : InitialContext ic = new InitialContext(System.getProperties()); //connect using active mq ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory(); Queue queue = (Queue)ic.lookup(activemq/queue/outbound); ic.close(); System.out.println(Queue testQueue exists); Connection connection = cf.createConnection(); Session sess = connection.createSession(false,Session.AUTO_ACKNOWLEDGE); MessageProducer sender = sess.createProducer(queue); TextMessage msg = sess.createTextMessage(test activemq4); sender.send(msg); connection.close(); MDB Snippet: @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = destinationType, propertyValue = javax.jms.Queue), @ActivationConfigProperty(propertyName = destination, propertyValue = queue.outbound), @ActivationConfigProperty(propertyName = acknowledgeMode, propertyValue=Auto-acknowledge)}) public class HelloMDB implements MessageListener { public void onMessage(Message arg0) { try { TextMessage tm = (TextMessage)arg0; System.out.println(Hello I'm Message Bean, receive msg: +tm.getText()); } catch (JMSException e) { // TODO Auto-generated catch block e.printStackTrace(); } Does anyone know what happen ? Is it because of deadlock in the queue (between producer and consumer) or ? Sorry, I'm not so sure where should I ask this question, whether to ActiveMQ forum, or JBoss. Please help. Thanks. Regards, Ferry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073442#4073442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Infiniband
We haven't tested JBoss Clustering on Infiniband, but as long as you use IB with the ethernet/IP emulation, you can treat it as just another NIC. We're looking into supporting IB via RDMA/C some time in the future. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073441#4073441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user