[jboss-user] [JBoss Messaging] - Re: Metrics in JBoss Messaging.
What I was interested in (and what I implemented) was the current message throughput (incoming and outgoing messages) because we use the clustered messaging server as an asynchronous backend for other applications. Also general message counters and the current registered message listeners are interesting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213599#4213599 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.3.1.GA and jboss 4.2.3
You get this because of the GWT console. When you install jbpm, GWT console is optional. Since it really isnt ready for prime time, I would opt to use the standard jsf-console. Optionally since you already have it installed, you could just remove the gwt pieces within jbpm folder of deploy. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213591#4213591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Performance slowdown with large JBPM_LOG table
The log table is basically an audit table. If you dont need auditing in your application, you could just turn it off by unconfiguring the logging service from jbpm.cfg.xml. Comment out: | | | Another option would be to write your own logging service that extends on DbLoggingServiceFactory. There you could filter out unwanted logs. I have done this with success in the past. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213590#4213590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: IllegalAccessError, EJB3, and JBoss 5
Please post the entire exception stacktrace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213589#4213589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException
Are you packaging any jndi.properties in your application? If yes remove that. If that doesn't solve the issue, post the output of: jar -tf myapp.jar or jar -tf myapp.ear depending on how your application is packaged. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213588#4213588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Does anyone deploy apache muse on JBoss successfully?
anonymous wrote : Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAware | ParserConfiguration | Isn't this the same issue that we were discussing in your other post here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151246 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213587#4213587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 'findstr' is not recognized as an internal or external c
See this http://www.jboss.org/community/docs/DOC-9758 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213586#4213586 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - How to retreive size of JMS queue (same jboss instance, sepa
Hi Folks, Under my [JBOSS_HOME]/server directory, i have four applications - app1, app2, app3 and monitoring. Within the monitoring application, i want to monitor the size of jms queues deployed on app1, app2 and app3. Below are the testing code i am using... | | String stringOjbectName = "mdh.mq.destination:service=Queue,name=testQueue"; | MBeanServer server = MBeanServerLocator.locateJBoss(); | ObjectName queueObjectName = ObjectName.getInstance(stringObjectName); | QueueMBean queueMBean = (QueueMBean) MBeanServerInvocationHandler.newProxyInstance( | server,queueObjectName,QueueMBean.class,false); | | int queueDepth = queueMBean.getQueueDepth(); | when run the monitoring app, i got error javax.management.InstanceNotFoundException: mdh.mq.destination:service=Queue,name=testQueue is not registered. I am using jboss 4.0.5. When i load jmx-console of app1, i can see testQueue is listed under domain mdh.mq.destination. Could anyone please shed some lights on this? Thanks in advnace View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213581#4213581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Combining my persistent classes with the JBPM persistent cla
Hi people, i got an issue and i hope that you can help me! I'm trying to combine my own persistent classes with the JBPM persistent classes. First I follow the steps described on the following link: http://docs.jboss.org/jbpm/v3/userguide/persistence.html#d0e2412 but i recieve an org.hibernate.MappingException:Unknown entity with my custom class. First I have mi POJO class named: Metric, then I created a Metric.hbm.xml file that try to creates a TABLE NAME="Metric". Finally I put the reference to that file on my hibernate.cfg.xml: Hypersonyc is my defauld DB, and supposedly when I start my jbpm suite my custom table must be created, but it doesn't. I need some help. Thank you! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213579#4213579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NullPointer exception on client when looking up queue
Hi I think it would be better if you put this to remoting forum at the same time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213578#4213578 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - javax.naming.NameNotFoundException
I have a problem where I am trying to define a PersistenceUnit, but JNDI dependency claims to be not bound immediately after a line in the log file claiming it is bound. This line: 23:53:30,895 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=REAMySqlDS' to JNDI name 'java:REAMySqlDS' preceeds this line: javax.naming.NameNotFoundException: REAMySqlDS not bound Can anybody explain what needs to be done to fix it? Thank you, Matthew I am using JBoss 4.2.2. -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/persistence/persistence_1_0.xsd"; | version="1.0"> | | org.hibernate.ejb.HibernatePersistence | | java:REAMySqlDS | | | | | | | | | | | | | | | | | | | | | | | | -mysql-ds.xml | | | | | | | REAMySqlDS | jdbc:mysql://localhost:3306/rea1 | com.mysql.jdbc.Driver | user | pass | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | | | | | | |mySQL | | | | | Log excerpt: - 3:53:30,846 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 23:53:30,895 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=REAMySqlDS' to JNDI name 'java:REAMySqlDS' 23:53:31,346 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 23:53:31,349 INFO [JmxKernelAbstraction] installing MBean: persistence.units:unitName=reaPersistenceUnit with dependencies: 23:53:31,349 INFO [JmxKernelAbstraction] jboss.jca:name=REAMySqlDS,service=DataSourceBinding 23:53:31,351 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:unitName=reaPersistenceUnit 23:53:31,364 WARN [ServiceController] Problem starting service persistence.units:unitName=reaPersistenceUnit javax.naming.NameNotFoundException: REAMySqlDS 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.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.refle
[jboss-user] [JBoss Tools (users)] - How to include my js(java Script) files into my portlet
Hi everyone... I m using Jboss Portal + Jboss AS 2.7.1 Server.. HSQL as DB. Can anyone tell me how to insert java script files in my portlet program. or portal. similarly any image,css file. please help me out... Regards Nanda Kumar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213576#4213576 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can we Connect Jboss portal to Database other than hibernet
Thanks for ur reply... But how to use that two XML files ... to connect to hsql db i just want to send my jsp files data into db. please me give reply... Regards Nanda Kumar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213571#4213571 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - SAXParseException: -1:-1: Premature End Of File
We are using JBoss 4.2.3GA, java 1.6.0_07 on RedHat5 64-bit. We've developed several stateless web services, communicating with JMS and everything is running fine as long as we do not send too many requests at one time. If we start sending 8-10 messages to the same web service simultaneously we get a SAXParseException: -1:-1: Premature End Of File. Basically, the SOAP message seems to be get screwed up, but on the sending side, the message (we print it) is correct. I cannot find any clues to why we get this message only when we start to send messages faster. Does anyone have any ideas about this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213569#4213569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - 'findstr' is not recognized as an internal or external comma
Hi All , I am new to JBoss and EJB3.0. I have downloaded jboss-5.0.0.GA.zip and unzipped the required files into C:\jboss-5.0.0.GA. and i am using jdk1.6.0_10 And when i click on run.bat it blinks and disappears or when i give the command C:\jboss-5.0.0.GA\bin>run.bat i get an error saying 'findstr' is not recognized as an internal or external command, operable program or batch file. see my run.bat file --- @echo off rem - rem JBoss Bootstrap Script for Windows rem - rem $Id: run.bat 63250 2007-05-30 13:22:21Z dimit...@jboss.org $ @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal if "%OS%" == "Windows_NT" ( set "DIRNAME=%~dp0%" ) else ( set DIRNAME=.\ ) pushd %DIRNAME%.. if "x%JBOSS_HOME%" == "x" ( set "JBOSS_HOME=%CD%" ) popd set DIRNAME= if "%OS%" == "Windows_NT" ( set "PROGNAME=%~nx0%" ) else ( set "PROGNAME=run.bat" ) if "x%JAVA_OPTS%" == "x" ( set "JAVA_OPTS=-Dprogram.name=%PROGNAME%" ) else ( set "JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%" ) if "x%JAVA_HOME%" == "x" ( set JAVA=java echo JAVA_HOME is not set. Unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message. ) else ( set "JAVA=%JAVA_HOME%\bin\java" if exist "%JAVA_HOME%\lib\tools.jar" ( set "JAVAC_JAR=%JAVA_HOME%\lib\tools.jar" ) ) rem Add -server to the JVM options, if supported "%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul if not errorlevel == 1 ( set "JAVA_OPTS=%JAVA_OPTS% -server" ) rem Set Java platform if 64-Bit JVM used set JAVA_PLATFORM= "%JAVA%" -version 2>&1 | findstr /I "64-Bit ^| x86_64" > nul if not errorlevel == 1 ( if /I "%PROCESSOR_ARCHITECTURE%"=="IA64" (set JAVA_PLATFORM=ia64 ) else if /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set JAVA_PLATFORM=x64 ) else if /I "%PROCESSOR_ARCHITECTURE%"=="x64" (set JAVA_PLATFORM=x64 ) else if /I "%PROCESSOR_ARCHITEW6432%"=="IA64" (set JAVA_PLATFORM=i64 ) else if /I "%PROCESSOR_ARCHITEW6432%"=="AMD64" (set JAVA_PLATFORM=x64 ) else ( echo PROCESSOR_ARCHITECTURE is not set. Unexpected results may occur. echo Set PROCESSOR_ARCHITECTURE according to the 64-Bit JVM used. ) ) if "x%JAVA_PLATFORM%" == "x" set JAVA_PLATFORM=x86 rem Add native to the PATH if present set JBOSS_NATIVE_LOC= if exist "%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%" ( set "JBOSS_NATIVE_HOME=%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%" ) else if exist "%JBOSS_HOME%\bin\native" ( set "JBOSS_NATIVE_HOME=%JBOSS_HOME%\bin\native" ) if not "x%JBOSS_NATIVE_HOME%" == "x" ( set "PATH=%JBOSS_NATIVE_HOME%;%PATH%;%JBOSS_HOME%\bin" set JAVA_OPTS=%JAVA_OPTS% "-Djava.library.path=%JBOSS_NATIVE_HOME%;%PATH%;%JBOSS_HOME%\bin" ) rem Find run.jar, or we can't continue if exist "%JBOSS_HOME%\bin\run.jar" ( if "x%JAVAC_JAR%" == "x" ( set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar" ) else ( set "RUNJAR=%JBOSS_HOME%\bin\run.jar" ) ) else ( echo Could not locate "%JBOSS_HOME%\bin\run.jar". echo Please check that you are in the bin directory when running this script. goto END ) rem If JBOSS_CLASSPATH empty, don't include it, as this will rem result in including the local directory in the classpath, which makes rem error tracking harder. if "x%JBOSS_CLASSPATH%" == "x" ( set "RUN_CLASSPATH=%RUNJAR%" ) else ( set "RUN_CLASSPATH=%JBOSS_CLASSPATH%;%RUNJAR%" ) set JBOSS_CLASSPATH=%RUN_CLASSPATH% rem Setup JBoss specific properties rem JVM memory allocation pool parameters. Modify as appropriate. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m rem Warn when resolving remote XML dtd/schemas set JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true rem With Sun JVMs reduce the RMI GCs to once per hour set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 rem JPDA options. Uncomment and modify as appropriate to enable remote debugging. rem set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y rem Setup the java endorsed dirs set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed echo === echo. echo JBoss Bootstrap Environment echo. echo JBOSS_HOME: %JBOSS_HOME% echo. echo JAVA: %JAVA% echo. echo JAVA_OPTS: %JAVA_OPTS% echo. echo CLASSPATH: %JBOSS_CLASSPATH% echo. echo === echo. :RESTART "%JAVA%" %JAVA_OPTS% ^ -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^ -classpath "%JBOSS_CLASSPATH%" ^ org.jboss.Main %* if ERRORLEVEL 10 goto RESTART :END if "x%NOPAUSE%" == "x" pause :END_NO_PAUSE what is the problem i need to configure any extra configuration. Please help on these issue..
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Does anyone deploy apache muse on JBoss successfully?
Hi, Does anyone deploy apache muse on JBoss successfully? I have deployed example simple war built using build.xml (provided in the project) on a newly unzipped JBoss 5.0's default directory. After I run JBoss, I get the error message of "Failed to create a new SAX parser" for parsing context.xml. Detail is as following: | | === | | JBoss Bootstrap Environment | | JBOSS_HOME: F:\WORK_SOFTWARE_DOC\JBOSS\jboss-5.0.0.GA | | JAVA: D:\Program Files\Java\jdk1.5.0\\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25 | 6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 -Ds | un.rmi.dgc.server.gcInterval=360 | | CLASSPATH: F:\WORK_SOFTWARE_DOC\JBOSS\jboss-5.0.0.GA\bin\run.jar | | === | | 16:05:53,750 INFO [ServerImpl] Starting JBoss (Microcontainer)... | ... ... | | 16:07:53,984 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war | 16:07:54,281 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-c | onsole.war | 16:07:58,531 INFO [TomcatDeployment] deploy, ctxPath=/simple, vfsUrl=simple.war | | 16:07:59,015 ERROR [JBossContextConfig] XML error parsing: context.xml | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newU | nmarshaller(UnmarshallerFactory.java:100) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processCont | extConfig(JBossContextConfig.java:552) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossC | ontextConfig.java:538) | at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi | g.java:279) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl | eSupport.java:117) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:54 | 36) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 | 148) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy | Internal(TomcatDeployment.java:367) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy | (TomcatDeployment.java:146) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy | ment.java:460) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:96) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java | :206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio | n(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio | n(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim | pleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins | tall(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install | (AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra | ctControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv | iceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractContr | oller.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra | ctController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr | actController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resol
[jboss-user] [JBoss Portal] - Partial Refresh with Multiple Submit Buttons
Is it a known issue that partial refresh doesn't work if you have multiple submit buttons in the same form? Thanks, Fernando View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213563#4213563 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JBoss SSO and Oracle
Self-reply: I can see a few things wrong with the code - like I'm checking the wrong username in the exists() method - but in the bigger picture, am I going the right direction? Specifically, is this SSO LoginProvider going to replace my JAAS configuration - that and the UsernameAndPasswordLoginModule? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213562#4213562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS 5 Deployment Ordering of EAR Structure
When are you going to address this issue? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213561#4213561 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Thanks a lot for the help. I'm not quite there yet, but I've been making progress ever since I upgraded jboss. Funny, now it bound my session beans, but is no longer binding my action beans in Stripes! Ah, such is the price of being a software developer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213554#4213554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Jboss servers
U, I don' t know. I installed the jboss separately. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213549#4213549 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Jboss servers
how come you got a server setup already if you can't see the servers ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213547#4213547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Jboss servers
I'm seeing this repeatedly !ENTRY org.eclipse.wst.server.core 4 0 2009-02-26 14:35:04.834 !MESSAGE Could not create delegate Runtime[JBoss v4.2 2, JBoss v4.2 2, F:/jbossesb-server-4.4.GA/bin, null] !STACK 0 java.lang.NullPointerException at org.eclipse.wst.server.core.internal.Runtime.getDelegate(Runtime.java:79) at org.eclipse.wst.server.core.internal.Runtime.loadAdapter(Runtime.java:196) at org.eclipse.jst.server.generic.core.internal.ServerTypeDefinitionUtil.getServerTypeDefinition(ServerTypeDefinitionUtil.java:49) at org.eclipse.jst.server.generic.core.internal.ServerTypeDefinitionUtil.getServerClassPathEntry(ServerTypeDefinitionUtil.java:66) at org.eclipse.jst.server.generic.core.internal.GenericServerRuntimeTargetHandler.resolveClasspathContainer(GenericServerRuntimeTargetHandler.java:38) at org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate.resolveClasspathContainerImpl(RuntimeClasspathProviderDelegate.java:140) at org.eclipse.jst.server.core.internal.RuntimeClasspathProviderWrapper.resolveClasspathContainerImpl(RuntimeClasspathProviderWrapper.java:145) at org.eclipse.jst.server.core.internal.RuntimeClasspathContainer.getClasspathEntries(RuntimeClasspathContainer.java:73) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2472) at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspath(ClasspathEntry.java:1290) at org.eclipse.jdt.internal.core.ClasspathValidation.validate(ClasspathValidation.java:76) at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1969) at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:410) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148) at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:136) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213545#4213545 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - JBoss SSO and Oracle
I'm trying to get SSO working with my Oracle database. According to the documentation I've seen so far, I'll need to implement a LoginProvider. Before I get too far, I'd like to make sure I'm on the right track. I'm assuming that all of the elements that are defined in the sso.cfg.xml will be available to my LoginProvider thanks to the SSO mechanism that will call the setProperties() method of my provider. (I know that the following are incomplete) sso.cfg.xml : | | | | | jdbc:oracle:thin:@localhost:1521:orcl | user | pass | select 'ok' from user_table where login_id=? | select 'ok' from user_table where login_id=? and password=? | | | | | Here's what I have so far for the LoginProvider: | | package my.security; | | import org.jboss.security.idm.*; | import java.security.Principal; | import java.util.Collection; | import java.sql.*; | | public class OracleLoginProvider implements LoginProvider { | | static { // is there a better way to do this? | java.sql.DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); | } | | private Properties props; | private String id; | | public OracleLoginProvider() { | } | | public String setId(String id) throws IdentityException { | this.id = id; | } | | public String getId() throws IdentityException { | return id; | } | | public boolean exists(Principal principal) throws IdentityException, SQLException { | return exists(principal.getName()); | } | | public boolean exists(String username) throws IdentityException, SQLException { | Connection conn = connect(); | | // username and existsQuery are set in sso.cfg.xml | String username = props.getProperty("username"); | String sql = props.getProperty("existsQuery"); | | try { | PreparedStatement ps = conn.prepareStatement(sql); | ps.setString(1, username); | ResultSet rs = ps.executeQuery(); | return rs.next(); | } | finally { conn.close(); } | } | | public Identity read(Principal principal) throws IdentityException { | return read(principal.getName()); | } | | public Identity read(String username) throws IdentityException { | Identity ident = new Identity(); | ident.setUserName(username); | // need to set roles too. | return ident; | } | | | public boolean login(Principal principal,byte[] password) throws IdentityException; | | public boolean login(String username,byte[] password) throws IdentityException; | | public Collection readAllRoles() throws IdentityException; | | public void setProperties(Properties props) { | this.props = props; | } | | private java.sql.Connection connect () { | // connectionURL, username and password are set in sso.cfg.xml | String url = props.getProperty("connectionURL"); | String username = props.getProperty("username"); | String password = props.getProperty("password"); | | return DriverManager.getConnection(url, username, password); | } | | } | Does that look right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213543#4213543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Timeout running a minimal configuration of JBoss 5.0.0.G
Double click the server in the server view and you get a server editor in where you can set which poller it uses jmx or timeout. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213542#4213542 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Jboss servers
if it is installed you should have JBoss servers in there. Any errors in error log when starting with -debug ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213541#4213541 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - No Jboss servers
When I try to configure a new server run time environment there are no jboss servers. Is there a way to get them? There are environments for Apache, Basic, Caucho, IBM, Marcormedia, Mort Bay, ObjectWeb and Oracle but no JBoss. I downloaded the software from here via the update manager in eclipse: http://download.jboss.org/jbosstools/updates/stable View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213540#4213540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Performance slowdown with large JBPM_LOG table
Greetings. We are seeing a huge slowdown in jBPM throughput when the JBPM_LOG file gets very large. For example, during our benchmark testing we start with a "virgin" database. After three weeks of testing, we see a ~40% increase in workflow execution time. At this point, the JBPM_LOG table has about 6M (yes, million) records. If we clean the database tables, performance returns to its original level. I don't really understand why the size of JBPM_LOG has such a profound effect on performance. In production we need the log records to construct an audit trail, so disabling logging is not an option. Any suggestions on improving performance with large JBPM tables? Anyone running a high volume jBPM application care to comment on performance over time? BTW, this is jBPM 3.1.2 with selected fixes from later versions applied. Thanx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213536#4213536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - problem with jbpm-3.3.1.GA and jboss 4.2.3
hi, i'm new in jbpm, i installed jboss 4.2.3 and jbpm-3.3.1.GA. when i start the process( all the examples ), the page show me a 404 error status, and it don't show the tasks. the following error are displayed in the log of jboss | 2009-02-26 18:20:32,687 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] No FacesServlet found in deployment descriptor - bypassing configuration | 2009-02-26 18:20:32,968 ERROR [STDERR] 250 [main] INFO org.jboss.resteasy.plugins.providers - Added DataSourceProvider | 2009-02-26 18:20:32,968 ERROR [STDERR] 250 [main] INFO org.jboss.resteasy.plugins.providers - Added DefaultTextPlain | 2009-02-26 18:20:33,031 ERROR [STDERR] 313 [main] INFO org.jboss.resteasy.plugins.providers - Added JAXBXmlRootElementProvider | 2009-02-26 18:20:33,031 ERROR [STDERR] 313 [main] INFO org.jboss.resteasy.plugins.providers - Added JAXBElementProvider | 2009-02-26 18:20:33,046 ERROR [STDERR] 328 [main] INFO org.jboss.resteasy.plugins.providers - Added JAXBXmlTypeProvider | 2009-02-26 18:20:33,062 ERROR [STDERR] 344 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.IIOImageProvider | 2009-02-26 18:20:33,125 ERROR [STDERR] 407 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.json.JsonJAXBElementProvider | 2009-02-26 18:20:33,125 ERROR [STDERR] 407 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.json.JsonXmlTypeProvider | 2009-02-26 18:20:33,125 ERROR [STDERR] 407 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.json.JsonXmlRootElementProvider | 2009-02-26 18:20:33,140 ERROR [STDERR] 422 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.MimeMultipartProvider | 2009-02-26 18:20:33,156 ERROR [STDERR] 422 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.YamlProvider | 2009-02-26 18:20:33,171 ERROR [STDERR] 453 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetXmlRootElementProvider | 2009-02-26 18:20:33,171 ERROR [STDERR] 453 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetJAXBElementProvider | 2009-02-26 18:20:33,187 ERROR [STDERR] 469 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetXmlTypeProvider | and later, thease problems are displayed: | 2009-02-26 18:21:28,562 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] Entering RenderResponsePhase | 2009-02-26 18:21:28,562 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] About to render view /ua/login-example.xhtml | 2009-02-26 18:21:31,609 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.action.ResponseActions' and class 'org.jboss.gravel.action.ui.UIResponseActions' | 2009-02-26 18:21:31,796 ERROR [STDERR] 26 févr. 2009 18:21:31 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/Java/jboss-4.2.3.GA/server/default/deploy/jbpm/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/META-INF/gravel-action.taglib.xml | 2009-02-26 18:21:31,859 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.Entry' and class 'org.jboss.gravel.common.ui.UICollectionEntry' | 2009-02-26 18:21:31,890 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.compat.DataTable' and class 'org.jboss.gravel.compat.ui.UIDataTable' | 2009-02-26 18:21:31,890 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.compat.DataTableColumn' and class 'org.jboss.gravel.compat.ui.UIDataTableColumn' | 2009-02-26 18:21:31,906 ERROR [STDERR] 26 févr. 2009 18:21:31 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/Java/jboss-4.2.3.GA/server/default/deploy/jbpm/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/META-INF/gravel-compat.taglib.xml | 2009-02-26 18:21:31,921 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.Repeat' and class 'org.jboss.gravel.data.ui.UIRepeat' | 2009-02-26 18:21:31,937 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.data.InputFile' and class 'org.jboss.gravel.data.ui.UIInputFile' | 2009-02-26 18:21:31,937 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.data.InputHidden' and class 'org.jboss.gravel.data.ui.UIInputHidden' | 2009-02-26 18:21:31,953 DEBUG [javax.enterprise.resource.webcontainer.jsf.applic
[jboss-user] [Security & JAAS/JBoss] - Re: GenericHeaderBasedAuthentication
httpHeaderForSSOAuth="sm_ssoid,ct-remote-user,HTTP_OBLIX_UID" | sessionCookieForSSOAuth="SMSESSION,CTSESSION,ObSSOCookie" The first value is basically what oblix will be sending as the username in the http header. The second one is what oblix will use as a session cookie. Do you have the header names passed by oblix? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213533#4213533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Minimal JBoss config to use GSSAPI/Kerberos acceptSecCon
Glad to hear you've gotten a bit further, although neither of us has it working in JBoss yet... Actually, I strongly suspect that JBoss is honoring the keyTab entry in the GSS config file, but isn't allowing the GSS call to createCredential() to access the keytab file. The code I'm having issues with was written completely independent of JBoss, and it works perfectly when compiled to a jar file and run from the Terminal. (I'm curious whether your code also works if you invoke it directly, and not through JBoss. If so, it's probably safe to say that the JBoss security manager is the problem.) When I run it in JBoss, the client blocks while waiting for a web service response, and the server ends up waiting for user input (username/password, as I mentioned). When I do a stack trace on the pid for JBoss (using `jstack' on OS X), the thread that's handling the request is buried in I/O functions under a heap of authentication calls, including javax.security.auth.login.LoginContext.login(), org.jboss.security.auth.spi.UsersRolesLoginModule.login(), and org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsernameAndPassword(), with a few calls in between each of these. Since clients must present a username and password to gain access to the web service, I'm trying to figure out how to get JBoss to just allow the code to do whatever it needs to with the keytab file. This wasn't an issue with the previous rev of the code, since it used some very crufty and hackish JNI to do the GSS-API tasks, but the new code is pure Java. I'm in the middle of reading the resource mentioned in this thread/sticky. Hopefully it will help with getting JBoss to get out of the way for this particular code. :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213531#4213531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NullPointer exception on client when looking up queue
jlashmet - I'm curious what the resolution was, I am experiencing the same issue. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213528#4213528 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Merge doesn't merge existing entities
A couple of issues I saw: 1. I think @Version should have a column mapping 2. The column for the @Id should be unique = true 3. You should always return the value from merge Can you debug and guarantee that version and id fields are populated in your object before you call merge? If not, it will do an insert instead of an update...I think. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213526#4213526 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
I saw that you are using Stripes. I recommend that you use 4.2.3 - I had some problems deploying my Stripes app to 5.0 and I haven't had time to debug it yet. But I had no problems with 4.2.3. Also, make sure you get the download that matches your JDK - the one with "jdk6" in the name is for JDK 6 only, the other one is for JDK 5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213525#4213525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How do I build a query with Dates in EJB QL ?
That's a JDBC error, not a Hibernate error. That's not Oracle's default date format. Try '01-SEP-04'. Otherwise, make it a parameter and pass it in when building the query. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213524#4213524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Oh, I'm sorry about that. I will try upgrading first. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213522#4213522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - IllegalAccessError, EJB3, and JBoss 5
I have a local iface like so | @Local | public interface UserDao { | | public User authenticate(String username, String password); | | } | And an implementation like so | @Stateless(name = "UserDao") | public class UserDaoImpl extends DaoBase implements UserDao { | | public User authenticate(String username, String password) { | return get(User.class, "User.authenticate", username, password); | } | | } | and the DaoBase class like so | public abstract class DaoBase { | U get(Class clazz, String queryName, Object... params) { | //does stuff here | } | } | yet for some reason, when my EJB impl accesses a package private method on the super class, I get an exception: | java.lang.IllegalAccessError: tried to access method [package].DaoBase.get(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; from class [package].UserDaoImpl | The way it is executed is from a seam-based war (deployed in a different ear on the same app server). The reference to this SLSB is obtained over JNDI. The war has a client jar for the aforementioned EJB w/out the implementation. This worked on JBoss 4. Any idea what I am doing wrong on JBoss 5 to prevent package private super-class method access from my implementation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213520#4213520 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Run JBoss 4.2.2 and JBoss 5.0.1 at the same time
Changing the ports in server.xml is not necessary - the bindings.xml file includes those ports. But note that the settings in server.xml take precedent if you change them due to the way that the port numbers in binding.xml are applied to server.xml. And I gave you the wrong port binding name, it should be (sorry): run -Djboss.service.binding.set=ports-01 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213519#4213519 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Wait a minute. I just now saw that you are using 4.0.5. Why? Could you move up to 4.2.3 or 5.0 instead? I ask because those evrsions have built-in EJB3 support. 4.0.5 doesn't include EJB3 support out of the box, but there is a JEMS installer that will install 4.0.5 along with EJB support. Note that providing the JBoss AS level is critical when posting to the forums or people will assume you are using the latest version and thus provide useless help if you are instead running on an old version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213516#4213516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: WebConsole and JMX console usage and modification
Thanks I changed the http port in the bindings file and it's working fine now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213515#4213515 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Post the declaration, and annotations, for the AddressManager interface. To run the jar utility, open a command prompt, cd to the directory containing the jar file, and enter the command I posted (the 7zip listing is useless - it doesn't provide the directory nesting). If you get a "command not found" error, insteaf of simply 'jar' use the full path to jara.exe within the JDK's bin directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213514#4213514 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss Hibernate Doesn't work
development environment: I am using NetBeans IDE to code. And I created my hibernate classes using the wizard from netBeans. my server: jbossesb-server-4.4.GA Here is my hibernate.cfg: | | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> | | | org.hibernate.dialect.MySQLDialect | com.mysql.jdbc.Driver | jdbc:mysql://localhost:3306/cayenta | cayenta | password | | | | | | here is my entity: | package com.cayenta.service.hibernate; | // Generated Feb 26, 2009 9:47:06 AM by Hibernate Tools 3.2.1.GA | | | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import static javax.persistence.GenerationType.IDENTITY; | import javax.persistence.Id; | import javax.persistence.Table; | | /** | * Menu generated by hbm2java | */ | @Entity | @Table(name="menu" | ,catalog="cayenta" | ) | public class Menu implements java.io.Serializable { | | | private Integer id; | private String name; | private Integer menuId; | | public Menu() { | } | | public Menu(String name, Integer menuId) { |this.name = name; |this.menuId = menuId; | } | | @Id @GeneratedValue(strategy=IDENTITY) | | @Column(name="id", unique=true, nullable=false) | public Integer getId() { | return this.id; | } | | public void setId(Integer id) { | this.id = id; | } | | @Column(name="name", length=16777215) | public String getName() { | return this.name; | } | | public void setName(String name) { | this.name = name; | } | | @Column(name="menu_id") | public Integer getMenuId() { | return this.menuId; | } | | public void setMenuId(Integer menuId) { | this.menuId = menuId; | } | | | | | } | here is my util class: | /* | * To change this template, choose Tools | Templates | * and open the template in the editor. | */ | | package com.cayenta.service.hibernate; | | | import org.hibernate.cfg.AnnotationConfiguration; | import org.hibernate.SessionFactory; | | /** | * Hibernate Utility class with a convenient method to get Session Factory object. | * | * @author dorand | */ | public class CayentaHibernateUtil { | private static final SessionFactory sessionFactory; | | static { | try { | // Create the SessionFactory from standard (hibernate.cfg.xml) | // config file. | sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory(); | } catch (Throwable ex) { | // Log the exception. | System.err.println("Initial SessionFactory creation failed." + ex); | throw new ExceptionInInitializerError(ex); | } | } | | public static SessionFactory getSessionFactory() { | return sessionFactory; | } | } | | when I deploy it and run it I get the following exception: | java.lang.ClassCastException: org.hibernate.validator.event.ValidateEventListener | at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:819) | at com.cayenta.service.hibernate.CayentaHibernateUtil.(CayentaHibernateUtil.java:24) | at com.cayenta.web.Test.processRequest(Test.java:38) | at com.cayenta.web.Test.doGet(Test.java:69) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hibernate does't work
development environment: I am using NetBeans IDE to code. And I created my hibernate classes using the wizard from netBeans. my server: jbossesb-server-4.4.GA Here is my hibernate.cfg: | | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> | | | org.hibernate.dialect.MySQLDialect | com.mysql.jdbc.Driver | jdbc:mysql://localhost:3306/cayenta | cayenta | password | | | | | | here is my entity: | package com.cayenta.service.hibernate; | // Generated Feb 26, 2009 9:47:06 AM by Hibernate Tools 3.2.1.GA | | | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import static javax.persistence.GenerationType.IDENTITY; | import javax.persistence.Id; | import javax.persistence.Table; | | /** | * Menu generated by hbm2java | */ | @Entity | @Table(name="menu" | ,catalog="cayenta" | ) | public class Menu implements java.io.Serializable { | | | private Integer id; | private String name; | private Integer menuId; | | public Menu() { | } | | public Menu(String name, Integer menuId) { |this.name = name; |this.menuId = menuId; | } | | @Id @GeneratedValue(strategy=IDENTITY) | | @Column(name="id", unique=true, nullable=false) | public Integer getId() { | return this.id; | } | | public void setId(Integer id) { | this.id = id; | } | | @Column(name="name", length=16777215) | public String getName() { | return this.name; | } | | public void setName(String name) { | this.name = name; | } | | @Column(name="menu_id") | public Integer getMenuId() { | return this.menuId; | } | | public void setMenuId(Integer menuId) { | this.menuId = menuId; | } | | | | | } | here is my util class: | /* | * To change this template, choose Tools | Templates | * and open the template in the editor. | */ | | package com.cayenta.service.hibernate; | | | import org.hibernate.cfg.AnnotationConfiguration; | import org.hibernate.SessionFactory; | | /** | * Hibernate Utility class with a convenient method to get Session Factory object. | * | * @author dorand | */ | public class CayentaHibernateUtil { | private static final SessionFactory sessionFactory; | | static { | try { | // Create the SessionFactory from standard (hibernate.cfg.xml) | // config file. | sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory(); | } catch (Throwable ex) { | // Log the exception. | System.err.println("Initial SessionFactory creation failed." + ex); | throw new ExceptionInInitializerError(ex); | } | } | | public static SessionFactory getSessionFactory() { | return sessionFactory; | } | } | | when I deploy it and run it I get the following exception: | java.lang.ClassCastException: org.hibernate.validator.event.ValidateEventListener | at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:819) | at com.cayenta.service.hibernate.CayentaHibernateUtil.(CayentaHibernateUtil.java:24) | at com.cayenta.web.Test.processRequest(Test.java:38) | at com.cayenta.web.Test.doGet(Test.java:69) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Run JBoss 4.2.2 and JBoss 5.0.1 at the same time
When I add -Djboss.service.binding.set=Ports01Bindings I get this error: 12:48:11,119 ERROR [AbstractKernelController] Error installing to Instantiated: name=SystemPropertyBinder#1 state=Described org.jboss.services.binding.NoSuchBindingException: No binding null found for ser vice jboss.messaging:service=Connector,transport=bisocket in set Ports01Bindings Is there something else I need to do? I've gotten JBoss 5 to run at the same time as JBoss 4 by changing all JBoss 5 port settings in bootstrap/bindings.xml to start with a 9, but your approach is cleaner. I also changed two port settings in deploy/jbossweb.sar/server.xml, but maybe that isn't necessary. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213511#4213511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Minimal JBoss config to use GSSAPI/Kerberos acceptSecCon
Thanks - I've gotten a little farther by disabling all of the application-policy entries in login-config.xml except for mine, and by removing all direct use of a LoginContext in my code. I now get the error GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos Key) ...which seems like progress, though my suspicion is that this means it isn't honoring the keyTab file location that I set in my configuration and is instead looking in the system default keytab at /etc/krb5.keytab. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213508#4213508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Actually I think these would be session beans View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213507#4213507 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Listing Active Taskings on a Workflow
Neverminds I got it. For anyone interested in this in the //This gets the Process Definition ID of the process that is running long id = executionContext.getProcessDefinition().getId(); //This grabs a list of all the process instances List pis = executionContext.getJbpmContext().getGraphSession().findProcessInstances(id); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213506#4213506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
I'm not sure which type of bean they are. Here is one of the classes: package com.castofshadows.manager; | | import com.castofshadows.entity.Address; | | import ... | | @Stateless | public class AddressManagerBean implements AddressManager { | | @PersistenceContext(unitName = "castOfShadows") | private EntityManager entityManager; | | @TransactionAttribute(TransactionAttributeType.REQUIRED) | public void saveAddress(Address address) { | entityManager.persist(address); | } | } And here is everything inside the jar file. I'm not sure how to run the jar command in windows, so I just copied and pasted out of the 7zip viewer: entity | Address.class | Event.class | Notification.class | Photo.class | PhotoAlbum.class | Product.class | ProductType.class | User.class | Venue.class | enums | EventStatus.class | NotificationStatus.class | manager | AddressManager.class | AddressManagerBean.class | EventManager.class | EventManagerBean.class | NotificationManager.class | NotificationManagerBean.class | PhotoManager.class | PhotoManagerBean.class | ProductManager.class | ProductManagerBean.class | UserManager.class | UserManagerBean.class | util | ProductGroup.class View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213505#4213505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: AJP Connector currentThreadCount stays at maximum
Hi, Since Jboss 4.2.x uses Tomcat 6.0 connectors, you may have to try out the following. In the AJP connectors node you can set like | | See if this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213504#4213504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JNDI look up from ServletContextListener
Hi All, I've problem porting my application to JBoss 5.0.0.GA. My application war-module has ServletContextListener (class implemented javax.servlet.ServletContextListener). This listener activates during war module initialization and makes several calls to session ejbs. It worked in JBoss 4.2.2, but in 5.0 I'd got javax.naming.NameNotFoundException, when I was looking up session ejb home interface. The same code works well after ear initialization completed, but during initialization it fails. Thanx, Nikita View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213503#4213503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Method Advised class on getInterceptorChainReadWriteLock
"stale.peder...@jboss.org" wrote : hi, just to be sure that the new instrumentor might be to blame could you try to use the classic instrumentor and let us know if that works? | you can set the instrumentor with this property -Djboss.aop.instrumentor=org.jboss.aop.instrument.ClassicInstrumentor Hi, I'm working with Pete on this. I've got our app compile-time weaved using the Classic intrumentor but the ClassLoader can't find our aspects. We're using the same package structure that we use with GeneratedAdvisor instrumentation which doesn't have any problem finding classes. The ear is packaged as: was.ear was.ear/META-INF/application.xml was.ear/lib -> 3rd party jars was.ear/was.aop was.ear/was.aop/META-INF/jboss-aop.xml -> our aspect/joinpoint def file was.ear/was.aop/com/** -> our classes including aspects was.ear/was-web.war -> JSPs, web resources, etc Here's our application.xml: | | http://java.sun.com/dtd/application_1_3.dtd";> | | WAS :: Marble | | was.aop | | | | was-web.war | server | | | | >From server.log on startup: | 2009-02-26 10:54:10,884 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice com.company.common.cache.aspect.CacheAspect with loader org.jboss.system.noannotationurlclassloa...@663e89c3 | 2009-02-26 10:54:10,886 WARN [com.company.policy.impl.BootstrapPhase] (main) Error initializing component: unknown component | java.lang.RuntimeException: java.lang.ClassNotFoundException: com.company.common.cache.aspect.CacheAspect | at org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory.doCreate(GenericBeanAspectFactory.java:151) | at org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory.createPerInstance(GenericBeanAspectFactory.java:105) | at org.jboss.aop.InstanceAdvisorDelegate.initializeAspects(InstanceAdvisorDelegate.java:109) | at org.jboss.aop.InstanceAdvisorDelegate.initialize(InstanceAdvisorDelegate.java:71) | at org.jboss.aop.ClassInstanceAdvisor.setAdvisorAndInitialise(ClassInstanceAdvisor.java:88) | at org.jboss.aop.ClassInstanceAdvisor.(ClassInstanceAdvisor.java:72) | at com.company.common.item.dbcache.DbCacheItem._getInstanceAdvisor(DbCacheItem.java) | at com.company.common.item.dbcache.DbCacheItem.dbCacheKey_w_$aop(DbCacheItem.java) | at com.company.common.item.dbcache.DbCacheItem.setDbCacheKey(DbCacheItem.java:29) | at com.company.common.item.dbcache.DBCacheService.getItem(DBCacheService.java:161) | at com.company.system.executive.alias.impl.AliasExecutive.createAlias(AliasExecutive.java:280) | at com.company.system.executive.alias.impl.AliasExecutive.createAlias(AliasExecutive.java:155) | at com.company.policy.command.system.xml.XMLImportAcl.importNode(XMLImportAcl.java:73) | at com.company.policy.command.system.xml.XMLImport.xmlImportList(XMLImport.java:182) | at com.company.policy.command.system.xml.XMLImport.xmlImport(XMLImport.java:152) | at com.company.policy.biz.system.impl.SystemPolicy.xmlImport(SystemPolicy.java:44) | at com.company.policy.impl.Bootstrap.init(Bootstrap.java:56) | at com.company.framework.init.impl.DefaultPhase.createComponentData(DefaultPhase.java:87) | at com.company.policy.impl.BootstrapPhase.createComponentData(BootstrapPhase.java:99) | at com.company.framework.impl.BaseProvider.initComponents(BaseProvider.java:450) | at com.company.framework.impl.BaseProvider.init(BaseProvider.java:99) | at com.company.framework.init.impl.DefaultPhase.init(DefaultPhase.java:46) | at com.company.policy.impl.BootstrapPhase.init(BootstrapPhase.java:51) | at com.company.framework.init.impl.DefaultPhaseProvider.initComponent(DefaultPhaseProvider.java:157) | at com.company.framework.impl.BaseProvider.initComponents(BaseProvider.java:458) | at com.company.framework.impl.BaseProvider.init(BaseProvider.java:99) | at com.company.framework.init.impl.DefaultPhaseProvider.initializePhases(DefaultPhaseProvider.java:80) | at com.company.framework.CoreSystem.init(CoreSystem.java:686) | at com.company.framework.CoreSystem.main(CoreSystem.java:645) | at com.company.framework.impl.CoreServlet.init(CoreServlet.java:83) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
[jboss-user] [Security & JAAS/JBoss] - Optional client certificate
Hi all. How are you? I have a problem trying to configure an application to accept client certificate. The unusual with this is that I want to accept client certificate but optional. I mean, if the client does not have one it could use the application anyway and if this certificate is not valid for authentication I dont care (any client certificate from a CA that I accept is OK). This is because I will only read the certificate information (serial, common name, etc) to use it in my application (not for authentication). Is there some configuration that allow me to do this? (I could made this environment but using apache in front of jboss or tomcat) With Jboss standalone, until now, I always receive the following message: HTTP Status 401 - Cannot authenticate with the provided credentials Thank you very much Kind regards Fabian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213500#4213500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Listing Active Taskings on a Workflow
Looks like my terminology was a little off, what i'm actally looking for a listing of Process Instances - but most of the functions I've gone through are singular. Is it even possible to get this listing from the ExecutionContext or should I approach this another way? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213499#4213499 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Timeout running a minimal configuration of JBoss 5.0.0.G
Hi Max, Thanks for the response and I would be happy to do that but for some reason I cannot find this option! Under Window -> Preferences -> Server I have three options: Audio = Doesn't mention timeout Launching = Doesn't mention timeout FYI this does mention: Checkbox for Automatically publish when starting servers Save dirty editors before starting the server When switching to a different server mode When switching to the server out of debug mode When switching the server into the debug mode, re-enable breakpoints When required, restart the server Runtime Environment The settings for the server only has: Name = JBoss 5.0 Runtime Home Directory = /home/tom/blacktie/utils/jboss-5.0.0.GA JRE = Default JRE Configuration = minimal I only installed the JBossAS tools into Ganymede using the update manager so maybe I needed to install some other JBoss feature/plugin to get the additional options? If you can point me to the configuration to alter to just rely on timeout that would be great, Tom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213498#4213498 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Run JBoss 4.2.2 and JBoss 5.0.1 at the same time
I would leave 4.2.2 as is and change the ports on 5.0. To do that, look at the server/xxx/conf/bootstrap/bindings.xml file. All of the ports are configured from this file in 5.0. In fact, you could start 5.0 like this: run -Djboss.service.binding.set=Ports01Bindings and it will run with port numbers increased by 100 (example: using port 8180 instead of 8080) If you want to change the ports on 4.2.x, see the file docs/examples/binding-manager/sample-bindings.xml, which provides a similar mechanism. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213497#4213497 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
I assume that when you say "EJB" you mean session beans, and not entity beans. How are they declared? Post the class declaration along with the annotations on the class. Also, post the contents of the Shadows.jar file, using: jar -tf Shadows.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213495#4213495 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss + seam + gwt - remoting problem
Allright, found the mistake. Turned out that the gwt compiler creates a different baseurl than seam does expect. Result was, that the url gwt wanted to access was different than the remoting service of seam offered. Now I have another problem... but I will first try to figure that out myself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213492#4213492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBossCache Deadlock in Hibernate BulkOperationCleanupAct
Hi Brian, Thanks for your help. Note I have also tried the following, without luck: - Tried JBossCache 2.1.1 which ships with Hibernate 3.3.1, with the most basic default configuration (MultiplexedJBossCacheRegionFactory and optimistic locking)... lock timeout still occurs. So I don't think this is MVCC-specific. - Tried Spring's HibernateTransactionManager instead of JtaTransactionManager, in case it was a synchronization problem involving JtaTransactionManager... lock timeout still occurs. I've done my best to extract and annotate the important parts of the log. The sequence here is (1) startup Hibernate / JBossCache (2) perform a single bulk UPDATE statement within a transaction. Here is the code for the transaction, using Spring's PlatformTransactionManager interface: TransactionStatus status = jtaTransactionManager.getTransaction(new DefaultTransactionDefinition()); try { sessionFactory.getCurrentSession().createQuery("UPDATE MyEntity e SET e.field = 0").executeUpdate(); } catch (Exception e) { jtaTransactionManager.rollback(status); throw new RuntimeException(e); } jtaTransactionManager.commit(status); Here is the log (I've inserted headings for the different sections): HIBERNATE / JBOSSCACHE STARTUP 2009-02-26 12:54:46,744 INFO [org.hibernate.transaction.TransactionFactoryFactory] main - 2009-02-26 12:54:46,752 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] main - 2009-02-26 12:54:46,761 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] main - 2009-02-26 12:54:46,761 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,761 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,761 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,762 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,762 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,762 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,762 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,763 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,763 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,764 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,764 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,764 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,764 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,767 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] main - 2009-02-26 12:54:46,767 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,767 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,767 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,768 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,768 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,771 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,771 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,771 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,777 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,777 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,777 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,777 INFO [org.hibernate.cfg.SettingsFactory] main - 2009-02-26 12:54:46,839 INFO [org.hibernate.impl.SessionFactoryImpl] main - 2009-02-26 12:54:47,765 DEBUG [org.jboss.cache.interceptors.InterceptorChain] main - > org.jboss.cache.interceptors.CallInterceptor >> org.jboss.cache.interceptors.MVCCLockingInterceptor >> org.jboss.cache.interceptors.NotificationInterceptor >> org.jboss.cache.interceptors.TxInterceptor >> org.jboss.cache.interceptors.CacheMgmtInterceptor >> org.jboss.cache.interceptors.InvocationContextInterceptor }> 2009-02-26 12:54:47,845 INFO [org.jboss.cache.jmx.PlatformMBeanServerRegistration] main - 2009-02-26 12:54:47,847 INFO [org.jboss.cache.factories.ComponentRegistry] main - TRANSACTION (EXECUTES A SINGLE BULK UPDATE QUERY!): 2009-02-26 12:54:50,032 TRACE [org.jboss.cache.interceptors.InvocationContextInterceptor] main - 2009-02-26 12:54:50,032 TRACE [org.jboss.cache.interceptors.InvocationContextInterceptor] main - 2009-02-26 12:54:50,032 TRACE [org.jboss.cache.interceptors.InvocationContextInterceptor] main - 2009-02-26 12:54:50,033 TRACE [org.jboss.cache.interceptors.TxInterceptor] main - < local transaction exists - registering global tx if not present for Thread[main,5,main]> 2009-02-26 12:54:50,033 TRACE [org.jboss.cache.interceptors.TxInterceptor] main - 2009-02-26 12:54:50,033 TRACE [org.jboss.cache.interceptors.TxIntercept
[jboss-user] [JBoss jBPM] - Re: jbpmContext.getGraphSession() returns null
I am not sure about your configuration, but the internals of getGraphSession as as follows: | public GraphSession getGraphSession() | { | PersistenceService persistenceService = getPersistenceService(); | return (persistenceService != null ? persistenceService.getGraphSession() : null); | } | I would imagine your root cause is because getPersistenceService is returning null. Check to make sure you have something like the following in your jbpm configuration file. | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213487#4213487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Transaction Issue
You are using a container mangaged transaction in your hibernate configuration. This is why its expecting one to be open when you perform jbpm. Change: hibernate.transaction.factory_class = org.hibernate.transaction.CMTTransactionFactory See: http://www.hibernate.org/42.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213486#4213486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Listing Active Taskings on a Workflow
Use the TaskMgmtSession. Search for that in the documentation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213484#4213484 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Run JBoss 4.2.2 and JBoss 5.0.1 at the same time
I need to run JBoss 4.2.2 and JBoss 5.0.1 at the same time. When I start 4.2.2 first and then start 5.0.1 I get an Exception about port 8083 already in use. I actually thought that there would be more port conflicts. What configuration changes do I have to make to run JBoss 4.2.2 and JBoss 5.0.1 at the same time? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213476#4213476 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
I took a look at the jboss server log to see what's going on with the ejb jar. With my limited knowledge of jboss, it looks like its deploying the jar. However, I noticed it didn't mention anything about the beans. Do you have any idea why its finding the jar, but not binding the beans? Here are the lines from the log that have the term "Shadows.jar" in them. 2009-02-26 11:14:08,066 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: Shadows.jar | 2009-02-26 11:14:09,269 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.deploymenti...@c5ef8fe8 { url=file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar } | deployer: null | status: null | state: CONSTRUCTED | watch: file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar | altDD: null | lastDeployed: 0 | lastModified: 0 | mbeans: | , isDirectory: false | 2009-02-26 11:14:10,082 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar | 2009-02-26 11:14:10,082 DEBUG [org.jboss.deployment.JARDeployer] looking for nested deployments in : file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar | 2009-02-26 11:14:10,082 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar, to ucl: org.jboss.mx.loading.unifiedclassload...@1ff3900{ url=file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear ,addedOrder=42} | 2009-02-26 11:14:10,082 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar | 2009-02-26 11:14:11,785 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar | 2009-02-26 11:14:11,785 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying Shadows.jar | 2009-02-26 11:14:11,800 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/dev/jboss-4.0.5.GA/server/all/tmp/deploy/tmp6695379174028898419shadows.ear-contents/Shadows.jar | 2009-02-26 11:14:11,800 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: Shadows.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213474#4213474 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
Yes, it is memory. There is no OutOfMemoryException because it is not the Java heap running out of memory - it is the Linux VM. Looking again at free, I see that you have no swap space. I suspect that the OS is not letting you use that last 9MB of RAM because that is the buffer it needs to let administrators interact with the OS. Thus when the JVM asks for too much memory, the oS is killing it. I already gave you the information you needed to "fix" this, so here is your pop quiz: what should you try next? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213472#4213472 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: schema validation in JBossWS 2.0.GA
I find the solution, 1. create a file of handler chaine 2.use @HandlerChain for add the file in the class endpoint impl 3. create the class implements SOAPHandler View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213458#4213458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBossCache Deadlock in Hibernate BulkOperationCleanupAct
Can you post the rest of the logging for this transaction? I want to see why GlobalTransaction::2 is holding a lock on /com/foo/Bar/ENTITY. If all you've done during the tx is a single bulk UPDATE it shouldn't be holding any lock. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213456#4213456 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - @Resource Injection fails in servlet the second time
I am trying to inject a JDBC DataSource into a servlet running on JBoss 5.0.0.GA The DataSource injection appears to work the first time the servlet is called (after deployment) and I get a Connection successfully. However, when the servlet is called the second time, I get an error: anonymous wrote : 16:53:59,687 ERROR [STDERR] org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.) | 16:53:59,687 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95) This is a test project for training purposes. I am using a mysql datasource thus: | | bank | false | jdbc:mysql://localhost:3306/bank | com.mysql.jdbc.Driver | training | codeclass | | and injecting into the servlet as follows: | @Resource(mappedName="bank") | private DataSource dataSource; | Either the datasource is timing out or I have misunderstood the lifecycle of dependency injection into servlets somehow. A straight lookup of the datasource works, incidentally, on each servlet call: | Context ctxt = new InitialContext(); | dataSource = (DataSource)(ctxt).lookup("bank"); | Clearly I've missed something important here. I've had similar issues injecting EJBs into servlets with JBoss 5 (i.e. works first time then fails subsequently) but I realise there are issues with this in any case. Any help gratefully appreciated. - Tom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213454#4213454 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
I did what you told me... It goes further than last time but it still dies after a while... just annoying Here is what I get during deployment: top: | Cpu0 : 1.2%us, 57.3%sy, 0.0%ni, 0.0%id, 39.5%wa, 2.0%hi, 0.0%si, 0.0%st | Mem: 1024224k total, 1015156k used, 9068k free, 60k buffers | Swap:0k total,0k used,0k free, 3420k cached | | 19656 root 20 0 1204m 840m 488 S 54.4 84.0 2:39.46 java | ... | The %MEM is not going up than 88%.. SO you think it's a memory problem ? Why didn't it just say in the trace or log OutOfMemory...??? Anyway thanks for helping me :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213452#4213452 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection
Please track https://jira.jboss.org/jira/browse/JBMICROCONT-411 for updates on this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213448#4213448 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: MBean's JNDI attribute times out at JBoss startup but wo
Well, my statement about a "simple value" working OK was just wrong. The above error message appears with anything I take from the Global JNDI Namespace (as displayed by JNDIView in the JMX Console). A value from any other namespace gives the following error (here with a random ConnectionFactory): | 17:12:11,574 ERROR [StatisticsService] No session factory with JNDI name java:/ConnectionFactory | javax.naming.NameNotFoundException: ConnectionFactory not bound Is this a hint about what is happening? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213447#4213447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection
"khoerder" wrote : | In my opinion, such issues should be fixed in JBoss or Spring, but not by customers using these two wide-spread frameworks! - I'd rather use another application sever than fixing these kind of things for production use, making version upgrades a potential problem. | Sure, I completely agree with you. It's just that I'm not aware of all things you can do. I definitely need to update the tests a bit. btw: WEB-INF is really not by the spec for cl resources ;-) "khoerder" wrote : | Would it be possible to talk to the people developing Spring directly, so that these issues can be solved in on of the next releases (of either JBoss or Spring)? | There was/is a JIRA, so they know about the issue. But as you can see, it's been Deferred, what ever that means for them ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213444#4213444 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Correct Eclipse project type for SAR?
I am still stumped. No matter what I try, no files get placed in archive. I have tried: - Created as either General and Java projects - Included all the JARs into the libraries and OrderAndExport. - From ProjectArchives created a New Archive of type JAR. Set it to exploded, with an extension of .sar. Used a folder in the workspace for the archive (outside of the project). The folder structure is trivial: / /META-INF/jboss-service.xml Nothing gets placed in the archive folder, and nothing gets published to server. Obviously I am missing a critical point that is utterly obvious to someone who's used jBoss Tools for a long time. Folder structure? Project Type? Some special non-default Eclipse setting setting? Secret handshake? Help please? I'd really like to 'publish' my SAR projects like all other projects. Publishing SARs by copying the files to the server 'by hand' is annoying. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213441#4213441 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Looks like your EJBs are not being deployed. At minimum they would show up in the java: or global namespace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213440#4213440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound
Thanks for the feedback. I looked up the namespaces, and my beans did not appear in them. However, I did see an entry for shadows.ear and Shadows.war. I double checked the ear file, and it definitely contains shadows.jar. So why would its beans not be bound to any namespace? Here are some snippets from my jndi tree: java:comp namespace of the shadows.ear/Shadows.war application: | | +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef) | +- ORB (class: org.jacorb.orb.ORB) | +- env (class: org.jnp.interfaces.NamingContext) | | +- security (class: org.jnp.interfaces.NamingContext) | | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef) | | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef) | | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef) | | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef) java:comp namespace of the Shadows.war application: | | +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef) | +- ORB (class: org.jacorb.orb.ORB) | +- env (class: org.jnp.interfaces.NamingContext) | | +- security (class: org.jnp.interfaces.NamingContext) | | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef) | | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef) | | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef) | | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef) java: Namespace | | +- jaas (class: javax.naming.Context) | | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext) | | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext) | | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext) | +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter) | +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) | +- JBossCorbaNaming (class: org.omg.CosNaming.NamingContextExt) | +- DefaultDS (class: javax.sql.DataSource) | +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory) | +- TransactionManager (class: org.jboss.tm.TxManager) | +- JBossCorbaPOA (class: org.omg.PortableServer.POA) | +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory) | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter) | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- JBossCorbaInterfaceRepositoryPOA (class: org.omg.PortableServer.POA) | +- Mail (class: javax.mail.Session) | +- JBossCorbaORB (class: org.omg.CORBA.ORB) | +- timedCacheFactory (class: javax.naming.Context) | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy cannot be cast to javax.naming.NamingEnumeration | +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory) | +- comp (class: javax.naming.Context) | | | Global JNDI Namespace | | +- HASessionState (class: org.jnp.interfaces.NamingContext) | | +- Default (class: org.jboss.ha.hasessionstate.server.HASessionStateImpl) | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- jmx (class: org.jnp.interfaces.NamingContext) | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor (proxy: $Proxy50 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | | +- rmi (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) | +- JAXR (class: org.apache.ws.scout.registry.ConnectionFactoryImpl) | +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- UserTransactionSessionFactory (proxy: $Proxy12 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) | +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- invokers (class: org.jnp.interfaces.NamingContext) | | +- HQWS263 (class: org.jnp.interfaces.NamingContext) | | | +- iiop (class: org.jboss.invocation.iiop.IIOPInvoker) | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) | +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- HAPartition (class: org.jnp.interfaces.NamingContext) | | +
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
Did you run 'free' with JBossAS running or stopped? Your max heap size is 1GB which end up using all of the RAM - how much swap space do you have? Based on your current free memory, assuming no swap, I would try reducing maxpermsize to 128m and set min and max heap to 512m - that should prevent all of the RAM from being used. Use 'top' to monitor java's memory usage as you deploy and run your app. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213434#4213434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: jdbcRealm - ClassCastException when trying to log in
Hi, sorry, but the answer to this question is beyond my knowledge ;-). I just wanted to provide you with a solution that works for me, and the ClassCastException sounds as if those two authentication methods don't work together. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213432#4213432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection
Hi, the issue remains with JBoss 5.0.1.GA and Spring 2.5.6. No problem with JBoss 4.x. We have a web application and initialize the spring context with a ContextLoaderListener (referenced in web.xml). The spring-beans-config (in the classpath) uses "context:component-scan". For a spring DispatcherServlet, an extra config-file must be provided in the /WEB-INF/ directory. Depending on the type of deployment (exploded vs. war), the stack trace is java.io.FileNotFoundException: URL [vfsfile:/C:/dev/jboss-5.0.1.GA/server/default/deploy/exportmanager-server.war/WEB-INF/classes/de/bafa/] cannot be resolved to absolute file path because it does not reside in the file system: vfsfile:/C:/dev/jboss-5.0.1.GA/server/default/deploy/exportmanager-server.war/WEB-INF/classes/de/bafa/ at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:201) at org.springframework.core.io.UrlResource.getFile(UrlResource.java:156) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:517) at org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:80) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:342) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:263) at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1018) at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:182) at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:201) at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84) ... or 2009-02-26 14:09:45,578 DEBUG [org.springframework.core.io.support.PathMatchingResourcePatternResolver] (HDScanner) Cannot search for matching files underneath URL [vfszip:/C:/dev/jboss-5.0.1.GA/server/default/deploy/exportmanager-server.war/WEB-INF/classes/de/bafa/] because it does not correspond to a directory in the file system java.io.FileNotFoundException: URL [vfszip:/C:/dev/jboss-5.0.1.GA/server/default/deploy/exportmanager-server.war/WEB-INF/classes/de/bafa/] cannot be resolved to absolute file path because it does not reside in the file system: vfszip:/C:/dev/jboss-5.0.1.GA/server/default/deploy/exportmanager-server.war/WEB-INF/classes/de/bafa/ at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:198) at org.springframework.core.io.UrlResource.getFile(UrlResource.java:156) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:517) at org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:80) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:342) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:263) at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1019) at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:177) at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:201) at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:85) The fix provided in Spring 2.5.6 had no effect (see http://jira.springframework.org/browse/SPR-5120). The code provided in http://anonsvn.jboss.org/repos/jbossas/trunk/spring-int/src/main/org/jboss/spring/io/ solved the problem for the spring-beans-config in the classpath, but then the config-file in /WEB-INF/ was not found anymore. Temporary fix for our issue: 1. Overwrite the spring-class "XmlWebApplicationContext": |protected ResourcePatternResolver getResourcePatternResolver() { | return new VFSResourcePatternResolver(this); | } | | public Resource getResource(String location) { | Assert.notNull(location, "Location must not be null"); | if (location.startsWith(CLASSPATH_URL_PREFIX)) { | return
[jboss-user] [Beginners Corner] - Re: WebConsole and JMX console usage and modification
The HTTP port is define in server/xxx/deploy/jboss-web.deployer/server.xml Of course, the sane way to modify the ports is to use the binding service - see docs/examples/binding-manager/sample-bindings.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213428#4213428 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Facelets & Xhtml: how to use the portlet: taglib to crea
Arrg ! I was planning to use this features along with richfaces for a prototype at work ! Seems I need to look for other ways to combine RIA/Portal/Eventing. I think it will be real hard for me now, I already spent 15 days developping my portlets before implementing eventing, and I'm turning low budget now !! Portlet bridge not supporting JSR 286 needs to be clearly define somewhere else instead of forums. I was mistaken by the InfoQ tutorial and some others !! Anyway, you're doing a great job and I hope the community will release a 2.0 Bridge version soon. Do I really need the bridge if i'm working only with JSF/Richfaces excluding Seam ? In the case I don't need it, does the eventing work ? Anyway, thanks again for your answers and for your good job. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213425#4213425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unable to access jboss 4.2.3GA using domain name(host na
Unfortunately, the AS+Portal bundle does not come with the readme file that tells you how to fix this. But there is always the FAQ: https://www.jboss.org/community/docs/DOC-10179 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213424#4213424 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Secure jmx-console and web-console
I don't know what that sentence means, either. It could be a holdover from a prior configuration that never got changed. When you uncomment the security-domain in jboss-web.xml, it reference the jmx-console login module in conf/login-config.xml, and that login module uses the conf/props/jmx-*.properties files for the users and roles. So if you are happy with the given users and roles, then uncommenting that line is jboss-web.xml is all that is required. Wait a second, where did APACHE.LOG come from? Also, the stack trace does not look like it is from JBoss AS... What, exactly, are you running? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213421#4213421 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Facelets & Xhtml: how to use the portlet: taglib to crea
we are currently working on eventig View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213420#4213420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - MBean's JNDI attribute times out at JBoss startup but works
Hello, I'm facing a curious problem, trying to expose Hibernate's statistics through JMX. I updated jboss-service.xml to add the following: | | | true | persistence.units:ear=xxx.ear,jar=xxx.jar,unitName=xxx_pu | | | When JBoss AS starts, I receive the following error: 16:36:46,532 INFO [Server] Core system initialized | 16:36:53,188 ERROR [StatisticsService] Error while accessing session factory with JNDI name persistence.units:ear=xxx.ear,jar=xxx.jar,unitName=xxx_pu | javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] | at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1465) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1594) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.hibernate.jmx.StatisticsService.setSessionFactoryJNDIName(StatisticsService.java:67) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:136) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103) | at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461) | at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608) | at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:703) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSer
[jboss-user] [JBossWS] - Re: RestEasy Client Framework
for anyone interested it is at import org.jboss.resteasy.client.ProxyFactory; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213417#4213417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: MySQL Datasource on JBoss
Wow, deja-vu all over again. What operating system are you using? On some OSes MySQL is case sensitive. If you are still havingproblems, do this: run 'mysql' from a command line, logging in with user name and password from the *-ds.xml file, then enter 'use project', and then enter "show tables'. Post the entire interaction, starting with the 'mysql' command line and ending with the response from 'show tables'. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213415#4213415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
I don't really know the configuration of the virtual machine. I just know the information by accessing by ssh: uname -a: | Linux *** 2.6.27-11-server #1 SMP Thu Jan 29 20:13:12 UTC 2009 x86_64 GNU/Linux | So yes it's a multiprocessing machine free: | total used free sharedbuffers cached | Mem: 1024224 175512 848712 0 3992 33020 | -/+ buffers/cache: 138500 885724 | Swap:0 0 0 | So I think I don't really have a problem for memory usage And my JVM args are: JBoss Bootstrap Environment | | JBOSS_HOME: /apps/jboss-5.0.1.GA | | JAVA: /usr/lib/jvm/java-6-sun/bin/java | | JAVA_OPTS: -Dprogram.name=run.sh -server -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true | | CLASSPATH: /apps/jboss-5.0.1.GA/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar | Sorry if I didn't give much information first... but actually, I didn't know what to do exactly... Because I don't have much information... no logs... no trace :'( So I will have a look to the memory usage during launching... Do you know a good tool to watch the jvm memory usage ?! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213413#4213413 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Facelets & Xhtml: how to use the portlet: taglib to crea
Great ! It seems this bridge is powerfull. As a fresh new user, I have then another question: Does that mean I am able to use event and public render parameters and that kind of stuff with my faces portlets ? Is there any doc / example / tuto about this (richfaces + JSR 286 + portlet bridge) ? Thanks in advance for your time and for the first answer you gave me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213412#4213412 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple instances from single EAR/WAR
Here are some issues I can think of (other than those you already mentioned like supplying unique contexts), off the top of my head: 1) You will have to ascertain that the JNDI names for your EJBs (and anything else that needs JNDI names, such as the data source) are unique between the apps. This should not be an issue for the EJBs if you go with the default jndi naming convention of ear-name/ejb-name/local (or ../remote) [Note that this item has the built-in assumption that you will have to rename the EAR file for each app...] 2) Each app will have to adjust how it looks up EJBs to use up the correct "ear-name" section of the JNDI name. This could be done via a properties file. 3) You will have to configure a loader repository for each app - this will keep the classloaders separate and ensure proper scoping of the classes (each ear gets its own copy of the classes) 4) You will need a *-ds.xml file for each app, each with its own custom JNDI name and the app will have to be configured to use the new name. Given that you are using Seam, I am not sure if there are mechanisms to programmatically alter the Hibernate/JPA configuration or if you will have to modify the persistence.xml file before deploying. (If you use Ant to deploy, you could modify the persistence.xml file at deploy time. Considering that you already have to modify the application.xml file to supply a unique context, this might not be all that big of a hardship.) Those are the things I can think of. But it is usually the unforeseen issues that end up getting to you. Good luck! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213410#4213410 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - WebConsole and JMX console usage and modification
I'm installing jboss-4.2.3 on a shared server running SunOS, and want to change the port configuration of the Jboss server, I know how to do it using the jboss-service.xml and the bindings manager but the web-console and jmx-console are still using 8080 port which is a commonly used port by several other applications, so I would like to have both consoles using another port. Where are those ports configured? Is there any documentation regarding the web-console and the jmx-console? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213409#4213409 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Facelets & Xhtml: how to use the portlet: taglib to crea
If you're using the portlet bridge, the proper urls are encoded in the bridge through navigation rules defined in your faces-config.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213407#4213407 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Facelets & Xhtml: how to use the portlet: taglib to create a
Hi, I'm willing to create a portlet url in my *.xhtml file, using the portlet taglib, like: | | Is there anyway to combine these tags and the use of facelets in xhtml files, or am I facing a problem and need to turn back to JSP's excluding facelets ? In that last case, will I still be able to use richfaces 3.3.0 ? If there's a need to extract those url generation using a Helper managed bean, any sample on how to retrieve an actionUrl programmatically in a managed bean is welcome. Thanks in advance, I'm knew to these frameworks and my head's hurting !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213406#4213406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: SuperClassesFirstWeavingStrategy Error converting class
That's ok, I understand very well. May be I would have find alone if I had a stacktrace. I'll come back with it if... Thank you again, Alexis. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213405#4213405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
What is your virtual machines configuration - how much RAM are you allocating to it? What are your heap settings? Try setting heap min and max to the same value. What is Linux SMP? By SMP do you mean Symetric Multiprocessing? So are you saying that you configured your virtual machine with multiple processors? How many? How many processors does the host machine have? Which Linux distro are you using? What system metrics have you monitored so far? Memory usage? Processor utilization? Disk free space? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213404#4213404 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Unexplained ConnectionValidator Timeout
This was the problem with JBoss messaging not setting the validatorPingTimeout property in the client. I didn't understand that the timeout from the second thread whilst waiting for the "version" was the actual ping timeout going off. Got an early build of the next version of messaging from Red Hat and the client end validation timeout was set ok from the server config and there were no more resets. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213402#4213402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: not blocking warning
Thanks for your answer, I'm glad it's safe but I'm still wondering why I've got these messages. The project is a bit large so I can't check it all but the developers insure me that the noticed classes are not used and that's why they are not in the classpath. The jboss-aop.xml file is short and simple and nor references these. Where does these references come from...? I dunno. (^_^) Thanks again, Alexis. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213401#4213401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration
And when you comment out the whole stanza, make sure that there are no embedded comments. In other words, this will not work: | . | . | | --> And the default FILE appender has embedded comments! Situations like this are where an editor that does XML code highlighting is very handy. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213400#4213400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet 2.0 Event from RichFaces (ajax) request
Please don't cross post. I already tried the code (I think I used the Richfaces archetype to test it) and gave a response here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=144332 For portlet 2.0 eventing, this is something we are working on: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149854 https://jira.jboss.org/jira/browse/PBR-58 The Jira speaks to Seam eventing features, but we are currently working on core eventing in the bridge and the Seam stuff will follow that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213399#4213399 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: richfaces portlet
We don't support Liferay. You should work with them on their forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213397#4213397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB 3 1.0.0 installer released for JBoss AS 5.0.0.GA
The *.ejb3 suffix is not a standard suffix for an EJB archive - you need to rename the archive to *.jar. (If recall correctly, there was a discussion about this in the forums a while back - you could try searching for that discussion if you are interested in the details.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213393#4213393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - Re: test
test5 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213392#4213392 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user