[jboss-user] [EJB 3.0] - Re: Domain Name Setting
Thank u very much it is working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186911#4186911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0
I'm still not able to reproduce (and i still don't get what happens). For the sake of testing, could you please try to explicitely cast: PortletInfoInfo portletInfo = (PortletInfoInfo)info.getAttachment(PortletInfoInfo.class); And let me know ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186916#4186916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
Same for me, now. The only thing i get is the dialog which states that JBoss Tools is a community product without commercial support. Then it hangs... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186919#4186919 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186919 ___ 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 running on Oracle
Since the jboss seam console (jbpm-enterprise.ear) does not contain a hibernate.cfg.xml file, it is my assumption that seam/hibernate takes the dialect from the type-mapping in the jbpm-ds.xml which contains in my case : type-mappingOracle9i/type-mapping I can see in the log file that the oracle 10G dialect is used for datasource java:/JbpmDS : 2008-11-05 08:18:58,128 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2008-11-05 08:18:58,128 INFO [org.hibernate.connection.DatasourceConnectionProvider] Using datasource: java:/JbpmDS 2008-11-05 08:18:58,331 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options 2008-11-05 08:18:58,331 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.4.0 2008-11-05 08:18:58,347 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect 2008-11-05 08:18:58,347 INFO [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory ) BUT ... then further in the log I see this: 2008-11-05 08:20:16,184 DEBUG [org.jbpm.persistence.db.DbPersistenceServiceFactory] building hibernate session factory 2008-11-05 08:20:16,184 DEBUG [org.jbpm.db.hibernate.HibernateHelper] creating hibernate configuration resource 'hibernate.cfg.xml' 2008-11-05 08:20:16,184 INFO [org.hibernate.cfg.Configuration] configuring from resource: hibernate.cfg.xml 2008-11-05 08:20:16,184 INFO [org.hibernate.cfg.Configuration] Configuration resource: hibernate.cfg.xml 2008-11-05 08:20:16,184 DEBUG [org.hibernate.util.DTDEntityResolver] trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] 2008-11-05 08:20:16,184 DEBUG [org.hibernate.util.DTDEntityResolver] recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/ 2008-11-05 08:20:16,184 DEBUG [org.hibernate.util.DTDEntityResolver] located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath 2008-11-05 08:20:16,184 DEBUG [org.hibernate.cfg.Configuration] hibernate.dialect=org.hibernate.dialect.HSQLDialect2008-11-05 08:20:16,184 DEBUG [org.hibernate.cfg.Configuration] hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider 2008-11-05 08:20:16,184 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.datasource=java:comp/env/jdbc/JbpmDataSource Which raises my question: Is defining the jbpm datasource xml not enough for the jbpm-console to specify the database to use??? What more do we need to change / add??? (We do have deployed an application build with seam in the same app.server that does contain a hibernate.cfg.xml but that one is pointing to a DB2 database (with a DB2Dialect)) Any help would be appriciated! Jan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186920#4186920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploy a procesee to jboss server using java code
Thanks. I know I should used /jbpm-console/upload, but if use /jbpm-console/upload, I got another error: Exception in thread main couldn't deploy process archives : null at org.jbpm.ant.DeployProcessToServerTask.execute(DeployProcessToServerTask.java:179) at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.deployProcessToServer(SendTestMessage.java:65) at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.sendMessage(SendTestMessage.java:41) at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.main(SendTestMessage.java:72) Caused by: java.lang.NullPointerException at org.jbpm.ant.DeployProcessToServerTask.tryFormBasedAuthentication(DeployProcessToServerTask.java:276) at org.jbpm.ant.DeployProcessToServerTask.deployProcess(DeployProcessToServerTask.java:196) at org.jbpm.ant.DeployProcessToServerTask.deployProcessWithServlet(DeployProcessToServerTask.java:188) at org.jbpm.ant.DeployProcessToServerTask.execute(DeployProcessToServerTask.java:142) ... 3 more --- Nested Exception --- java.lang.NullPointerException at org.jbpm.ant.DeployProcessToServerTask.tryFormBasedAuthentication(DeployProcessToServerTask.java:276) at org.jbpm.ant.DeployProcessToServerTask.deployProcess(DeployProcessToServerTask.java:196) at org.jbpm.ant.DeployProcessToServerTask.deployProcessWithServlet(DeployProcessToServerTask.java:188) at org.jbpm.ant.DeployProcessToServerTask.execute(DeployProcessToServerTask.java:142) at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.deployProcessToServer(SendTestMessage.java:65) at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.sendMessage(SendTestMessage.java:41) at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.main(SendTestMessage.java:72) salaboy21 wrote : My first impresion is that your code have a wrong path to the upload server.. I do not know the SOA platform but i think the correct path is | | | | | /jbpm-console/upload | | | | so try to change this line in your code: | | | | deployTask.setServerDeployer(/jbpm-console/app/upload); | | | to | | | deployTask.setServerDeployer(/jbpm-console/upload); | | | | if this is not the problem please let me know and we try to solve it together. | Greetings! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186925#4186925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploy a procesee to jboss server using java code
Thanks! Using the method that you said need to set a jbpm runtime to the project in eclipse. But now my project only has jboss esb runtime and cann't set jbpm runtime. How can I get the jbpm runtime location? ziccardi wrote : If you need to deploy a process by code, you can use something like this: | | byte[] parBytes = readFully(yourfile.par); | | JbpmContext ctx = JbpmConfiguration.getInstance().createJbpmContext(); | new DeployProcessCommand(parBytes).execute(ctx); | ctx.close(); | | If you want to deploy a simple xml process definition, you can replace parBytes with a String containing your XML. | | Hope this helps. | | Massimiliano. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186926#4186926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Startup tibco ServiceClientDeployer
Hi everyone , I am pretty new to jboss and have to solve some issues mainly for the version control. Since the tibco reference has changed, and start up jboss i am getting this error: What is going on?? thnx ps: i checked the libs and org.jboss.webservice.ServiceClientDeployer is present, but not the WebServiceClientDeployer!!?? Quote: 008-09-30 14:17:49,707 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/devel/QDEV03/jboss/tst/SDP/er-if/er_if-domain.7.0.4rc003/jboss/deploy/jboss-ws4ee.sar/ org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178) at org.jboss.system.ServiceController.install(ServiceController.java:215) 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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) 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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor3.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor10.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at
[jboss-user] [JBoss jBPM] - Re: posting data to an external web application
i got the same problem i understand the class is missing, but why do we need jcr classes ? i previously work with jbpm processes without this jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186930#4186930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Testimonials] - page refresh problem
hi i am using jboss4.2.3 and eclipse3.3 and JSF1.2. I deployed my enterprise application project into the jboss using eclipse.it is running successfully. But the problem is when i am trying to refresh any page (by using browser reresh or F5) it is showing a blank white page.all the components in the page vanishes. what i have to do plz help thanks and regards nsanagari View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186932#4186932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: EJB client for a Web service
Is the jndi name present in JNDIView in JMXConsole ? Does EJBClientItf annotate @Remote ? If you like you can extend your Web Service with a remote interface also, making EJBClient redundant ? | @Remote | public interface POJOWsItf | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186937#4186937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Jboss Tools 3.0.0 Beta 1 - do not compile java class whe
are you using our JBoss Adapter or WTP's adapter ? Are the classes maybe in /WEB-INF/dev instead ? (to allow seam hot deploy?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186938#4186938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication
Hi Javid I have the same Problem with the JndiLoginInitialContextFactory approach. The sample runs fine with JBoss 4.2.2.GA but with Version 5.0.0.CR2 i'm getting an Invalid User Message. You can find another non JAAS approach (with the usage of LoginContext) here: http://www.jboss.com/index.html?module=bbop=viewtopict=144865 best regards Tom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186940#4186940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
And when you click the Continue button ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186941#4186941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
again, *which* specific download link are you following ? There is one per platform one per plugin and everyone I tries works - so I need some more specifics please ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186942#4186942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Unsupported content type: application/xml
Hi, Client libraries depends on enabled features like ws-security etc. It is easier to see the problem if you post client and server code snippets along with stack traces for both. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186943#4186943 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: how autheticate JME Client (midlet) on jboss server
If you start with making the ws-client working from a plain JavaSE setup small app ? From there it is maybe easier for you to move to JavaME ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186945#4186945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - error while opening a xhtml file in Jboss Tools
I get the following error while opening a xhtml file in Jboss Tools.java.lang.NullPointerException | at org.jboss.tools.vpe.editor.util.DocTypeUtil.getDoctype(DocTypeUtil.java:142) | at org.jboss.tools.vpe.editor.util.DocTypeUtil.getDoctype(DocTypeUtil.java:60) | at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:281) | at org.jboss.tools.vpe.editor.VpeEditorPart.createVisualEditor(VpeEditorPart.java:754) | at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:213) | at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:408) | at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:125) | at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) | at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) | at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) | at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266) | at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820) | at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) | at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) | at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) | at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) | at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) | at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643) | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646) | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605) | at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318) | at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160) | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228) | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207) | at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) | at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250) | at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:363) | at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603) | at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820) | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) | at org.eclipse.core.runtime.Platform.run(Platform.java:880) | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) | at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818) | at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079) | at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183) | at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263) | at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257) | at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297) | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) | at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) | at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) | at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) | at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) | at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) | at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) | at
[jboss-user] [JBoss Tools (users)] - Re: error while opening a xhtml file in Jboss Tools
which version ? I beleive this is an old bug already fixed in 3 beta. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186952#4186952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB2 Client calling EJB3 Bean
Hello everybody I'm trying to run an EJB2 Client against an EJB3 SLSB, delivering the client an EJB2 Home interface with the usage of the @RemoteHome annotation. With JBoss 4.2.2.GA the sample is working fine, with JBoss 5.0.0.CR2 i'm getting the following Message during the deploy: java.lang.IllegalStateException: EJB 3.0 Core Specification Violation (4.6.7): The session bean remote interface interface ... must extend the javax.ejb.EJBObject interface. Remote Interface: | @Remote | public interface EJB3Remote { | | public String echo(String message); | | } | Home Interface: | public interface EJB3Home extends EJBHome { | | public EJB3Remote create() throws CreateException, RemoteException; | | } | Bean: | @Stateless | @RemoteHome(EJB3Home.class) | public class EJB3Bean implements EJB3Remote { | | public String echo(String message) { | | return echo from EJB3 Bean + message + ; | } | } | Thanks for any help. Tom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186953#4186953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Reloading the application context
Hi , We ae facing the same problem. Our production server crashed 4 times with in a week. when we checked the logs. its trying to reload the context and throws some exception and hangs... ERROR [org.apache.commons.modeler.BaseModelMBean] Exception invoking method reload | java.lang.NullPointerException | at org.jboss.web.tomcat.tc5.WebCtxLoader.start(WebCtxLoader.java:109) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4231) | at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3043) | 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:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:236) | at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:202) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) | at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) | at
[jboss-user] [JBoss Tools (users)] - Re: DB inheritance mapping
there is no inheritance info in the database and we don't have any reveng.xml construct for doing this. Use mapping files if you want full control. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186944#4186944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Listeners for BPEL receive activities
Hi, For a receive activity that is a start activity(createInstance=yes) I figured out that the Listener is anonymous wrote : org.jbpm.bpel.integration.jms.StartListener and its onMessage method is called when I start the bpel process, and hence I can get hold of the input data. My bpel process also have other receive activities and I want to tap these calls too. But I do not find any listeners for them. There is a class org.jbpm.bpel.integration.jms.RequestListener , but its onMessage method is never called. I tried debugging a bit, and found out that the SOAPHandler is directly sending a JMS request to the queue in its sendRequest() method. Once this is send I am not able to see how the information flows. Any inputs in this regard will be helpful for me. Thanks in Advance Best Regards Dhanush View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186961#4186961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Improving speed app with concurrent transactions/hits
Hi Peter, Thanks very much for your reply.really sorry from me to reply this much late and to you for late response due to unavoidable reasons Frankly speaking regarding your reply about garbage collection statistics using -verbose:gc or -XX:PrintHeapAtGC with a web application. So I tried out the following JVM options and its working little faster without any stoppage in the application/sys(provided no consecutive hits) set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m set JAVA_OPTS=-XX:MaxPermSize=1024m %JAVA_OPTS% set JAVA_OPTS= -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled %JAVA_OPTS% problem arises when after sometime of concurrent hits system strucks up for a while without knowing for the customer...hope i am clear about my req.request you if u could provide some suggestions regarding the same. Our system is a client side installable web app with JBOSS 4.2.0GA and MYSql 5.0.45-community-ntAlthough client allocates one dedicated server for the entire app, his RAM is gonna be 1GB max.regarding this i have goine through this following post where u mentioned abt the combination of Jboss and mysql http://www.jboss.com/index.html?module=bbop=viewtopict=133322 Thanks and Regards Kishore View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186983#4186983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jms notbound exception when accessing jbpm context from
have you found the solution? I have the same problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186984#4186984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jms notbound exception when accessing jbpm context from
I'm using jboss 4.2.3 and jbpm 3.2.3, jdk 6.0. And only works when I login to the jbpm-console first View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186987#4186987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ComponentBean cannot be cast to ComponentBean
I am receiving the following error message when trying to deploy my application on jboss: javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/jboss-4.2.2-1-jsf/server/default/deploy/pims.ear/lib/jsf-facelets.jar!/META-INF/faces-config.xml: Error at line 8 column 16: Error at (8, 16: com.sun.faces.config.beans.ComponentBean cannot be cast to com.sun.faces.config.beans.ComponentBean After much reading about JBoss classloading I suspect that its because the class is being loaded by two classloaders and is then causing problems.. I believe this class is located in jsf-impl.jar. Looking at the loader repository for the ear for my jsf web app, there are two references to jsf-impl.jar. The unexpected on being in the tmp folder. file:/C:/jboss-4.2.2-1-jsf/server/default/deploy/pims.ear/lib/jsf-impl.jar file:/C:/jboss-4.2.2-1-jsf/server/default/tmp/deploy/tmp25412jsf-impl.jar Any ideas how I can solve this problem? It´s driving me nuts... Thanks, David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186996#4186996 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB2 Client calling EJB3 Bean
Hi jaikiran - I changed the remote interface according the Error Message - Removed the implements EJB3Remote clause from the Bean (so i do not have to implement all the callbacks in EJB2.x manner) After this changes i got a Exception during the deploy: 13:13:33,564 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ejb2clienttoejb3.ear,jar=ejb2clienttoejb3-ejb.jar,name=EJB3Bean,ser vice=EJB3 state=Create java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:222) at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:162) By delivering a jboss.xml descriptor file with the jndi home interface name i could run the sample. Thanks! best regards Tom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186998#4186998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Topic subscribers in a cluster?
Currently porting from Weblogic to JBoss. In Weblogic, because the queues are clustered there is the possibility that identical MDBs in the multiple application instances in the cluster will subscribe as the same client name to a given topic, causing problems. For this reason the MDB deployment descriptor allows us to specify generate-unique-jms-client-id. Is this an issue with JBoss and what's the workaround? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186985#4186985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
It works for me - clicked the link, cliked continue and then had to wait for sf.net's ads to load and then it gave me the file. I expect it is sf.net being slow for you. We saw those issues monday too - but I haven't seen them since. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186999#4186999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal Inter communication samples
Hello Does anyone know an example of portal inter communication that works with jbossportal2.6.6? I have downloaded HelloWorldIPC.zip but it seems like an old/different code to what I expected, for instance this is how the HelloWorldPortletA is defined: public class HelloWorldPortletA extends JBossPortlet I expected it to extend form GenericPortlet. Can you help please? Best Regards, N View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187003#4187003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB2 Client calling EJB3 Bean
[EMAIL PROTECTED] wrote : | java.lang.IllegalStateException: EJB 3.0 Core Specification Violation (4.6.7):The session bean remote interface interface ... must extend the javax.ejb.EJBObject interface. | As noted in the error message, the 4.6.7 section of the spec mentions that the EJB2.x remote interface should extend from javax.ejb.EJBObject. So you will have to change it to: Remote Interface: | @Remote | public interface EJB3Remote extends javax.ejb.EJBObject { | | public String echo(String message); | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186958#4186958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to do hot deployment in jboss
Thank you jaikiran View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186988#4186988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
Hello, on this page http://www.jboss.org/tools/download/index.html scrolled down to Development Downloads and selected All Plugins for windows. I have tried to access sourgeforge.net but with no success. Perhaps this site is down? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186997#4186997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Help required to create a file in the web application contex
Hi, I am creating a png file in the servlet i wan't to store this file in the web application such that i can access this file in the jsp page html img tag. For this i need help where can i store this png file in the JBoss application server. Regards, Ramesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187008#4187008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Towards remoting-jboss-beans.xml
[EMAIL PROTECTED] wrote : | 1. Are there any hidden gotcha's I'm missing? | Dunno. You tell me, when you hit them. ;-) [EMAIL PROTECTED] wrote : | 2. Are there any conventions, e.g. naming conventions, I should be aware of? | Not that I'm aware of. Perhaps keeping old MBeans, that are now plain POJOs, still in the MBean server with the help of @JMX. [EMAIL PROTECTED] wrote : | 3. Am I correct in understanding that setting registerDirectly=false in org.jboss.aop.microcontainer.aspects.jmx.JMX supports hot deployment? | Dunno, check ServiceControllerRegistrationLifecycleCallback for more details. It's a JMX issue / question. [EMAIL PROTECTED] wrote : | 4. JBAS-3926 is Move remoting transports out of conf/jboss-service.xml to a remoting-beans.xml, but I see that all the *-beans.xml files in AS 5 are named *-jboss-beans.xml. Is the latter form just a convention for *-beans.xml files that come with the AS? | Yes, they were renamed to be more JBoss specific. Since we do file -- metadata matching mostly based on suffix, we would also pick some Spring -beans.xml named files, which were only meant to be used by strict Spring core lib. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187017#4187017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0
Yes, that worked. I can now not only receive a list of portlets, but have icons next to them.Most use the default icon. My guess as to your not being able to reproduce them is that I may have some old portlets (been using JBP since 2005) from various sources which may not adhere to new conventions or standards. You may be only using JBOSS-owned ones. Thanks to both of you for the help. CR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187022#4187022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaDataBuilder.createArray() surprise...
I'll think about it for 2.2.x. ;-) It makes sense. Probably for now, either - you write you're own simple wrapping code - we move some of the 'Object is instance of ValueMetaData' logic into right top places But this is more of a dev discussion, perhaps move it into MC dev forum. ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187023#4187023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - WSRP with Portlet Container only
I noticed this JIRA issue was entered, JBPORTAL-2186, but it appears to not be scheduled against a release? There are a couple of past threads on the forums requesting this and I've pestered developers on the blogs. I thought I'd continue my annoying behavior and officially request that this issue be scheduled against the earliest possible release. We would really like to be able to host portlets from our jboss servers without needing the entire JBoss Portal to be installed. We don't host a portal and have no intention of hosting a portal so the overhead is excessive for us. The light weight approach of just exposing some of our functionality via a portlet is very appealing. Also, not to point fingers, but the other major portlet containers have already implemented this and it has been a topic of discussion when we decide how to proceed with our entire application server platform. Just in case that helps anyone justify bumping the priority. :) Thanks, jasen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187025#4187025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: call/ start bpel process from web application
still having this problem. doesn't anyone have got a solution for me? thanks, stefan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187028#4187028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Buddy migration and removal
I'm not sure what you are trying to achieve here. I'd assume that once data is migrated from cache1 to cache2, cache1's eviction timer no longer has jurisdiction over removing that data, and it should be up to a timer on cache2 to do this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187029#4187029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: java.lang.IllegalStateException: Didn't load expected nu
It's beaten me then sorry :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187030#4187030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Buddy migration and removal
Not so clear what you want but this may or may not help you. Have a look at the expirationPolicy. http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/2.2.1.GA/userguide_en/html_single/index.html#d0e3603 Tag the node you want for how long you want it to live, if the node gets migrated to another node in the meantime it will also get evicted roughly simultaneously as the original node. (When i say roughly I mean when the eviction thread gets around to evicting it, it obviously wont be parallell but roughly the same time). if you dont want or need that approach may i suggest you include a timestamp in the data that gets migrated(So in your own object that you are caching) and adjusting your own timer logic to check this time stamp to see if its valid for eviction. May or may not help ... Cheers, LL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187033#4187033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: connectionMap.remove in WrapperDatasourceService never c
Hi ludwig, I've been using it for 3 days with around 20 queries per second without problems. Thanks a lot! Best regards, -rochi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187038#4187038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB2 Client calling EJB3 Bean
Because @Remote denotes a Business Remote interface, ie. an EJB3 view. This is confusing because the XML element remote is a Remote Component interface ie. an EJB2.x view. So while using annotations, you don't specify the remote component interface at all; we'll read it in from the return types of create methods in EJB2.x Home. S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187042#4187042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to disable login+password popup when calling JBossWS
What version of JBossAS are you using? Or are you using JBoss EAP? That might explain why you are being asked to log in on localhost but other installations are nor requiring this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187045#4187045 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ
Thanks guys for the prompt replies. Some followup questions: anonymous wrote : we don't virtual destinations but we do support wildcard routing in JBM 2.0. i.e. if you send a message to topic.* the message will get routed to topic.A, topic.B etc. | We don't want to do this. We need to intermix queues (whose listeners MUST receive and process an ordered sequence of messages) and topics (which can be discarded). Even if a topic-only solution was otherwise ok, it would kind of defeat the purpose: having one (or a few) well-known destinations to which all messages could be cc'd, reconfiguring only the broker to filter/route to the right consumers. Using wildcards, we'd wind up spamming all subtopics so that the 'real' topic (say, topic.stock.redhat) and virtual topic (topic.stock) both receive messages. anonymous wrote : (WRT composite destinations) no we don't support this at present. If there's not already in JIRA, shall I go ahead and create one for this? anonymous wrote : both JBM 1.4 and JBM 2 have a management API for creating destinations on the fly. | Details, please. A management API so that all subsequent calls to createQueue/createTopic result in actual queue/topic creation? Or a management API that allows us to create destinations if the lookup fails? What's the API? anonymous wrote : Tim's correct, in JBM 2 we have the notion of addresses. Every queue is bound to an address so if you bind queue A,B and C to address queueABC, they all recieve any messages routed to that address. | Does this apply to topics as well (and can both destination types be bound to the same address)? Sounds like you're moving toward an AMQP exchange model...? Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187046#4187046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Improving speed app with concurrent transactions/hits
For the memory settings you have, the client needs to have 2GB RAM. The combination of heap size and permgen size is too large for a 1GB machine. Windows itself will use up about 1/2GB, leaving only 1/2GB for your app, so you will find that the system is doing a lot of thrashing (swapping memory areas between RAM and the swap file). If you are seeing large pauses when using the concurrent collector, you are probably running into a full collection because the concurrent collector is falling behind on cleaning the heap. If this is the case, it could indicate a memory leak in your application. The GC statistics should be able to tell you what is going on. How many CPUs (or cores) are on this machine? I hope at least 2, but 4 would be better. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187048#4187048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ComponentBean cannot be cast to ComponentBean
Try removing the jsf-lib.jar file from pims.ear/lib (the one in the 'tmp' directory is the working copy). JBossAS already contains a jsf jar at server/xxx/deploy/jboss-web.deployer/jsf-libs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187050#4187050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to disable login+password popup when calling JBossWS
PeterJ wrote : What version of JBossAS are you using? Or are you using JBoss EAP? That might explain why you are being asked to log in on localhost but other installations are nor requiring this. Yes, I am working with JBoss EAP from JBoss Development Studio. Why is JBoss EAP different from normal JBoss AS ? Again: How can I suppress user+pw prompt (for JBoss EAP) ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187051#4187051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
One other thing to check: are you using Firefox? If so, do you have any addons related to SourceForge or downloading? It had such an addon once and had weird problems downloading various things, and once I got rid of the addon everything was fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187052#4187052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help required to create a file in the web application co
Several possibilities: 1) Is this png custom built for this page and will never be reused? If so, I would have the servlet write the png contents to the response buffer and set the mime type to image/x-png 2) Deploy your app in an exploded format. Then you can dedicate a directory to the PNGs that you create. http://www.jboss.org/community/docs/DOC-9719 3) Define an external directory and place your PNG file there. http://www.jboss.org/community/docs/DOC-9727 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187053#4187053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - need help on import tld file
Can anybody show me how to import a custom tld file? I open the Import Tag dialog, click Browse for TLD file, but nothing showing up in the popup. Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187056#4187056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - jboss admin
Hey, need some advices about jboss administration: 1. is there any good console (better from the one shupped with jboss), open source or with charge? 2. how you deliver the changes that you were done in jboss decriptors to your customers (jboss-service.xml ... ) are you install the original jboss and than override it with your files or you change the jboss configuration through mbeans API or any other way? 3. is there any good tool to control on jboss settings? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187063#4187063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Buddy migration and removal
lovelyliatroim wrote : | Have a look at the expirationPolicy. | LOL! genman's the guy who contributed the expirationPolicy to JBC! :-) http://fisheye.jboss.org/browse/JBossCache/core/trunk/src/main/java/org/jboss/cache/eviction/ExpirationAlgorithm.java?r=3047%40annotateMode=blame View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187064#4187064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: hide the .jsp extension from pages
I know of no wildcard mechanism to do this. But an editor macro or script should be able to convert a list of jsp names into the necessary xml text. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187065#4187065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Does JBoss support in shared libraries (like weblogic)
Hey, I want to have shared library like weblogic. I mean a jar (or group of jar) that all teh ears can call them and they can invoke callbacks (by replection) to classes in the ear. Is it possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187066#4187066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JBoss 4.2.3 and Facelets?
How do we add facelets to jboss 4.2.3 in the internal tomcat? It doent seem to find the viewhandler that we had in the previous versions and putting in the jsf api jar clashes with the jsf included in the internal tomcat... Please inform us how to do this. Best wishes, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187067#4187067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problem with JBoss Portal 2.7 HA using NFS deploy-directory
Hi, JBoss Version : 4.2.3 GA JBoss Portal : 2.7.0 HA Operating System : OpenSuSE 11 JDK Version 1.6.0_06 I am facing the problem, that when I am using a central NFS deploy dir mounted to my two cluster members, my second server halts while booting. After becoming a cluster member, the boot procedure stops and I am facing 100% CPU load by jvm. Both servers mount the $JBOSS_HOME/server/all/deploy dir from my file server in order to save time when deploying new stuff. my last log entry is 21:18:43,479 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp-admin, warUrl=.../deploy/jboss-portal-ha.sar/portal-wsrp.sar/portal-wsrp-admin.war/ the server does not continue several minutes; after I shut down node 1 and node 1 disappearing from the cluster, the server continues starting... Are there any known problems with using NFS deploy dirs? Thanks in advance gore View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187068#4187068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: 2.2 to 3.0CR2
Do you still see this with CR3? Have you been able to reproduce it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187070#4187070 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss configuration with Microsoft Sharepoint Server
Hi, I am trying to prove the concept that a Microsoft Sharepoint Server can consume jboss portlets. I am using JBoss Portal + JBoss AS 4.2.3 2.6.7.GA with WSRP. I would like to be able to add a WSRP web part in sharepoint that will contain the sample weather portlet from JBoss. I went into the portlet's jboss-portlet.xml file and made the portlet remotable. I have then cofigured the TrustedWSRPProducers.config on the Sharepoint server to point to the WSRP services for jboss http://localhost:8080/portal-wsrp/ServiceDescriptionService http://localhost:8080/portal-wsrp/RegistrationService http://localhost:8080/portal-wsrp/MarkupService http://localhost:8080/portal-wsrp/PortletManagementService This does not seem to work. Sharepoint says that an error was thrown on the jboss portal server. This is the error I have found in the server's log file. 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] --- 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from XML_VALID to DOM_VALID 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] --- 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer] deserialize: [xmlName={urn:oasis:names:tc:wsrp:v1:types}getMarkup,xmlType={urn:oasis:names:tc:wsrp:v1:types}getMarkup] 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer] deserialized: org.jboss.portal.wsrp.core.GetMarkup 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.XMLContent] objectValue: org.jboss.portal.wsrp.core.GetMarkup 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] --- 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: org.jboss.ws.core.soap.SOAPBodyElementDoc - org.jboss.portal.wsrp.core.GetMarkup 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.EndpointInvocation] syncEndpointInputParam: org.jboss.portal.wsrp.core.GetMarkup - org.jboss.portal.wsrp.core.GetMarkup(0) 2008-11-05 12:24:01,845 DEBUG [org.jboss.portal.wsrp.producer.WSRPProducerImpl] getMarkup invoked 2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.jaxrpc.handler.MessageContextJAXRPC] Begin response processing 2008-11-05 12:24:01,845 ERROR [org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC] SOAP request exception java.lang.IllegalArgumentException: Requires a non-null, non-empty registration handle I am lost here and cant seem to figure out what is wrong. Does anyone know how to setup this kind of configuration? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187071#4187071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - jndi in an ear? what in case that the name of the ear is cha
Hey, i have a stateless located in an ear. the name of the ear is changing all the time. how can i have the same jndi name no matter what is the name of the ear? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187069#4187069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to disable login+password popup when calling JBossWS
Posted too soon, you also need to edit the web.xml file in the same directory, commenting out the security-constraint: |!-- A security constraint that restricts access |security-constraint | web-resource-collection |web-resource-namejbossws/web-resource-name |descriptionSecurity configuration that only allows users with the | role 'JBossAdmin' to access the JBossWS console web application |/description |url-pattern/*/url-pattern |http-methodGET/http-method |http-methodPOST/http-method | /web-resource-collection | auth-constraint |role-nameJBossAdmin/role-name | /auth-constraint |/security-constraint | -- | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187079#4187079 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - CacheLoader performance bad when replacing data
There used to be a TreeCache.putData(Map m, boolean erase) operation at some point which I thought was optimized, but in reality there's only put(Map) and put(K, V) type operations that do merges. I'm trying to simply store a bunch of associations which should overwrite any existing data, and I'm getting bad performance, since every put() operation forces a read. Even the clearData operation forces a read. Any hints? There is a Node.replaceAll but requires loading the node first. I'd like to see Cache.replaceAll() operation at some point. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187084#4187084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Buddy migration and removal
I guess the problem is does cache2 know that the data migrated? I think a cache listener would work, but the docs aren't too clear on this. node created works but since the event doesn't contain any data as part of the event, I suspect the migrated timestamp might not be available. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187083#4187083 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Two Questions: Does JPortal have an index.html? How are
Notice that I did not say that editing those entries in default-object.xml would work. Rather, I said that if I were to experiment with item #1, that I would look at those settings. I'm sorry that they didn't work, but I don't have any other ideas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187081#4187081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to disable login+password popup when calling JBossWS
JBoss EAP comes with a readme.html file that highlights the differences between AS and EAP. Wait, the EAP binary download doesn't have the readme; instead it is in the docs download. In that file you will see this text: readme wrote : If you are using the rpm, or the zip distribution, please note that by default, authentication is enabled and no user accounts are set up. This is done to prevent unauthorized access to various services of JBoss AS. Please refer to the Installation Guide, or see http://kbase.redhat.com/faq/FAQ_107_9963.shtm for information on how to make the services accessible again. Thus, EAP is locked down. Not only are all of the services secured, but there is no way to log in to any of them. I just now installed devstudio. It doesn't contain this readme. How convenient. But looking at some key files it appears that the version of EAP that comes with devstudio is not locked down. I guess this makes sense because this version of EAP is meant for development use. However, the /jbossws context is still locked down. Curious. I guess they forgot to unlock it. Anyway, edit the server/xxx/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml file, commenting out the security-domain: jboss-web | !-- A security domain that restricts access | security-domainjava:/jaas/jmx-console/security-domain |-- | context-rootjbossws/context-root | /jboss-web View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187076#4187076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: hide the .jsp extension from pages
Perhaps use Apache httpd and mod_rewrite? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187088#4187088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jms notbound exception when accessing jbpm context from
I have the same problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187091#4187091 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Buddy migration and removal
anonymous wrote : | LOL! genman's the guy who contributed the expirationPolicy to JBC! :-) | Whoops.so he should know about it ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187093#4187093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: 2.2 to 3.0CR2
anonymous wrote : | Do you still see this with CR3? Have you been able to reproduce it? | I havent had the chance to look at it since then but that exception was getting thrown quite frequently under very little load. So it wasnt just a once off thing. Will post more on it when i get to it. Cheers, LL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187096#4187096 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss admin
1) Have a look at embedded Jopr. This is the new open-source admin console based on JBoss ON. 2) Are you asking about upgrading to new level/version of JBossAS? If so, then only way I know is a clean install of the new version, then moving over the apps and configuration settings, making changes and fixing issues as appropriate. There is no documented or formal migration strategy. 3) Some people use subversion or other similar tools to maintain configuration versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187097#4187097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Does JBoss support in
In its default configuration, all libraries are shared (though, not libraries in xxx.war/WEB-INF/lib, which are scoped to the web app by default). For example, all libraries in one EAR file can be used by classes in other EAR or WAR files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187098#4187098 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - google/widgets feeds not working with 2.7.0?
I was wondering if others have experienced this issue. We did not see it with 2.6.5 on these servers. In admin, when defining the page layout and contents, select: widget/google from the pull-down (not portal) Select (for example) News category and MSNBC.com Receive: Error while retreiving Widget: http://rss.msnbc.msn.com/id/3032091/device/rss/rss.xml This happens with most of the RSS feeds; however, if you select Technology and Current Moon Phase, that one works fine. The only other change we are aware of is the /etc/conf.d/httpd has been changed so traffic on port 80 (not 8080) goes to JBOSS. I have been told that should not affect this. ideas? CR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187100#4187100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is
I have the test case, but when I try to create JIRA bug report I can not see any attachment link. May be I do not have permissions? I tried to contact couple people from JIRA admin list - but did not get any response. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187102#4187102 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP with Portlet Container only
We have to balance all the requested features and what we can support before making any decisions on this. It basically boils down to market demand vs. development/support cost. For example, would you be willing to buy support for a WSRP + PC only solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187103#4187103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is
If you send me a link to the JIRA and mail me the test case, I'll attach it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187105#4187105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Problem with SERIALIZABLE Isolation Level
Hello guys, I'm using JBossCache 1.4.1.SP9. I need to use SERIALIZABLE isolation level in my application. I did the following test: 1) started one jboss instance and at some point did: | TreeCache cache = cacheManagerImpl.getCache(); | cache.put(1, 1, test); | cache.getTransactionManager().begin(); | cache.put(1, 1, test2); | and never call commit. in other jboss instance, I did: | TreeCache cache = cacheManagerImpl.getCache(); | cache.getTransactionManager().begin(); | @SuppressWarnings(unchecked) | T returnString = (T) cache.get(1, 1); | cache.getTransactionManager().commit(); | return returnString; | So, I was expecting a failure, because the isolation level is SERIALIZABLE, and I didnt make a commit in the first jboss instance. But the second code block succeed with no error. If a had inserted a cache.put(..) in the second block, it would fail. Are my expects corrects? Or I misunderstanding something? thanks in advance, andre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187106#4187106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: JBoss 4.0.4.GA and 4.2.1.GA EJB interoperability
Hi, gturner, Recently I got the same error while invoking remote ejb from jboss 4.0.5 to 4.2.0. Can you share your solution with me? Thanks a lot! Lin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187107#4187107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem during marshalling/unmarshalling
Hi, imranpariyani, Recently I got the same error while invoking remote ejb from jboss 4.0.5 to 4.2.0. Can you share your solution with me? Thanks a lot! Lin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187108#4187108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB2 Client calling EJB3 Bean
Actually, in this case you could use some help with the error message. If you provide the failing case in a JIRA for JBMETA project and assign to me, I'll make sure you get back a clear indication of what's wrong via the new ValidationChain we've put in place. S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187109#4187109 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Injecting EJB References NullPointerException JBoss 5.0 in S
When using @EJB for a session bean in a servlet i get a NullPointerException - Am I missing something (new to Jee5 and Injections) HelloWorldSession is the interface for HelloWorldSessionBean | | public class HelloWorldCallingSessionEJBServlet extends HttpServlet | { |@EJB |private HelloWorldSession helloWorldSession; | |public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |{ | this.doWork(request, response); | |}//end method doGet | |public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |{ | this.doWork(request, response); | |}//end method doPost | |private void doWork(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |{ | ; | String helloString = empty string; | | helloString = this.helloWorldSession.sayHello(); | | response.setContentType(text/html); | PrintWriter out = response.getWriter(); | | out.println(htmlheadtitleHelloWorld/title/headbody); | out.println(h3 + helloString + /h3); | out.println(/body/html); | | |}//end method doWork | | | }//end class HelloWorldCallingSessionEJBServlet | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187110#4187110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: portlet header not drawn completely when you drag and dr
This was a css issue but also related to JBPORTAL-1769 where clicking on maximize, minimize etc. buttons in IE7 don't work most of the time. One of the files changed to fix this(JBPORTAL-1769) seems to have been undone by JBPORTAL-1874. The file in question is /branches/JBoss_Portal_Branch_2_6/theme/src/main/org/jboss/portal/theme/impl/render/div/DivDecorationRenderer.java So, the question is why was this change undone - is it being fixed indirectly elsewhere? I manually added the change back in and it fixes the original problem in JBPORTAL-1769 but the portlet title and mode buttons display outside the portlet container image. Further details at: http://fisheye.jboss.org/changelog/Portal/?cs=9524 http://fisheye.jboss.org/changelog/Portal?cs=10478 Thanks, Valli View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187113#4187113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - How start mysql via mysqld-service using named pipes
I can start MySQL outside of JBoss with named pipes enabled and then configure a datasource to connect to it. If I launch MySQL via jmx (mysqld-service.xml) I see it running but when the datasource using it tries to connect it cannot. I see this in the log: Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago. at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1070) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2104) at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:729) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171) ... 122 more Caused by: java.io.FileNotFoundException: \\.\pipe\MySQL (The system cannot find the file specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.(RandomAccessFile.java:212) at java.io.RandomAccessFile.(RandomAccessFile.java:98) at com.mysql.jdbc.NamedPipeSocketFactory$NamedPipeSocket.(NamedPipeSocketFactory.java:57) at com.mysql.jdbc.NamedPipeSocketFactory.connect(NamedPipeSocketFactory.java:215) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2027) ... 126 more There is a propery called namedPipePath. If I use that in the mysql startup (mysqld-service.xml) it will not start and says that is not a valid attribute. Error is: No Attribute found with name: namedPipePath My knowledge of named pipes is minimal. Does the connector/datasource need to know named pipe path in use? How do I find that? Or what? I must be missing some key configuration step. Help! Example configuration files would be great. From mysqld-service.xml ..\server\default\data\mysql\data ..\server\default\data\mysql true true from mysql-ds.xml connection-urljdbc:mysql://./mytestdb/connection-url connection-property name=socketFactorycom.mysql.jdbc.NamedPipeSocketFactory/connection-property !-- commented out now, tried earlier connection-property name=namedPipePathc:\pipe\MySQL/connection-property-- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187114#4187114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How start mysql via mysqld-service using named pipes
some of the xml was chopped out of my post: (re-did without ) mbean code=com.mysql.management.jmx.jboss.JBossMysqldDynamicMBean name=mysql:type=service,name=mysqld attribute name=datadir..\server\default\data\mysql\data /attribute attribute name=basedir..\server\default\data\mysql /attribute attribute name=autostarttrue attribute name=enable-named-pipe true attribute View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187115#4187115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How start mysql via mysqld-service using named pipes
To post XML text, enclose it in UBBCode code tags - you can do this by selecting the XML text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. Perhaps this article will help. Pay careful attention to the database URL used (it is much more complex than yours). http://www.waltercedric.com/internet-www-mainmenu-54/348-mysql/1217-optimizing-mysql-jdbc-under-windows-using-named-pipe.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187117#4187117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Injecting EJB References NullPointerException JBoss 5.0
You should provide a mappedName for @EJB, because the default name (HelloWorldSession) is typically not a valid JNDI name for looking up an EJB (most likely, it is something like xxx/HelloWorldSession/local, where xxx is the app name). You can use JNDIView to determine the deployed EJB's JNDI name. http://www.jboss.org/community/docs/DOC-9584 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187118#4187118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools 2.1.2 Install
I realize that most people are concerned with trying out the nightly builds/etc but some of us are more interested in stability... Is there any one stop shopping on what to download to support JBoss Tools 2.1.2? I'm looking mostly for the best WTP All in one download to use. I also have seen mention in a few places (but nowhere EASY TO FIND) about needing to install a custom WTP patch if using WTP 2.0.2. Is this patch still needed if using WTP 2.0.3? Is WTP 2.0.3 even advisable to use? Right now the best list I can come up with (since there is no EASY TO FIND documentation of this) for what should be the best starting place to work with JBoss Tools is: Eclipse WTP 2.0.2 All in One - eclipse-jee-europa-winter-2.0.2-win32.zip Custom WTP patch - wtp-P-P20080506003122-20080506003122.zip JBoss Tools 2.1.2 - JBossTools-2.1.2.GA-ALL-win32.zip If there is a better list of software to start with it would be nice to know. The absence of mention about the patch unless you dig around in forum posts or old blog entries is probably the biggest issue. Thanks, Stuart View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187119#4187119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Are you sure?
Any way i need a sared library among all ears. Also i need that the classes in this library will be able to invoke callback to classes in the ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187121#4187121 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.2 Install
Feel free to update thie HowToInstallJbossTools wiki ;) But your findings are correct. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187122#4187122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.2 Install
I hadn't seen this page. It would be nice to have some kind of official mention of the patch and the situations under which it might be required. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187124#4187124 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Incomplete Deployment listing
hi peter , Thanks for ur reply. kindly help me how to increase buffer size to prevent that stack trace . 2008-11-06 04:52:53,763 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war 2008-11-06 04:52:53,763 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war 2008-11-06 04:52:53,763 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war - D:\jboss-4.2.2.GA\server\default\tmp\deploy\tmp59004testSample.war 2008-11-06 04:52:53,841 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer] 2008-11-06 04:52:53,841 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Begin init 2008-11-06 04:52:53,841 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Unpacking war to: D:\jboss-4.2.2.GA\server\default\tmp\deploy\tmp59004testSample-exp.war 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Replaced war with unpacked contents 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Was unable to delete war file 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.tomcat.service.JBossWeb] webContext: null 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.tomcat.service.JBossWeb] warURL: file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp59004testSample-exp.war/ 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.tomcat.service.JBossWeb] End init 2008-11-06 04:52:55,310 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) 2008-11-06 04:52:55,310 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp59004testSample-exp.war/ ,addedOrder=0} 2008-11-06 04:52:55,310 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp59004testSample-exp.war/ ,addedOrder=0} 2008-11-06 04:52:55,310 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding [EMAIL PROTECTED] url=file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp59004testSample-exp.war/ ,addedOrder=0} 2008-11-06 04:52:55,310 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war 2008-11-06 04:52:55,310 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war 2008-11-06 04:52:55,310 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.tomcat.service.JBossWeb] create, testSample.war 2008-11-06 04:52:55,310 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=testSample.war,id=1567538082 2008-11-06 04:52:55,310 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [] 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=testSample.war,id=1567538082 2008-11-06 04:52:55,310 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=testSample.war,id=1567538082 2008-11-06 04:52:55,310 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=testSample.war,id=1567538082 dependents are: [] 2008-11-06 04:52:56,091 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass Thu, 6 Nov 2008 04:52:56 2008-11-06 04:52:56,091 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass 2008-11-06 04:52:56,091 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass 2008-11-06 04:52:56,091 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass 2008-11-06 04:52:56,201 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying testSample.war 2008-11-06 04:52:56,201 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war 2008-11-06 04:52:56,201 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=testSample.war,id=1567538082 2008-11-06 04:52:56,201 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=testSample.war,id=1567538082 2008-11-06 04:52:56,201 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] webContext: null 2008-11-06 04:52:56,201 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] warURL:
[jboss-user] [Clustering/JBoss] - JBoss 4.2 TCP Clustering problem
I am upgrading JBoss from 4.0.5 to 4.2.3 and unable to set up clustering on the new version. I have spent quite a bit of time reading clustering FAQ and Wiki\JbossHA. I was unable to find a good TCP clustering example for 4.2.x. I have JBoss installed on 2 windows boxes and starting it with -c all. I cannot get the JGroups layer to work - nodes don't discover each other: the log on each box always show: 2008-11-05 15:40:07,263 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Number of cluster members: 1 2008-11-05 15:40:07,263 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Other members: 0 2008-11-05 15:40:07,263 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Fetching state (will wait for 3 milliseconds): 2008-11-05 15:40:14,326 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] State could not be retrieved (we are the first member in group) I am using TCP transport and my config in cluster-service.xml is like this: TCP bind_addr=box1 start_port=7800 loopback=true tcp_nodelay=true recv_buf_size=2000 send_buf_size=64 discard_incompatible_packets=true enable_bundling=false max_bundle_size=64000 max_bundle_timeout=30 use_incoming_packet_handler=true use_outgoing_packet_handler=false down_thread=false up_thread=false use_send_queues=false sock_conn_timeout=300 skip_suspected_members=true/ TCPPING initial_hosts=box1[7800],box2[7800] port_range=3 timeout=3000 down_thread=true up_thread=true num_initial_members=3/ MERGE2 max_interval=10 down_thread=true up_thread=true min_interval=5/ FD_SOCK down_thread=true up_thread=true/ FD timeout=1 max_tries=5 down_thread=true up_thread=true shun=true/ VERIFY_SUSPECT timeout=1500 down_thread=false up_thread=false/ pbcast.NAKACK max_xmit_size=6 use_mcast_xmit=false gc_lag=100 retransmit_timeout=300,600,1200,2400,4800 down_thread=true up_thread=true discard_delivered_msgs=true/ pbcast.STABLE stability_delay=1000 desired_avg_gossip=5 down_thread=false up_thread=false max_bytes=40/ pbcast.GMS print_local_addr=true join_timeout=3000 down_thread=true up_thread=true join_retry_timeout=2000 shun=false view_bundling=true/ pbcast.STATE_TRANSFER down_thread=true up_thread=true use_flush=true/ Please help! A working config example for JBoss 4.2 would help a lot. Thank you, Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187126#4187126 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Incomplete Deployment listing
Looks like your war file contains JSF jar files - remove those - they are already provided by JBossAS. To increase buffer size, look on the Layout tab of the Command Prompt Properties - change the Height setting under Screen Buffer Size. I have mine set to 9000. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187128#4187128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Injecting EJB References NullPointerException JBoss 5.0
PeterJ wrote : You should provide a mappedName for @EJB, because the default name (HelloWorldSession) is typically not a valid JNDI name for looking up an EJB (most likely, it is something like xxx/HelloWorldSession/local, where xxx is the app name). | | You can use JNDIView to determine the deployed EJB's JNDI name. http://www.jboss.org/community/docs/DOC-9584 thanx for your help - found the following: +- prj (class: org.jnp.interfaces.NamingContext) | | +- HelloWorldSessionBean (class: org.jnp.interfaces.NamingContext) | | | +- local (class: Proxy for: prj.ejb3.HelloWorldSession) | | | +- local-prj.ejb3.HelloWorldSession (class: Proxy for: prj.ejb3.HelloWorldSession) | | here is the output at deployment: | | | | name=HelloWorldSessionBean,service=EJB3 | | 18:27:23,945 INFO [TomcatDeployment] deploy, ctxPath=/prj, vfsUrl=prj.ear/prjWEB.war | | 18:27:54,210 INFO [TomcatDeployment] undeploy, ctxPath=/prj, vfsUrl=prj.ear/prjWEB.war | | 18:27:54,220 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=prj.ear,jar=prjEJB.jar,name=HelloWorldSessionBean,service=EJB3 | | 18:27:54,221 INFO [EJBContainer] STOPPED EJB: prj.ejb3.HelloWorldSessionBean ejbName: HelloWorldSessionBean | | 18:27:54,368 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndi | | BindingPolicy for Session Bean HelloWorldSessionBean | | 18:27:54,398 INFO [JBossASKernel] Created KernelDeployment for: prjEJB.jar | | 18:27:54,398 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=prj.ear,jar=prjEJB.jar,name=HelloWorldSessionBean,service=EJB3 | | 18:27:54,398 INFO [JBossASKernel] with dependencies: | | 18:27:54,398 INFO [JBossASKernel] and demands: | | 18:27:54,398 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | | 18:27:54,398 INFO [JBossASKernel] and supplies: | | 18:27:54,399 INFO [JBossASKernel] Class:prj.ejb3.HelloWorldSession | | 18:27:54,399 INFO [JBossASKernel] jndi:prj/HelloWorldSessionBean/local | | 18:27:54,399 INFO [JBossASKernel] jndi:prj/HelloWorldSessionBean/local-prj.ejb3.HelloWorldSession | | 18:27:54,399 INFO [JBossASKernel] jndi:prj/HelloWorldSessionBean/remote | | 18:27:54,399 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=prj.ear,jar=prjEJB.jar,name=HelloWorldSessionBean,service=EJB3) to KernelDeployment of: prjEJB.jar | | 18:27:54,453 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=prj.ear,jar=prjEJB.jar,name=HelloWorldSessionBean,service=EJB3 | | 18:27:54,454 INFO [EJBContainer] STARTED EJB: prj.ejb3.HelloWorldSessionBean ejbName: HelloWorldSessionBean | | 18:27:54,454 WARN [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=prj.ear,jar=prjEJB.jar, | | name=HelloWorldSessionBean,service=EJB3 | | 18:27:54,489 INFO [TomcatDeployment] deploy, ctxPath=/prj, vfsUrl=prj.ear/prjWEB.war | | 18:28:16,327 ERROR [[HelloWorldCallingSessionEJBServlet]] Servlet.service() for servlet HelloWorldCallingSessionEJBServlet threw exception | | java.lang.NullPointerException | | at prj.web.HelloWorldCallingSessionEJBServlet.doWork(HelloWorldCallingSessionEJBServlet.java:34) | | at prj.web.HelloWorldCallingSessionEJBServlet.doGet(HelloWorldCallingSessionEJBServlet.java:19) | | 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:235) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91) | | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92) | | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | | at
[jboss-user] [EJB 3.0] - Re: Injecting EJB References NullPointerException JBoss 5.0
See if this discussion (and the referenced discussions) helps: http://www.jboss.com/index.html?module=bbop=viewtopict=143607 (Yes, I am being lazy...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187132#4187132 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: interface weirdness
I have had the same problem. I have a class which contains this code: List x = new ArrayList(); | x.add(new ArrayList()); and I instrument it with an editor which replaces the call to method add with: $_ = ($r)$proceed($1 instanceof java.lang.Object ? $1 : $1); When I run the program, the loading of the class generates the error: Exception in thread main java.lang.VerifyError: (class: Test, method: main signature: ([Ljava/lang/String;)V) Inconsistent args_size for opc_invokeinterface If the type of variable x is AbstractList instead of List, the program runs normally. I did some experiments and I think the cond ? ex1 : ex2 expression is the cause of the problem... but why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187133#4187133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - run ./run.sh , notice:java.net.UnknownhostException:www.w3.or
Under linux ,when i run jboss,there is a error causeed by:java.net.UnkwownException:www.w3.org View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187134#4187134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - it is very slow to start up jboss
it is very slow to execute aspect deployment when stating jboss 15:36:55,182 INFO [AspectDeployer] Deploying xml into [EMAIL PROTECTED] for BaseCl [EMAIL PROTECTED]:/D:/dev/jboss-5.0.0.CR2/server/default/deploy/ejb3-interceptors-aop.xml} could i not deploy it if i don't use ejb3 interceptors aop? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187136#4187136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Injecting EJB References NullPointerException JBoss 5.0
PeterJ wrote : See if this discussion (and the referenced discussions) helps: http://www.jboss.com/index.html?module=bbop=viewtopict=143607 | | (Yes, I am being lazy...) np: you learn more when you find it yourself! thanx so much; my problem was i needed to update the schema from 2.3 to 2.5... | web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; id=WebApp_ID version=2.5 | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187139#4187139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Injecting EJB References NullPointerException JBoss 5.0
mpurdy1973 wrote : thanx so much; my problem was i needed to update the schema from 2.3 to 2.5... Also, the @EJB Resolver should be able to find the correct JNDI name for you, should not be required to specify mappedName. S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187141#4187141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user