[jboss-user] [JCA/JBoss] - Re: connectionMap.remove in WrapperDatasourceService never c
Hello Ludwig. "ladam" wrote : Before I file a issue in the jira / provide a patch I wanted to post this here for any feedback because I am not sure if I fully understand the functionalities involved here. | Did you got a chance to investigate the issue furthur, if so then update the details over here so that I can take it form there? Regards, Vicky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181373#4181373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Problem with XA and local transactions
"chausberger" wrote : | I am new to XA transactions, so maybe my whole setup is wrong. | Any idea what the problem could be here? | You need to understand this http://wiki.jboss.org/wiki/Multiple1PC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181370#4181370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Delivery Notification <[EMAIL PROTECTED]>
This is a delivery status notification, automatically generated by MTA mx2.editionsatlas.ch on Fri, 10 Oct 2008 08:04:25 +0200 Regarding recipient(s) : [EMAIL PROTECTED] Delivery status : Failed. Message could not be delivered to domain .Failed while initiating the protocol. <[('[EMAIL PROTECTED]', 550, '5.7.1 Unable to relay for [EMAIL PROTECTED]')]> MTA Response :550 The original message headers are included as attachment. Reporting-MTA: dns; mx2.editionsatlas.ch Final-Recipient: rfc822;info@editionsatlas.ru Diagnostic-Code: smtp; 550 5.7.1 Unable to relay for info@editionsatlas.ru Remote-MTA: dns; 192.168.31.30 Action: failed Status: 5.0.0 --- Begin Message --- *** Body Not Included *** --- End Message --- ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to determine which profile that JBoss are runnioing now?
By default , there are all , default , minimal profile to choose when starting JBoss . After starting the jboss , how can I determine which profile I am using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181369#4181369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss App Server v5.0.0 does not run
I have insatlled the JBoss v5.0.0.CR2, JDK6r10. I set the JBOSS_HOME variabel and then executed the run.bat on a Windows Vista Ultimate system, but nothing happened. No output at all. Does anyone have the same problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181368#4181368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - creating database using entitymanager
Hey, I am using JPA along ejb3. My problem lies in automatically creating the database. When the using hibernate, the table is automatically created when the "hbm2ddl.auto" property is set to "create" and a sessionfactory is created. With JPA and ejb3 I am injecting an entitymanager using the @PersistenceContext annotation. The problem is that when an entitymanager is injected and methods are called there is no database created to insert to. My question is how do I go about creating the database automatically when it is being used this way, or what is the correct approach. thanks in advance This is the code where the entitymanager is being injected. | import javax.ejb.*; | import javax.persistence.*; | | | @Stateless | public class TodoDao implements TodoDaoInt { | | @PersistenceContext | private EntityManager em; | | public void persist (Todo todo) { | em.persist (todo); | } | | This is the servlet where the ejb is being used and the persist method is called but the table does not exist | protected void processRequest(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException { | | TodoDaoInt tododaoint = this.getDao(); | | Todo todo = new Todo(); | todo.setTitle("title"); | todo.setDescription("object to persist"); | | tododaoint.persist(todo); | | String destinationPage = "/Results.jsp"; | | // Redirect to destination page. | RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(destinationPage); | | dispatcher.forward(request, response); | } | | private TodoDaoInt getDao() { | | try { | InitialContext ctx = new InitialContext(); | return (TodoDaoInt) ctx.lookup("ejb3serv2/TodoDao/local"); | } catch (Exception e) { | e.printStackTrace(); | throw new RuntimeException("couldn't lookup Dao 2", e); | } | | } | This is the persistence.xml of the ejb | | | | org.hibernate.ejb.HibernatePersistence | java:/DefaultDS | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the error when the servlet is called saying there is no table to insert to | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not insert: [Todo] | | .. | root cause | | javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not insert: [Todo] | org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629) | | ... | root cause | | org.hibernate.exception.SQLGrammarException: could not insert: [Todo] | | ... | java.sql.SQLException: Table not found in statement [insert into Todo (description, title) values (?, ?)] | org.hsqldb.jdbc.Util.throwError(Unknown Source) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181367#4181367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: jboss as 5 - hibernate integration help needed
is it the same as the manning book you writing, due in nov? http://www.amazon.com/JBoss-Action-Configuring-Application-Server/dp/1933988029/ref=sr_1_2?ie=UTF8&s=books&qid=1223608164&sr=8-2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181364#4181364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: jboss as 5 - hibernate integration help needed
btw, i got it to work. thanks. another questions. is the src code download complete? it seems some stuff not included in the downloads. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181365#4181365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Can't consume message.when message delivered
thanks timfox, get me importment information. i view you home page http://jbossfox.blogspot.com, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181363#4181363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: com.sun.facelets.FaceletException: Error Parsing /style.
I clean the css file and rewrite a simple one, still got the same error message. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181362#4181362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Job Executor and Spring
I haven't yet got timers working for me so take that code with a grain of salt. Also note that I use the LocalJbpmConfigurationFactoryBean in my spring config, so I don't want to declare the same config twice. For this reason my spring.xml file looks like this: | | | | classpath:workflow/**/processdefinition.xml | | | | | | | | | | | and I had a problem in my code. This overcomes it: | import org.jbpm.JbpmConfiguration; | import org.jbpm.job.executor.JobExecutor; | import org.slf4j.Logger; | import org.slf4j.LoggerFactory; | import org.springframework.beans.factory.DisposableBean; | import org.springframework.beans.factory.InitializingBean; | import org.springframework.beans.factory.annotation.Required; | | /** | * | */ | public class JobExecutorInitializingBean implements InitializingBean, DisposableBean { | | // Statics - | | private static final Logger LOG = LoggerFactory.getLogger(JobExecutorInitializingBean.class); | | // Instances --- | | private JbpmConfiguration _jbpmConfiguration; | | public void afterPropertiesSet() throws Exception { | JobExecutor jobExecutor = _jbpmConfiguration.getJobExecutor(); | if (jobExecutor != null) { | jobExecutor.setJbpmConfiguration(_jbpmConfiguration); | jobExecutor.start(); | } else { | if (LOG.isWarnEnabled()) | LOG.warn("No JobExecutor was found in the jBPM configuration."); | } | } | | | public void destroy() throws Exception { | JobExecutor jobExecutor = _jbpmConfiguration.getJobExecutor(); | if (jobExecutor != null) jobExecutor.stop(); | } | | @Required | public void setJbpmConfiguration(final JbpmConfiguration jbpmConfiguration) { | _jbpmConfiguration = jbpmConfiguration; | } | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181361#4181361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Can't consume message.when message delivered
jboss remoting 2.4.0 is not the correct version to use?? which version is correct version View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181359#4181359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Job Executor and Spring
Funny, but I just wrote this class: | | import org.jbpm.JbpmConfiguration; | import org.jbpm.job.executor.JobExecutor; | import org.slf4j.Logger; | import org.slf4j.LoggerFactory; | import org.springframework.beans.factory.DisposableBean; | import org.springframework.beans.factory.InitializingBean; | import org.springframework.beans.factory.annotation.Required; | | /** | * | */ | public class JobExecutorInitializingBean implements InitializingBean, DisposableBean { | | // Statics - | | private static final Logger LOG = LoggerFactory.getLogger(JobExecutorInitializingBean.class); | | // Instances --- | | private JbpmConfiguration _jbpmConfiguration; | | /** | * Invoked by a BeanFactory after it has set all bean properties supplied | * (and satisfied BeanFactoryAware and ApplicationContextAware). | * This method allows the bean instance to perform initialization only | * possible when all bean properties have been set and to throw an | * exception in the event of misconfiguration. | * | * @throws Exception in the event of misconfiguration (such | * as failure to set an essential property) or if initialization fails. | */ | public void afterPropertiesSet() throws Exception { | JobExecutor jobExecutor = _jbpmConfiguration.getJobExecutor(); | if (jobExecutor != null) | jobExecutor.start(); | else | LOG.warn("No JobExecutor was found in the jBPM configuration."); | } | | | /** | * Invoked by a BeanFactory on destruction of a singleton. | * | * @throws Exception in case of shutdown errors. | * Exceptions will get logged but not rethrown to allow | * other beans to release their resources too. | */ | public void destroy() throws Exception { | JobExecutor jobExecutor = _jbpmConfiguration.getJobExecutor(); | if (jobExecutor != null) jobExecutor.stop(); | } | | @Required | public void setJbpmConfiguration(final JbpmConfiguration jbpmConfiguration) { | _jbpmConfiguration = jbpmConfiguration; | } | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181360#4181360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Remoting resolving to Hostname
I think maybe you could try '-Dremoting.bind_by_host=false' or '-Djboss.bind.address=0.0.0.0'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181357#4181357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss4.2.3GA, JBossJSFConfigureListenerà ÂÃÂÃÂÃÂÃ
En,,, I replaced "web.xml" in jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer with the "web.xml" in jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar. Then my code can run in jboss4.2.3. I think it is the listener which are defined in web.xml leads error. But I'am not very sure. And I don't know how these listeners work. I hope this information would help some one meets the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181355#4181355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: IllegalArgumentException: argument type mismatch
Can anyone help me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181354#4181354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Problems to use
Hi! Unfortunately, our Eclpse plugin is outdated, so it won't work. We are planning to fix this after we do the JBoss AOP 2.0GA release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181353#4181353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3.0 example with session bean and servlet
According to the error message, the error is w.r.t. to the env variable: java.lang.RuntimeException: Unable to inject jndi dependency: env/quatron into property servlet.QuatronServlet.quatron: Quatron not bound | type Exception report | | message | | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax.servlet.ServletException: Error instantiating servlet class servlet.QuatronServlet | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91) | org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | java.lang.Thread.run(Thread.java:619) | | root cause | | java.lang.RuntimeException: Unable to inject jndi dependency: env/quatron into property servlet.QuatronServlet.quatron: Quatron not bound | org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:82) | org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) | org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361) | org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91) | org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | java.lang.Thread.run(Thread.java:619) | | root cause | | javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: Quatron not bound] | org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1257) | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760) | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) | org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44) | org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75) | org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) | org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361) | org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91) | org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | java.lang.Thread.run(Thread.java:619) | | root cause | | javax.naming.NameNotFoundException: Quatron not bound | org.jnp.server.NamingServer.getBinding(NamingServer.java:564) | org.jnp.server.NamingServer.getBinding(NamingServer.java:572) | org.jnp.server.NamingServer.getObject(NamingServer.java:578) | org.jnp.server.NamingServer.lookup(NamingServer.java:288) | org.jnp
[jboss-user] [JNDI/Naming/Network] - Re: Sharing a global jndi data source with a local one for j
Accessing the service=JNDIView from the jmx console only shows jdbc/foobar as being defined in the global context. So I guess I really need to find out how to define a jndi references to a datasource in the java:comp/env, an suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181349#4181349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: How to view the jndi tree?
>From a posting by jaikiran posted on : Sun Feb 17, 2008 - Go to http://< server>:< port>/jmx-console (Ex: http://localhost:8080/jmx-console) - Search for service=JNDIView on the jmx-console page [ITS NEAR the top of the PAGE] - Click on that link - On the page that comes up click on the Invoke button beside the list() method - The page that comes up will show the contents of the JNDI tree. Search for your bean here and find out what's it jndi-name. The use it in your code during the lookup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181348#4181348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Sharing a global jndi data source with a local one for jstl
I have a postgres database define in default deploy directory as jdbc/foobar using the postgres-ds.xml file. This data source shows up when jboss boots. I have tried to access this from jsp using the jstl library by saying I get an error saying that no sutiable driver can be found, from the existing documentation it seems that the jstl library expects to find data sources in the local context and not the global context as defined by the postgres-ds.xml file. Its been sugested that I use the context.xml file in the META-INF directory of my war file, using the syntax I would have expected jdbc/foobar to have show up in the java:comp/env context, but nothing was listed when jboss started up. I known from a strace log that jboss access tile file META-INF/context.xml from my web file, but nothing actual gets defined in the local jndi space. Have I over looked something vitial ? :( Is there any generic documentation or examples on this subject? it seems to be a rather common problem, but none of the suggested solutions worked in my case. Dave. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181347#4181347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Injecting an EJB into a Servlet
Hi, I have a similar problem; I am also trying to inject a stateless session bean into a servlet. It would be great if you can look at my posting: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143727 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181345#4181345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3.0 example with session bean and servlet
Hello, I am using Netbeans 6.1 and JBoss 5.0.0.CR2. I am trying out an example with a stateless session bean and servlet, but have some problems. The error message: HTTP Status 404 - Servlet QuatronServlet is not available - The console output: *** CONTEXTS IN ERROR: Name -> Error -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' ** jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' ** -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' ** -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' ** jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' ** at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709) at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 23:52:20,579 INFO [[/Quatron]] Marking servlet QuatronServlet as unavailable 23:52:20,579 ERROR [[QuatronServlet]] Allocate exception for servlet QuatronServlet javax.naming.NameNotFoundException: Quatron not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:564) at org.jnp.server.NamingServer.getBinding(NamingServer.java:572) at org.jnp.server.NamingServer.getObject(NamingServer.java:578) at org.jnp.server.NamingServer.lookup(NamingServer.java:288) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1251) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44) at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75) at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361) at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) 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 org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Th
[jboss-user] [Beginners Corner] - Re: web server?
Tomcat is used to serve static content as well as servets and JSPs. To configure SSL for JBossAS, see http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Security_on_JBoss-Using_SSL_with_JBoss_using_JSSE.html Or you can front-end JBossAS with Apache HTTP Server, see http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/ch17s01.html and the sections that follow. Both topics are also covered in the wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181341#4181341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Simple SSL question
Oh, now I see what happened. There were two similar questions about SSL, and I meant to answer the other one. Sorry, just ignore me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181340#4181340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Simple SSL question
Juts noticed that you are asking about web services, not HTML content. For that, see http://jbossws.jboss.org/mediawiki/index.php?title=Secure_transport View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181339#4181339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Simple SSL question
Tomcat is used to serve static content as well as servets and JSPs. To configure SSL for JBossAS, see http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Security_on_JBoss-Using_SSL_with_JBoss_using_JSSE.html Or you can front-end JBossAS with Apache HTTP Server, see http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/ch17s01.html and the sections that follow. Both topics are also covered in the wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181338#4181338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Problems to use "JBossAOP" with "Aglets mobile agents"
Hello, I'm looking forward to prepare an AOP application that control Aglets mobile agents. So I used into "Eclipse" the "Aglets plateform" configured and then I used "convert to AOP project". I had prepared a simple example, but there is no interceptions. I tried the same things with AspectJ and its work. There is someone that can help me. I will be very grateful. Thinks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181337#4181337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: DeploymentException: Failed to find .war in zipped .ear
Please post the contents of your ear. Use "jar -tf xxx.ear" to list the contents. Also, post your application.xml file. Remember to enclose your XML text 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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181336#4181336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Virtual Directory mapping
The Context entry you made in server.xml, you have to make one for each external directory you want to make available. There is no facility to provide a directory per user with a single declaration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181334#4181334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JBC 2.2.0 EvictionConfig not being recognized from configura
I have just started using Jboss Cache 2.2.0, I got it running with a quick experiment of distributed caching. I have simple needs, so far just strings shared in a cache between JVM's. However, I run into problems when I add the EvictionConfig attribute to my cache config XML file. If I leave this attribute out the different JVMs start up and replicate objects. But I have no control over eviction. Error I am seeing: org.jboss.cache.config.ConfigurationException: Unknown configuration element EvictionConfig Additionally, I have added other attributes like: StateRetrievalTimeout">2 2 DEFAULT true But I see these errors in the trace output saying they are unrecognized: 2008-10-09 15:22:55,791 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute SyncReplTimeout. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute LockAcquisitionTimeout. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute StateRetrievalTimeout. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute wakeUpIntervalSeconds. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute policyClass. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute maxNodes. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute timeToLiveSeconds. Please check your configuration. Ignoring!! 2008-10-09 15:22:55,807 DEBUG org.jboss.cache.factories.XmlConfigurationParser [] - Unrecognised attribute LockParentForChildInsertRemove. Please check your configuration. Ignoring!! Here is the config file in full. Any suggestions are much appreciated. org.jboss.cache.transaction.GenericTransactionManagerLookup REPEATABLE_READ true REPL_SYNC JBossCache-Cluster 2 2 15000 DEFAULT true 5 20 org.jboss.cache.eviction.LRUPolicy 5000 30 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181333#4181333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JmsTemplate w/ JBM still discouraged? (Repost)
anonymous wrote : it would be nice to add this as a suggested solution to the JBMSpringJMSTemplateNotes page that warns against using JmsTemplate with JBoss Messaging. This should be the same on any JMS provider you choose. Creating a Session/Producer on every message send is an anti-pattern , and it will certainly cause performance issues on any JMS server you choose. You can use the java://JmsXA connector on JBoss AS also, and on that case SpringJMSTemplate would be using the cached producers from JBAS' JCA and you wouldn't see any performance problem. (But if you have a standalone client, you won't have the JCA adaptor available) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181331#4181331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JmsTemplate w/ JBM still discouraged?
The problem on SpringJMSTemplate would be the same on any JMS server you choose. anonymous wrote : that warns against using JmsTemplate with JBoss Messaging. This should be the same on any JMS provider you choose. Creating a Session/Producer on every message send is an anti-pattern , and it will certainly cause performance issues on any JMS server you choose. You can use the java://JmsXA connector on JBoss AS also, and on that case SpringJMSTemplate would be using the cached producers from JBAS' JCA and you wouldn't see any performance problem. (But if you have a standalone client, you won't have the JCA adaptor available) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181331#4181331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Generate Form not load variables from Controller
Or another way is to re-write xhtml file. It should work for everyone i think. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181328#4181328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - web server?
Please excuse the naive questions, but what web server does Jboss use? I understand it uses Tomcat as it's servlet engine, but how does it serve static contents like HTML, and images. If I wanted SSL encryption / decryption just like in Apache, is that supported (without having to plug into Apache)? Thanks a lot for ure feedback. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181327#4181327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - error org.apache.catalina.connector.RequestFacade
I have Jboss Seam application that connects to mssql 2005 database. I used Seam Gen to generate the application When I deployed it. I could open RequestEdit.xhtml page and insert data into the database. But RequestList.xhtml page shows following error | javax.el.ELException: /RequestList.xhtml: Property 'requestId' not found on type org.apache.catalina.connector.RequestFacade | at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48) | at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39) | at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280) | at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262) | at org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:246) | at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:87) | at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101) | at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:994) | at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:107) | at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:92) | at org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:139) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | The code for Request.java | @Entity | @Table(name = "request") | public class Request implements java.io.Serializable { | | private int requestId; | private Date createdDate; | private String createdUserId; | | public Request() { | } | | public Request(int requestId) { | this.requestId = requestId; | } | public Request(int requestId, Date createdDate, String createdUserId) { | this.requestId = requestId; | this.createdDate = createdDate; | this.createdUserId = createdUserId; | } | | @Id | @GeneratedValue(strategy = IDENTITY) | @Column(name = "request_id", unique = true, nullable = false) | public int getRequestId() { | return this.requestId; | } | | public void setRequestId(int requestId) { | this.requestId = requestId; | } | @Temporal(TemporalType.TIMESTAMP) | @Column(name = "created_date", length = 23) | public Date getCreatedDate() { | return this.createdDate; | } | | public void setCreatedDate(Date createdDate) { | this.createdDate = createdDate; | } | | @Column(name = "created_user_id", length = 50) | @Length(max = 50) | public String getCreatedUserId() { | return this.createdUserId; | } | | public void setCreatedUserId(String createdUserId) { | this.createdUserId = createdUserId; | } | @Temporal(TemporalType.TIMESTAMP) | @Column(name = "updated_date", length = 23) | public Date getUpdatedDate() { | return this.updatedDate; | } | } | RequestHome.java | @Name("requestHome") | public class RequestHome extends EntityHome { | | public void setRequestRequestId(Integer id) { | setId(id); | } | | public Integer getRequestRequestId() { | return (Integer) getId(); | } | | @Override | protected Request createInstance() { | Request request = new Request(); | return request; | } | | public void wire() { | } | | public boolean isWired() { | return true; | } | | public Request getDefinedInstance() { | return isIdDefined() ? getInstance() : null; | } | | } | | RequestList.java | @Name("requestList") | public class RequestList extends EntityQuery{ | | /** | * | */ | | private static final String[] RESTRICTIONS = { | "lower(request.createdUserId) like concat(lower(#{requestList.request.createdUserId}),'%')", | }; | | private Request request = new Request(); | | @Override | public String getEjbql() { | return "select request from Request request"; | } | | @Override | public Integer getMaxResults() { | return 25; | } | | public Request getRequest() { | return request; | } | | @Override | public List getRestrictions() { | return Arrays.asList(RESTRICTIONS); | } | | } | | | RequestList.xhtml | http://www.w3.org/1999/xhtml"; | xmlns:s="http://jboss.com/products/seam/taglib"; | xmlns:ui="http://java.sun.com/jsf/facelets"
[jboss-user] [JBoss Portal] - Re: creating our own login page
Perhaps wrong redirect to j_security_check. "/j_security_check" is not the rigth url that should be called - missing "/portal" or /portal/portal ..." as prefix of "/j_security_check" ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181325#4181325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache 2.x with Hibernate 3.3
I recently attempted to integrate JBoss Cache 2.x as a second level cache with Hibernate 3.3.0 SP1. According to the Hibernate documentation I should be able to specify the org.hibernate.cache.jbc2.JBossCacheRegionFactory class as the provider class via the hibernate.cache.provider_class configuration property. At runtime, this generates an exception, as the JBossCacheRegionFactoryclass does not implement the CacheProvider class. If any reader of this forum has insight into how to configure a JBoss Cache 2.x (or higher) as a second level cache for Hibernate, I'd definitely appreciate it. Based on my limited exposure to this I don't see how this can work, at least using standard Hibernate second level cache configuration. Thanks. -Doug | Caused by: org.hibernate.cache.CacheException: could not instantiate CacheProvider [org.hibernate.cache.jbc2.JBossCacheRegionFactory] | at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.(RegionFactoryCacheProviderBridge.java:66) | ... 81 more | Caused by: java.lang.ClassCastException: org.hibernate.cache.jbc2.JBossCacheRegionFactory incompatible with org.hibernate.cache.CacheProvider | at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.(RegionFactoryCacheProviderBridge.java:63) | ... 81 more | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181323#4181323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Customize Seam Tool Generated Project
I was able to fully customize the jboss-seam-2.1.0.CR1 seam-gen files with custom facelets templates and custom web.xml and to include my own additional jar files by manipulating some of the ant build scripts. For corporate use, I'd like to enable developers to utilize these customizations via the Seam Tool/Jboss Tools plugin wizard for creating a seam project. My facelets customizations do end up in the finished projects but my changes to anything that was in WEB-INF, such as web.xml as well as additional libs I want included, don't make it. I'm guessing the seam tools wizard doesn't make use of the same ant build scripts the command line seam-gen uses. Is there any way at all, to customize web.xml and get my additional libs included? I've searched the eclipse features and plugins directories for templates for web.xml, hoping to discover where the Seam Tools-generated web.xml comes from with no luck. Even if it involves hacking some code (which I hope it doesn't), can! someone point me in the right direction? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181321#4181321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: seam-gen throwing exception
I've figured out a work-around that works ok for me. I did a global search/replace in the jboss-seam directory (in my case, jboss-seam-2.1.0.CR1) on the seam-gen/src & seam-gen/view directories looking for occurrences of "util.isToOne" and replaced them with "c2h.isManyToOne" on *.ftl files. This seems to have done the trick. I imagine this should be a temporary fix 'till the developers address the fact that apparently the Freemarker context maybe doesn't know about the 'util' variable or it's not mapped to a class that actually contains a method called "isToOne" or something along those lines. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181319#4181319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JmsTemplate w/ JBM still discouraged?
>From the Spring 2.5.x documentation, it appears that it would be safe to >listen for messages using a Spring message driven pojo, a >DefaultMessageListenerContainer configured with a JmsTransactionManager, and a >container managed connection factory (/JmsXA) . Is the above statement correct? If this is the case, it would be nice to add this as a suggested solution to the JBMSpringJMSTemplateNotes page that warns against using JmsTemplate with JBoss Messaging. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181318#4181318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Hibernate SessionFactory Injection
wolfc, I'm not sure what you mean. I'm trying to inject a session factory into the bean. According to section 5.2 of this link, this is a supported feature: http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/hibernate.html I also verified that this works in the Beta releases. Has support been dropped for injection Hibernate Session and SessionFactory directly into EJBs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181315#4181315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181315 ___ 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 Archiver is unreliable
Rob, Forget about the JBossArchive question. I got the latest Archiver nightly build installed. At first look, everything seems to be working just fine. I'll try to put under fire as soon as I get some more time. Thanks for the help, Bruno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181314#4181314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181314 ___ 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 Archiver is unreliable
Rob, Thanks for your quick answer. So, and if I understand correctly, all I need to install over Ganymede WTP is the new JBossTools-Archives package from the nightly build page? Regarding the issue with the JBoss Archiver files from Eclipse 3.2 that do not work with the JBoss Archiver for Eclipse 3.3, all I can tell you is that it seems that it can't convert from 3.2 ".packages" file to the newer format. Let me know if that's all I need to install and I'll try again. I'll come back to you with the results. Thanks, Bruno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181312#4181312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: DeploymentException: Failed to find .war in zipped .ear
i'm running into the same issue with jBoss not being able to locate myapp.war inside a compressed .ear file. does anyone have any solutions to this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181311#4181311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jar file for org.jboss.ws.core.soap.SAAJMetaFactoryImpl.
Voted. BTW, since I am only consuming web-services, following workaround worked for me: Workaround: compile against jaxws RI (version 2.1.3) jars and then copy these RI jars to server/default/lib dir. I haven't done any extensive testing so far, but application seems to be cruising so far. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181310#4181310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: consume WS over https no longer works when upgraded to j
For others benefit, in case they are running into same issue: My workaround: Since I am only consuming web-services and not hosting them, i was able to get my application working by compiling against jaxws RI jars (v 2.1.3) and then by copying these RI jars to server/default/lib for runtime. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181309#4181309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - custom client acknowledgement
Does the JBoss Messaging has the abiltity to handle custom client acknowledgement? Its been clearly explained in this link. http://docs.sun.com/app/docs/doc/819-7757/6n9mar6g2?a=view#aeqef Like I am using CLIENT_ACKNOWLEDGE for the session. so I have to use the acknowledge() method for messages in the queue. I am interested of using acknowledge particular message in the queue? instead of using acknowledge() method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181308#4181308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Virtual Directory mapping
Hi All, Currenlty i'm evaluating Jboss-4.2.2.GA as an option to replace Weblogic and the problem that i'm facing is that in weblogic.xml i have a piece of code like below /d01/mesg/usrdir /usrdir/* so whenever a user have login into the application and generate a report, a dynamic text file is created in his folder on the path /do1/mesg/usrdir/Tester1/expdir/20081009xxx.txt and this file can be downloaded immediately from the url http://serverip/usrdir/Tester1/expdir/20081009xxx.txt . But in JBoss i'm unable to read the file from the url http://serverip/usrdir/Tester1/expdir/20081009xxx.txt even though the file is in the directory and the error message i'm getting is /usrdir/Tester1/expdir/20081009xxx.txt is not available. I have tried to make a static directory mapping code in the server.xml for /usrdir/ and that have not work, but if i made a static redirection as follows in the server.xml file < Context path="/images" docBase="/d01/mesg/usrdir/images" /> and i call the url http://serverip/images/ i can see the directory listing and click on an image for display. Therefore i would appreciate much if someone can help me out of how to link each user to his directory and have the dynamic text file downloaded from the browser as its the case with weblogic. Regards, Jule View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181306#4181306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - QueueBrowser results inaccurate in a cluster
We're seeing some odd behavior that our research hasn't been able to resolve. We have a tool that uses a QueueBrowser to return all entries in a queue for display in a browser. This is primarily a testing tool. Under most situations this works fine. However, when we use clustering and point our JNDI context to one instance in the cluster the QueueBrowser object sometimes returns 100 entries, and sometimes 300. Even if there are several thousand entries in each queue (of the same name) in the cluster the browser still returns 100 or 300. It is consistently one of these numbers and implies some type of caching limit. As I indicated, this is not a problem on a non-clustered queue. Do you have any information on this behavior that can help us out? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181305#4181305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - jboss-seam.jar will not be exported
Hello there. First of all, I'm using: Kubuntu 8.10 beta, kernel 2.6.27-6-generic | Eclipse Ganymede installed from eclipse-jee-ganymede-SR1-linux-gtk.tar.gz | JBoss Tools development version installed using the update site http://download.jboss.org/jbosstools/updates/development | JBoss AS installed from jboss-4.2.3.GA-jdk6.zip | Seam unpacked from jboss-seam-2.1.0.CR1.tar.gz | | I created a File > New > Seam Web Project using Seam 2.0 and JBoss 4.2. Once the project is created, Eclipse reports "cannot be resolved to a type" errors in the Authenticator.java as if jboss-seam.jar weren't in the classpath. | | In the status bar, it says: | | Classpath entry /MyProject/EarContent/jboss-seam.jar will not be exported or published. Runtime ClassNotFoundException may result. | | If I add jboss-seam.jar to the classpath, that warning moves to the Problems tab and the errors go away. If I then remove it, the warning also goes away and everything is as it's supposed to be in the beginning. | | Is it me or there's a real problem here? | | Thanks, | | VÃtor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181304#4181304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Running without TransactionManager
And you need it for optimistic locking. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181303#4181303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Running without TransactionManager
TMs are not necessary. Just don't specify a TM lookup class. It is only useful if you want your cache to participate in transactions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181302#4181302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jar file for org.jboss.ws.core.soap.SAAJMetaFactoryImpl.
May I suggest that you log into JIRA and vote for the ticket https://jira.jboss.org/jira/browse/JBWS-2335 So maybe somebody of the JBossWS team will work on this issue reasonably soon. (the workaround I described above lead to new errors when I tried to call my web service). Cheers, Silvano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181301#4181301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Generate Form not load variables from Controller
read the post above, "you have to press enter to confirm the strings" i had the same issue, simply press Enter after each text field Change It works for me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181300#4181300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jar file for org.jboss.ws.core.soap.SAAJMetaFactoryImpl.
Now I am trying jboss-4.2.2 + metro 3.0.2. Saw the same error. Copied jbossws-client.jar over to server/default/lib dir. Now I get following class not found exception. Is there any brave soul here who has been able to get it working? We need help... | java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/ws/policy/Policy | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.tx.BMTInterceptor.handleStateless(BMTInterceptor.java:71) | at org.jboss.ejb3.tx.BMTInterceptor.invoke(BMTInterceptor.java:131) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:83) | at org.jboss.ejb3.security.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:249) | at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268) | at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138) | at $Proxy106.onMessage(Unknown Source) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178) | at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:891) | at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170) | at org.jboss.mq.SpySession.run(SpySession.java:323) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.NoClassDefFoundError: org/apache/ws/policy/Policy | at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:92) | at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:131) | at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61) | at javax.xml.ws.Service.(Service.java:56) | at com.covergence.enms.ws.enms.EnmsService.(EnmsService.java:38) | at com.covergence.enms.utils.WSPortLocator.getEnmsPortType(WSPortLocator.java:56) | at com.covergence.enms.status.PollClusterMDB.pollCluster(PollClusterMDB.java:85) | at com.covergence.enms.status.PollClusterMDB.onMessage(PollClusterMDB.java:140) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | ... 27 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181299#4181299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jar file for org.jboss.ws.core.soap.SAAJMetaFactoryImpl.
I am seeing the same issue with 1) jboss 4.2.3 + metro 3.0.3 as well as 2) jboss 4.2.2 + metro 3.0.3 And I run into other issues after I copy the jbossws-client.jar into server/default/lib dir. Has anybody been able to successfully use jboss-metro with jboss 4.2.x? What are the exact steps to get it working? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181297#4181297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181297 ___ 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 Archiver is unreliable
In the Project Archives View, selecting your ear / jar / war etc and right-clicking it, then selecting "Build Archive", should *always* produce a proper jar. I've been working hard to remove any bugs found in project archives, and I think what's currently in TRUNK / nightly builds is much improved over what was available previously. Something of note is that in the new builds, Project Archives has been moved out to its own component, and "core" is no longer present. >Another problem is that the JBoss Archiver files from Eclipse 3.2 do not work >with the JBoss Archiver for Eclipse 3.3 Can you elaborate on this? I went to pains to ensure old archive files would not be broken by any changes made. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181296#4181296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Monitoring j2ee transations
anonymous wrote : I dont think JMX will do this. You are right, JMX will not provide the information you want. Nor will JON. I have heard of other monitoring solutions, but they are more at the host level rather than recording what goes on in the app server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181295#4181295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools Archiver is unreliable
Guys, We've been trying to upgrade from Eclipse 3.1 to 3.2 and now 3.3 for a long, long, time. Unfortunately we've been having major issues with JBoss AS Tools. The good old JBossIDE packager worked just fine and it is unfortunate that it is not supported for Eclipse 3.2 and 3.3. I've just tried the new JBoss AS Tools in Eclipse Ganymede WTP and we can't upgrade yet. The only plug-ins that we've installed are: - JBossTools Core - 3.0.0.Alpha1 - JBossAS Tools - 2.0.0.Alpha1 >From all this, all I've been trying to create are the jar/war/ear/sar, etc >using the Archiver tools. The Archiver no longer freezes Eclipse while >generating the deployables (as it did in Eclipse 3.2) and I've also noticed >some other major improvements in the tool. Still, the most annoying problem is >that it will fail to reliably generate the deployable files. For example, sometimes the created ear will fail to include other internal jars or wars that have been configured to be part of the package. Restarting Eclipse seems to fix it and the ear will be nicely generated, but as we go, it will end-up failing again. In the end we have to constantly explode the deployed files and check if the contents are correctly placed. Here is how I'm configuring it: my.ear |_ my.jar |_ my.war | |_WEB-INF | |_classes | ... |_META-INF ... And I would try to create them separately, but there's no way I can guarantee the packages generation order. Another problem is that the JBoss Archiver files from Eclipse 3.2 do not work with the JBoss Archiver for Eclipse 3.3 and, the JBossIDE to Archiver converter fails to reliably generate the new Archiver configuration files (also failed for 3.2). Would be nice to have the Archiver stable since it is a main building block for developers. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181294#4181294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Fresh eclipse installation (same eclipse version, same gpd plugin version), now it opens the process again... Very strange... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181293#4181293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Logging to accessLog *before* the request is processed?
I think that the delay is being caused by a garbage collection, not by a request. Try adding the "-verbose:gc -Xloggc:filename -XX:-PrintGCTimeStamps" options to the JVM command line and then coordinate the garbage collection times with the delay. Also, look if there is a setting to change the Tanuki ping wait time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181292#4181292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Monitoring j2ee transations
"PeterJ" wrote : What, specifically, are you looking for? There are a lot of mbeans that provide throughput information for EJBs, servlets, and HTTP requests. Your first stop should be the jmx console to find the mbeans you want. | | You could also look into JON, because it understands the JBossAS mbeans, it provides a convenient mechanism to monitor such data. http://www.jboss.com/products/jbosson | | We have found jKool to be very intrusive - it instruments everything, and the data gathering mechanisms are in-process and Java based which generates huge amount of garbage. Needless to say, you do not want to use it in a production environment. Also, I forgot to mention memory leaks. So what I need is a way to track and measure j2ee transactions down to the method, JMS and JDBC as well detect memory leaks. I am trying jkoolonline rigtht now and it seems to be doing both, although more testing needs to be done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181291#4181291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jboss jbpm developer guide
Hi mates, I want a guide about the use of jBPM from java code. Doing my own transitions... is it possible ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181290#4181290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Monitoring j2ee transations
What I am looking for is a way to pin point performance bottlenecks down to the method, JMS or JDBC call and being able to associate with a specific user. I am trying jKoolOnline and it seems to work provided that you specify your java filters appropriately so that not 100% of calls is getting tracked. The SpecJ test showed around <7-10% degradation with jKool. I dont think JMX will do this. Any other ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181288#4181288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Job Executor and Spring
Hi, I was trying to use the solution posted by Joram Barrez for integrating JobExecutor with Spring http://www.jorambarrez.be/blog/2008/08/26/jbpm-job-executor-for-spring/, but when I run the server, I am getting the following error: 2008-10-09 16:06:38,627 [JbpmJobExecutor:192.168.100.132:1] ERROR org.jbpm.job.executor.JobExecutorThread - exception in job executor thread. waiting 1 milliseconds | java.lang.NullPointerException | at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:110) | at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58) The relevant Spring configuration is: | | | | | | | | | | | | | It seems that JobExecutor does not get the reference to the jbpmConfiguration, but I do not know why. Any help is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181287#4181287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet Instance Class Path
I include jboss-portal.sar/lib/portal-portlet-jsr168api-lib.jar. This is one of the dangers of using a tool to help you when learning a new technology - you often spend more time working around issues with the tool than you you do actually learning about the technology. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181286#4181286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Two domain access - revocation from versign
Sorry for the lame title. I'm hoping someone can work a miracle. I have 2 domains (one with internet access and one without). I need them both to trust my verisign certificate. The one with internet access is working. The one without is throwing the 'Revocation list is not available' error message. I can ignore this and access my web page, but I need the trust to work for Adobe LiveCycle. Versign tells me there is something I can do in JBoss, but either doesn't know how or won't tell me. Thanks in advance for any help! God bless, BroMatt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181284#4181284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Ejb3 + Hypersonic
What is the setting for the hibernate.hbm2ddl.auto property in your persistence.xml file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181282#4181282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment on remote JBoss
Short of getting JON (which has a mechanism to download the app to the remote host and then deploy it in the app server), you will either have to use ftp (or similar mechanism) to get the app to the remote host, or write your own web app that does file downloads and deploys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181281#4181281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Monitoring j2ee transations
What, specifically, are you looking for? There are a lot of mbeans that provide throughput information for EJBs, servlets, and HTTP requests. Your first stop should be the jmx console to find the mbeans you want. You could also look into JON, because it understands the JBossAS mbeans, it provides a convenient mechanism to monitor such data. http://www.jboss.com/products/jbosson We have found jKool to be very intrusive - it instruments everything, and the data gathering mechanisms are in-process and Java based which generates huge amount of garbage. Needless to say, you do not want to use it in a production environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181280#4181280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Logging to accessLog *before* the request is processed?
Hi, I'm on JBoss 4.0.4GA, and I have the access log files generated. All HTTP requests are logged to this file after their processing I would like to know if it is possible to log the incoming HTTP request *before* they are processed too (Of course, I won't get the HTTP return code nor the size of the response). My need is part of a larger problem we are trying to solve: JBoss is launched as a windows service using Tanuki Software's wrapper. This wrapper pings the Jboss JVM to confirm it's running. But sometime, Jboss deosn't answer the ping for more than one minute and le wrapper kills/restarts the JVM. Our monitoring system doesn't provide useful information about what JBoss is doing during this last minute, so that's why I want to know what requests it is processing. Thanks, T View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181278#4181278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem Starting RMI service
Most likely someone changed the port to which JNDI is bound. Look in the server/xxx/conf/jboss-service.xml file, at the Port setting for the jboss:service=Naming mbean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181277#4181277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss access from other PC failed
Also see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143612 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181276#4181276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: hiding pages
I think that a 'recursive' setting at the portal level is causing the problem. See the security discussion in these two posts: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98753 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115712 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181275#4181275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss access from other PC failed
I appears that no-one reads the release notes: readme.html file, first bullet under Configuration Issues > JBossAS 4.2.0.GA. Also see http://wiki.jboss.org/wiki/JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181273#4181273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Dynamic PartitionName, mcast_addr and mcast_port
Hi guys, We have a lot of jboss as (4.2.2) running in our grid in cluster mode. They are working by Cluster of 3 servers. To simplify our deplyoment, I'd like to dynamically assign the partition name, mcast_address and mcast_port at startup (based on LDAP or DB settings). Can anyone give me an advice of doing that ? I can think of a MBean which would start before and set those variable ... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181272#4181272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Performance Issue with JBOSS 4.2.0.GA
I suggest reading through some of the other posts in this forum because similar questions have been posted by others. My guess would be that your application has a memory leak and when the heap fills up you are going into constant garbage collection mode. No amount of JBossAS tuning will help fix that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181271#4181271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: 2 Stateless session beans, same name+interface, diff. ja
Hi, sorry for my very late response. Here is the JNDI tree: | # ear=test.naming.ear,jar=test.naming.core.jar,name=b1,service=EJB3 | # ear=test.naming.ear,jar=test.naming.core.jar,name=wsTest,service=EJB3 | # ear=test.naming.ear,jar=test.naming.project.jar,name=b1,service=EJB3 | what we want is to replace an implementation (SLSB) by deploying it with the same name, but a different ejb module. wsTest SLSB uses b1 (dependency injection) which is located in the same ejb module in this example. we now want to replace the implementation by a project specific one (est.naming.project.jar). It implements the local interface and uses the same name (b1). What we want to achieve: We want that test.naming.core.jar,name=wsTest gets test.naming.project.jar,name=b1 injected instead of test.naming.core.jar,name=b1 by configuring it global. I found out (or assume) that JBoss injects the implementation that is loaded at the last. By changing the order of the modules in applcation.xml it either uses the implementation of core or project. Is that the exact definition how JBoss defines which implementation to use? Is it possible to influence the behavior by any JNDI hook? Thank you in advance! bye, Georg P.S: You can download the complete example code (eclipse projects) at: http://www.im-consultants.at/public/test.naming.zip[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181270#4181270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment on remote JBoss
have a look https://docs.jbosson.redhat.com/confluence/display/DOC/Administering+JON View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181269#4181269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181269 ___ 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 run JBOSS in developement mode
Try using a exploded deployment, then you can add/replace JSP, HTML, CSS and other static files and have the hot deployed (without having the application being redeployed). http://wiki.jboss.org/wiki/ExplodedDeployment By the way, In my ant scripts, I always create a directory withe the war contents first, and then use the jar task to create the war from that directory. Then I have two different deployment targets, one which copies over the war file, the other which copies over the war directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181268#4181268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet Instance Class Path
If originally left the jar files in the lib directory (I will explain below) and changed the version in the portal.xml file. I still got the same error "Failed to create instance...is not available". I then deleted the lib directory with the three jar files in it. I then get errors on my java code. package org.jboss.portal.portlet.samples; | import java.io.IOException; | import java.io.PrintWriter; | import javax.portlet.GenericPortlet; | import javax.portlet.RenderRequest; | import javax.portlet.RenderResponse; | | public class SimplestHelloWorldPortlet extends GenericPortlet | { |public void doView(RenderRequest request, |RenderResponse response) throws IOException |{ | PrintWriter writer = response.getWriter(); | writer.write("Hello World !"); | writer.close(); |} | } The GenericPortlet and RenderREquest canot be resolved. These are probabaly in the JBoss Portal. However, I'm trying to build the project with Eclipse IDE and I need to reference a jar file to elimiante the errors to get a clean build. I looked in the JBoss server directory for the jar file to use and I was going to reference it in my Eclipse project to get it to build w/o errors. Can you please direct me to the correct jar file in the jboss-portal-2.6.6 version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181267#4181267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Maybe one more information: My eclipse crashed today and I created a new workspace, otherwise it kept in an endless "build workspace" loop :-/ The problems occurs since the crash. I deleted all ".index" files in the workspace (a recommendation of a colleague, but doesn't help). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181266#4181266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Strange, strange... I installed a new eclipse with the plugin, there it worked... But no it broke again :-/ The exception appears in the log AND on the designer pane. No additional information in the logs. The processdefinition.xml is valid, it can even get deployed. I deleted the gpd.xml (which normally worked if you really get problems), but that doesn't change anything... Any further ideas what's wrong here? And sorry for not responding: Didn't watched the topic for replies! Changed :-) Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181263#4181263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: From WAR to EAR problem
As I understand jbossas 4 does fully support EE5 EAR apps ? ...maybe in jboss version 5 ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181262#4181262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze deployment
The problem occurs during richfaces 3.1.4 ( Ajax4jsf Filter ajax4jsf org.ajax4jsf.Filter ) deploy I created the new post on richfaceÅ' forum http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180851#4180851 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181261#4181261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Typical deployment packaging
I'm new to jbpm and am wondering how most users typically deploy their apps. Completely cool product, btw! So far I've deployed a couple of processes through the ide and have built a seam app that calls the CommandService EJB to fire off the processes. I repackaged the enterprise ear to contain my ActionHandlers. Is this a typical scenario? If not how does everybody else handle their deployments? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181260#4181260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM running on WebSphere 6
Have you seen this https://jira.jboss.org/jira/browse/JBPM-1179 ? I remember having struggled with this on Websphere, too, but as I'm a Websphere n00b, I quickly forgot how that endeavor ended. But maybe upgrading to jBPM 3.2.3 helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181258#4181258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Problem with XA and local transactions
Hello I have the following situation: Two Oracle (10g) database schemas (completely seperated with different username / password). I need a transaction over both schemas. To realize this I declared two datasources, one for each schema. When I use the tranaction everything seems to work just fine, but I find this warning in the log file: "Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure" I am new to XA transactions, so maybe my whole setup is wrong. Any idea what the problem could be here? Claus P.S. I use Spring for transaction configuration (rg.springframework.transaction.jta.JtaTransactionManager und declarative configuration via Spring AOP/AspectJ of the transactions). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181257#4181257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Performance Issue with JBOSS 4.2.0.GA
I advice you to try this solution. Install two Jboss in cluster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181255#4181255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Ejb3 + Hypersonic
Dear all, when I do some modifications on my ejb3 classes, every time I deploy the new version I completely lost all my data in Hypersonic, although I don't clean anything. At the moment, my ejb3 classes auto-generate the db schema. What is my error? How can I solve this situation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181254#4181254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181254 ___ 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 run JBOSS in developement mode
If you modify this those file .jsp .html you not need to restart your web-app. Else if you modify those file .class or jar, you need restart your web-app View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181252#4181252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: consume WS over https no longer works when upgraded to j
Hi Richard, Thanks for your reply. The certificate is valid till 2015. Here is the complete relevant server.log. I apologize ... its kind of long. | 2008-10-09 09:26:46,176 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] END: rebuildMetaData | | ServiceMetaData: | qname={http://www.covergence.com/ws/enms}EnmsService | refName=null | wsdName=null | wsdlFile=null | wsdlLocation=https://172.30.3.165:8443/enms?wsdl | jaxrpcMapping=null | publishLocation=null | securityConfig=null | properties=null | | TypesMetaData: | [types deleted to save space] | | | | ClientEndpointMetaData: | type=JAXWS | qname={http://www.covergence.com/ws/enms}EnmsPort | address=https://172.30.3.165:8443/enms | binding=http://schemas.xmlsoap.org/wsdl/soap/http | seiName=com.covergence.enms.ws.enms.EnmsPortType | configFile=META-INF/standard-jaxws-client-config.xml | configName=Standard Client | authMethod=null | properties={} | | OperationMetaData: | [ deleted to save space ...] | | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=PRE,info=[service={http://www.covergence.com/ws/enms}EnmsService,port={http://www.covergence.com/ws/enms}EnmsPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]] | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=POST,info=[service={http://www.covergence.com/ws/enms}EnmsService,port={http://www.covergence.com/ws/enms}EnmsPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]] | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=ENDPOINT,info=[service={http://www.covergence.com/ws/enms}EnmsService,port={http://www.covergence.com/ws/enms}EnmsPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]] | 2008-10-09 09:26:46,348 DEBUG [org.jboss.ws.core.jaxws.binding.BindingImpl] setHandlerChain: [] | 2008-10-09 09:26:46,363 DEBUG [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] No port configuration for: {http://www.covergence.com/ws/enms}EnmsPort | 2008-10-09 09:26:46,379 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: [EMAIL PROTECTED] (Thread WorkManager(2)-8) | 2008-10-09 09:26:46,379 DEBUG [org.jboss.ws.core.EndpointInvocation] setRequestParamValue: [name={http://www.covergence.com/ws/enms}BuildInfoRequest,value=null] | 2008-10-09 09:26:46,379 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] bindRequestMessage: {http://www.covergence.com/ws/enms}GetBuildInfo | 2008-10-09 09:26:46,426 DEBUG [org.jboss.ws.core.EndpointInvocation] getRequestParamValue: {http://www.covergence.com/ws/enms}BuildInfoRequest | 2008-10-09 09:26:46,426 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: null -> null | 2008-10-09 09:26:46,441 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2008-10-09 09:26:46,441 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2008-10-09 09:26:46,441 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2008-10-09 09:26:46,504 DEBUG [org.jboss.ws.core.client.HTTPRemotingConnection] Get locator for: [addr=https://172.30.3.165:8443/enms,props={javax.xml.ws.service.endpoint.address=https://172.30.3.165:8443/enms}] | 2008-10-09 09:26:46,551 INFO [STDOUT] *** | 2008-10-09 09:26:46,551 INFO [STDOUT] found key for : enms | 2008-10-09 09:26:46,551 INFO [STDOUT] chain [0] = [ | [ | Version: V1 | Subject: CN=Ajay Aggarwal, OU=Engineering, O=Covergence Inc, L=Maynard, ST=MA, C=US | Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4 | | Key: Sun RSA public key, 1024 bits | modulus: 135336373136823284036573815484343342565008025374091814025204081683765445376230127674060547973736495472759099093817474775862932201444169160885284203104742050967946148405471545575409318866162796027331160691774263742127257067118949215056575262792961372351224424297146533971169358204696870250445354754030489634449 | public exponent: 65537 | Validity: [From: Wed Mar 05 14:53:54 EST 2008, |To: Thu Mar 05 14:53:54 EST 2009] | Issuer: CN=Ajay Aggarwal, OU=Engineering, O=Covergence Inc, L=Maynard, ST=MA, C=US | SerialNumber: [47cefa52] | | ] | Algorithm: [MD5withRSA] | Signature:
[jboss-user] [Security & JAAS/JBoss] - Custom AuthorizationManager(Factory)
Hello, I have the following problem, with a JBoss Portal application. We've written a custom LDAP-based login module, to handle authentication. Now we'd like to restrict access to certain portal pages and portlets. The difficult part is, that our client wants to create (and remove) roles "on-the-fly" in a database structure, and they want to create permissions based on these roles, so one can see or can't see the requested resource (in this case: portlet page). They have a database structure which defines these roles, and their permissions (e.g: User with role "Manager" is able to access portlet page Admin, but later they'd like to add a role who can also access this page). So, as you can see the roles and permissions can't be hardcoded. I've studied the portal ref documentation and concluded that a custom PortalAuthorizationManager and PortalAuthorizationManagerFactory would be the easiest and most painless solution. Creating a custom checkPermission method to handle this task. So my questions: 1. Is this the "right" solution? Is it possible to provide my custom authorization manager? If not, please give me your opinions. 2. If this is correct, please direct me to some kind of detailed documentation for creating these classes. I've googled for hours and haven't stumbled upon any useful docs. 3. How would you handle this problem? Thanks in advance, Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181249#4181249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessagingXAResourceRecovery can not reconnect
Sorry for confusion, but I was trying to say that "server which hosts that resource" was restarted, not just stopped (kill server A and then start it again). And even after it is back, the server which runs the transaction would keep logging the warning. So I have both server up and running, my JMS listener reconnects, but recovery keeps saying it can not see resource any more. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181248#4181248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Initialize output - copy input name element to output
It is a strange new feature of BPEL. When I copy input variable like this schema | | | | into output variable of this schema | | | | I get strange mixed output | | | | It seems to attribute keepsrcelementname="yes" do it's work, but I don't use it. I even set up keepsrcelementname="no" but nothing changes. I spot this behaviour under jbpm-bpel-1.1.GA and ODE-1.2. I found some issue here http://markmail.org/message/ydo55at4mm7wg6zu. Is there way to make normal output? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181245#4181245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Initialize output - copy input name element to output
It is a strange new feature of BPEL. When I copy input variable like this schema into output variable of this schema I get strange mixed output It seems to attribute keepsrcelementname="yes" do it's work, but I don't use it. I even set up keepsrcelementname="no" but nothing changes. I spot this behaviour under jbpm-bpel-1.1.GA and ODE-1.2. I found some issue here http://markmail.org/message/ydo55at4mm7wg6zu. Is there way to make normal output? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181244#4181244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Simple SSL question
Can you be more precise the about the enviroment? Have u tried to set the security-constraint in web.xml to restrict user from directly access to JSP files and force user to use SSL connection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181243#4181243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem Starting RMI service
Sandyts, What commands do you use in order to get information from Jboss server? Tahnks, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181242#4181242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ManyToOne lazy initialization
Hi For the record, the problem was library conflict. Cheers, SiamaX View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181240#4181240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user