[jboss-user] [JBoss Seam] - Re: Seam & Maven2
I have seen it and tested it. I find it great that someone else already made something. The problem is that every Maven2, ready to go, solution that I found is incomplete. The following stuff is missing or anouyes me. - It misses several dependencies so that you really need to rebuild the POM files before you get, for example, UnitTesting to work. And they don't solve the dependency problems (thirdparty-all.jar). - I don't want to be dependent on a non-official, or non-JBoss, repository. What happens if they stop being available in a shot while... - The archetype generates only a complete project with one war, one jar and one ear file. There aren't any archetypes to create those part separately. - The archetype is only meant for a JBoss deployment. - They are already behind, because there aren't any Seam 1.1.0 GA, CR1, CR2 or other releases to be found. I feel like that there is some 'official' support needed for Maven2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994139#3994139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - how to get username of logged in user
Hello, I use authentication in my application this way: | Hashtable props = new Hashtable(); | | props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | props.put(Context.SECURITY_PRINCIPAL, user); | props.put(Context.SECURITY_CREDENTIALS, password); | props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory"); | props.put(Context.PROVIDER_URL, "jnp://" + readingPropertiesForConnection() + ":" + "1099"); | | Context ctx = new InitialContext(props); | | dispecerat = (DispeceratEntityManager) ctx.lookup("capitol/DispeceratEntityManagerBean/remote"); | and define the users and roles in the user.properties and roles.properties property files. What I want is to log user actions on the server which is running jboss. So in the business methods of my session bean I want to find out what user is requesting the operation to log the user requesting the operation. How could I do this? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994140#3994140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Use of EJB 3.0
Once you got any fruitful responses request you to publish the same in forums so that we all would be benefited. Rgds, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994141#3994141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Help! flushAuthenticationCache cann't work!
I use the following code to flush the role, but I use the request.isUserInRole('Anonymous'), the result is still true: | private void logout() throws Exception { | | String domainName = "EatOutDomain"; | | MBeanServer server = (MBeanServer) MBeanServerFactory | .findMBeanServer(null).get(0); | String jaasMgrName= "jboss.security:service=JaasSecurityManager"; | ObjectName jaasMgr = new ObjectName(jaasMgrName); | Object[] params = { domainName }; | String[] signature = { "java.lang.String" }; | List users = (List) server.invoke(jaasMgr, | "getAuthenticationCachePrincipals", params, signature); | | for (int i = 0; i < users.size(); i++) { | SimplePrincipal principal = (SimplePrincipal) users.get(i); | | | Object[] pParams = { domainName, principal }; | String[] pSignature = { "java.lang.String", "java.security.Principal"}; | server.invoke(jaasMgr, "flushAuthenticationCache", pParams, | pSignature); | There have only one principal "Anonymous" in domain, and I user getAuthenticationCachePrincipals to get the roles after call "flushAuthenticationCache", the prinipals all clearned. But, I use the request.isUserInRole("Anonymous") the result is always is true. How can I clean the request.isUserInRole()? And relogin into web site? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994143#3994143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager is loosing updates
Hi! Thanks a lot for your answer. I actually want not to update the entity from the second thread, but just be sure, that the entity I am reading is up-to-date. And, of course, @Version, optimistic locking does not help me in this case. In general, let's assume the following scenario. |* In some stateless bean we have the update() method: | | |... | |void update() { | |. | | entity.setName("Name"); | | manager.flush(); | | sendJMSNotification(); | |}; | | |* sendJMSNotification() is sending a message to the rich clients, that the entity was updated (in my case, the interceptor is doing it) |* the client is trying to call manager.find(...) from the same stateless bean, and receives an old data. | | |So, the main question is , if there is a possibility to get postCommit event? IMHO this is important, because the client may receive the notification and in theory, the client does NOT have to access the EJB server, but the database directly. The good example would be a reporting tool, which is refreshing the data after receiving the notification. | | Even If I am implementing manager.lock( entity, LockType.READ ), I think it does not work properly in this case - after flush() method the lock is gone. | | The only workaround I see is to use the direct JDBC calls, but then it does not make sence to use EJB and Persistence API to work with database. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994144#3994144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss 5.0beta1: JMS with PostgreSQL
After unzipping the archive I modified ejb3-timer-service.xml. There was no problem (changes see below). However, I get these error messages in the PostgreSQL console regarding JMS. ERROR: syntax error at or near "(" at character 74 | STATEMENT: CREATE TABLE JMS_TRANSACTION (TRANSACTIONID BIGINT, BRANCH_QUAL VARBINARY(254), FORMAT_ID INTEGER, GLOBAL_TXID VARBINARY(254), PRIMARY KEY (TRANSACTIONID)) | | ERROR: syntax error at or near "(" at character 283 | STATEMENT: CREATE TABLE JMS_MESSAGE (MESSAGEID BIGINT, RELIABLE CHAR(1), EXPIRATION BIGINT, TIMESTAMP BIGINT, PRIORITY TINYINT, COREHEADERS LONGVARBINARY, PAYLOAD LONGVARBINARY, CHANNELCOUNT INTEGER, TYPE TINYINT, JMSTYPE VARCHAR(255), CORRELATIONID VARCHAR(255), CORRELATIONID_BYTES VARBINARY(254), DESTINATION_ID BIGINT, REPLYTO_ID BIGINT, JMSPROPERTIES LONGVARBINARY, PRIMARY KEY (MESSAGEID)) Where can I find these table definitions in 5.0beta1? Any hint is appreciated! Changes made in ejb3-timer-service.xml: HSQLDBDelegate -> PostgreSQLDelegate | qrtz_job_details: BINARY -> oid | qrtz_triggers: BINARY -> oid |IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean | qrtz_blob_triggers: BINARY -> oid | qrtz_calendars: BINARY -> oid View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994145#3994145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Basic Seam questions
I have some questions about the responses above, but to have a better understanding leading up to it, I need to figure some things out about conversations. >From the Seam FAQ: anonymous wrote : Most other web frameworks store all application state in the HTTP session, which is inflexible, difficult to manage and a major source of memory leak. Seam can manage business and persistence components in several stateful scopes: components that only need to live across several pages are placed in the conversation scope; components that need to live with the current user session are placed in the session scope anonymous wrote : Seam supports fine-grained user state management beyond the simple HTTP session. It isolates and manages user state associated with individual browser window or tab (in contrast, HTTP session is shared across all windows of the same browser). What is the conversation equivalent of an HTTP session? Where and how is this conversation information actually stored? How does Seam know that a new tab or window has been opened...I haven't been able to figure it out at all, but it almost seems like magic. I believe it happens with both client- and server-side state-saving. In both cases, how does it actually know of and keep track of all different conversations? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994147#3994147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Destination is not an instance of SpyDestination JBossQueue
anyway queue is coming correctly.while sending the messages do to the queue i am getting exception. | | Properties env = new Properties();env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming rg.jnp.interfaces"); env.put(Context.PROVIDER_URL, "172.16.7.12:1099"); Context remoteCtx = new InitialContext(env);Queue queue = (Queue)remoteCtx.lookup("queue/testQueue"); QueueConnectionFactory queueFactory =(QueueConnectionFactory)remoteCtx.lookup("ConnectionFactory"); queueConnection = queueFactory.createQueueConnection(); QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); QueueSender queueSender = queueSession.createSender(queue); TextMessage message = queueSession.createTextMessage(); message.setText(Long.toString(2));queueSender.send(message); | | this is the log file i am getting; | 2006-12-15 13:41:55,883 INFO [STDOUT] queue=JBossQueue[testQueue]2006-12-15 13:41:55,883 INFO [STDOUT] [EMAIL PROTECTED] 13:41:55,883 INFO [STDOUT] [EMAIL PROTECTED] dest=JBossQueue[testQueue] delivery=persist priority=4 ttl=0 disableMessageID=false disableTS=false [EMAIL PROTECTED] ack=AUTO txid=null RUNNING [EMAIL PROTECTED]:ID:3/e754023924168169359317b4cb79f038 rcvstate=STOPPED]]]2006-12-15 13:41:55,883 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sample].[jsp]] Servlet.service() for servlet jsp threw exceptionjavax.jms.InvalidDestinationException: Destination is not an instance of SpyDestination JBossQueue[testQueue] at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:225)at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:199)at org.apache.jsp.UploadSessionBean_jsp._jspService(org.apache.j! sp.UploadSessionBean_jsp:83) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(Sta! ndardWrapperValve.java:213)at org.apache.catalina.core.StandardContex tValve.invoke(StandardContextValve.java:178)at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveW! orkerThread.java:112) at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994148#3994148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: how to get username of logged in user
In your session bean you can use the following to the user name: | ejbContext.getCallerPrincipal() | To get the EJB context you can inject it using: | @Resource | SessionContext ejbContext; | You should really consider using an interceptor to perform audit logging to keep your business logic clean. /Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994149#3994149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Weather Portlet
It's using the portlet preferences. See the spec. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994150#3994150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Are there performance numbers available comparing MQ vs
Here are some old results: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingPerformanceResultsPre1_0_1_RC4 For 1.2, the codebase is currently unoptimised, so you will probably find it quite slow. Optimisation will happen before the GA release (Q1 2007), and we will get some new figures for then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994151#3994151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager is loosing updates
In addition to, I have the following question. If I am calling my update() method from the client, may I be sure that after this call from the same client from the same thread I will NOT receive the old data? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994153#3994153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss 5.0beta1: JMS with PostgreSQL
You need to deploy the correct persistence manager config for postgresql. Please see the users guid for more details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994154#3994154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: javax.jms.InvalidDestinationException: Destination is no
javax.jms.InvalidDestinationException: Destination is not an instance of SpyDestination JBossQueue[t estQueue] SpyDestination is a JBossMQ class, not JBoss Messaging. You are probably trying to use a JBossMQ client to talk to JBoss Messaging. I suspect you haven't uninstalled JBossMQ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994155#3994155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Run-time mapping problem (4.0.3)
I'm working on a project that's using JBoss 4.0.3. This version does not come with "wstools". The documentation talks about using JWSDP's "wscompile", but that gave me some exceptions (no public constructors on some of the enum-type classes), so I'm using "wstools" from an installation of the latest JBoss and WS addon. So, I've got my soap definition xml file and have used wstools to generate my wsdl and my mapping xml files. I've added the dummy servlet definition to web.xml and have also created the webservices.xml file that refers to my mapping file. The server now exposes the wsdl under ?wsdl which is good. I've imported this into VS.NET and am trying to call the method. I get a mapping exception. I had to use "document" style SOAP rather than "rpc" because VS2003 could not understand the WSDL when I tried "rpc". So I'm trying to work out what's happening with my mapping. Note that the file is not called "jaxrpc-mapping.xml", I've prefixed it with something else, but I've checked that it's in WEB-INF and my WEB-INF\webservices.xml file refers to the correctly named mapping file. Any suggestions? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994157#3994157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss 5.0beta1: JMS with PostgreSQL
That's the datasource config, I'm referring to the persistence manager config. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994158#3994158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss 5.0beta1: JMS with PostgreSQL
I'm pretty sure that server/deploy/postgres-ds.xml is correct (same contents used for JBoss 4.0.5 without any problems). | | DefaultDS | jdbc:postgresql:jbossdb | org.postgresql.Driver | jboss | jboss | TRANSACTION_REPEATABLE_READ | 1 | 3 | | PostgreSQL | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994156#3994156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.1 on WebLogic 9
Hello Seam/JBoss-Team, I'm interested in the deployment and integration details of running Seam applications within WebLogic 9. How far is the integration between the application's Seam runtime and the WebLogic server? Can a WL-deployed Seam application use any WL-Resources such as DataSource/ConnectionPool/JNDI/JMS-Queue/etc. from the WL server? Or (for example) do I have to configure the DB connection settings within the application's Seam configuration, separate from the WL configuration? I assume that I don't have to change/adjust any (global) configuration of the WL server when deploying a Seam-based application (aside from the regular application deployment process), since it is just a "plain-vanilla" J2EE app from the deployment point of view. Is that correct? Also are there any points where the application development with Seam is constrained when targeting the WL 9 platform for a deployment? Best Regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994159#3994159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();
Could you please give me more information on your application? This way, I'll be able to reproduce the problem and trace the error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994160#3994160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Java Client of Embedded EJB3 into Tomcat5.5.20 problem
I have spent whole week to research the embedded EJB3 java client. Please, give me a reply about whether it's prossible or not. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994161#3994161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Jbpm on Tomcat 5.5
I am trying to run Jbpm on Tomcat 5.5. I have done these steps, but I have some questions: Steps (1) Download jbpm-starters-kit-3.1.1 from Jboss site (2) Deploy jbpm-starters-kit-3.1.1\jbpm-server\server\jbpm\deploy\jbpm.war into tomcat webapps. (3) Copy hibernate.cfg.xml from jbpm-starters-kit-3.1.1\jbpm\src\config.files to ur /WEB-INF/classes/ (4) Run ant task for creating database tables and data from jbpm-starters-kit-3.1.1\jbpm\build.deploy.xml ( ant create.db ?buildfile build.deploy.xml) (5) Add few jars to lib folder of your application. (6) Start tomcat. (7) Start jbpm application. Questions * On the step (2), I have copied the "jbpm-starters-kit-3.1.1\jbpm-server\server\jbpm\deploy\jbpm.war" on tomcat webapps. Is it correct? * When I run the jbpm application I obtain this error on the tomcat logs. I don't know why success...: javax.faces.FacesException: Cannot get value for expression '#{userBean.userSelectItems}' at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:39 at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670) at org.apache.jsp.index_jsp._jspService(index_jsp.java:46) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994162#3994162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NullPointer for SeamSelectItems config
I'm getting the error: java.lang.NullPointerException | at org.jboss.seam.selectitems.ui.UISeamSelectItems.isCache(UISeamSelectItems.java:64) | at org.jboss.seam.selectitems.ui.UISeamSelectItems.evaluateCacheKey(UISeamSelectItems.java:277) | at org.jboss.seam.selectitems.ui.UISeamSelectItems.isCacheEnabled(UISeamSelectItems.java:273) | at org.jboss.seam.selectitems.ui.UISeamSelectItems.getValue(UISeamSelectItems.java:193) | at org.apache.myfaces.trinidadinternal.renderkit.uix.SelectItemSupport.addSelectItems(SelectItemSupport.java:270) | at org.apache.myfaces.trinidadinternal.renderkit.uix.SelectItemSupport.getSelectItems(SelectItemSupport.java:90) | at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.encodeAllAsElement(SimpleSelectOneRenderer.java:255) | at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.encode When using the select items tag as follows: | | It was working fine just before, so it's probably something small. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994163#3994163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 on WebLogic 9
anonymous wrote : Can a WL-deployed Seam application use any WL-Resources such as DataSource/ConnectionPool/JNDI/JMS-Queue/etc. from the WL server? Sure, ofcourse! anonymous wrote : I assume that I don't have to change/adjust any (global) configuration of the WL server when deploying a Seam-based application (aside from the regular application deployment process), since it is just a "plain-vanilla" J2EE app from the deployment point of view. Is that correct? Right, its just a WAR. anonymous wrote : Also are there any points where the application development with Seam is constrained when targeting the WL 9 platform for a deployment? You can't use EJB3. Have you looked at the examples yet? the "jpa" and "hibernate2" examples both deploy on WL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994164#3994164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Facelets error
I get this error when Initializing a seam-gen generated application. I deployed the application on JBoss AS 5.0.0Beta1. Are there any workaround for this? It seems the error is harmful. 17:08:38,485 ERROR [STDERR] Dec 15, 2006 5:08:38 PM com.sun.facelets.compiler.Ta | gLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/d | efault/deploy/seam.ear/seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html. | taglib.xml | 17:08:38,495 ERROR [STDERR] Dec 15, 2006 5:08:38 PM com.sun.facelets.compiler.Ta | gLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/d | efault/deploy/seam.ear/seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.t | aglib.xml | 17:08:38,595 ERROR [STDERR] Dec 15, 2006 5:08:38 PM com.sun.facelets.compiler.Ta | gLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/d | efault/deploy/seam.ear/seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core. | taglib.xml | 17:08:38,605 ERROR [STDERR] Dec 15, 2006 5:08:38 PM com.sun.facelets.compiler.Ta | gLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/d | efault/deploy/seam.ear/seam.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam.tag | lib.xml | 17:08:38,625 ERROR [STDERR] Dec 15, 2006 5:08:38 PM com.sun.facelets.compiler.Ta | gLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/d | efault/deploy/seam.ear/seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core | .taglib.xml | 17:08:38,645 ERROR [STDERR] Dec 15, 2006 5:08:38 PM com.sun.facelets.compiler.Ta | gLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/d | efault/deploy/seam.ear/seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.ta | glib.xml | Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994166#3994166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();
I have the main application in a file FileFinder.java that use a logger object to log its operations into a file. The FileFinder build this log object in a method init() and I want to create an aspect for logging interception that is able to intercept the log object build in method init() of FileFinder class and use this object to log operations. A part of FileFinder.java code is: public class FileFinder { private SqlMapClient sqlMapClient; private Log log; private IniReader ini; private InstanceManager instanceManager; private SessionTask sessionTask; private int errorReq = 0; private int discardedReq = 0; private static final String className = "FileFinder"; /** * @throws DeferredException * */ public FileFinder() throws DeferredException { init(); } /** * @throws DeferredException * */ private void init() throws DeferredException { String proc = className + ".init()"; try { ini = new IniReader(Env.getSqtpHome() + "etc/aicagw.properties"); log = new Log(ini); log.logInit("AICAGW.FILEFINDER","BATCH"); log.setPid(); logInfo(proc,"START"); long startTime = System.currentTimeMillis(); //creazione file gestione esecuzione singola istanza del batch String workingFolder = ini.getPrivateProfileString("AICAGW.COMMON","WORKINGFOLDER","/"); String instancefileName = "fileFinder"; logInfo(proc,"file per gestione esecuzione singola istanza del batch: " + workingFolder + "/" + instancefileName); instanceManager = new InstanceManager(workingFolder,instancefileName); //creazione sessione sessionTask = new SessionTask(log); sessionTask.setSessionName(""+startTime); //accesso a db tramite iBatis sqlMapClient = SqlMapClientConfig.getClient("AICAGW", "BATCH"); logInfo(proc,"END"); } catch (Exception e) { DeferredException de = CommonDeferred.wrapException(e); logErr(proc, de.toString()); throw de; } } //... and some other methods } A part of LogAspect.java code is: public class LogAspect { private static final String className = "LogAspect"; private static final String DBG_ERROR = "ERROR"; private static final String DBG_WARNING = "WARNING"; private static final String DBG_INFO = "INFO"; private static final String DBG_TRACE = "TRACE"; private String propertyFile; private Log log; private IniReader ini; /* private void init() throws Exception { String proc = className + ".init()"; try { ini = new IniReader(Env.getSqtpHome() + "etc/" + propertyFile); log = new Log(ini); log.logInit("AICAGW.FILEFINDER","BATCH"); log.setPid(); } catch (IOException e) { logErr(proc, e.getMessage()); throw e; } } */ public void setPropertyFile(String propertyFile) { this.propertyFile = propertyFile; } public void setLog(Log log) { this.log = log; } public String getName() { return "LogAspect"; } public Object getLogger(Invocation invocation) throws Throwable{ try{ System.out.println("INGRESSO nel getLogger()"); if (invocation instanceof FieldWriteInvocation) { FieldWriteInvocation fieldInvocation = (FieldWriteInvocation)invocation; setLog((Log)fieldInvocation.getValue()); } else System.out.println("Unknown Invocation!!"); return invocation.invokeNext(); } finally { System.out.println("USCITA dal getLogger()"); } } public Object trace(Invocation invocation) throws Throwable{ String proc = className + ".trace()"; long startTime = System.currentTimeMillis(); logInfo(proc, "START"); logTrace(proc, invocationTypeValue(invocation)); Object response = null; try { response = invocation.invokeNext(); return response; }catch(Throwable t) { long endTime = System.currentTimeMillis(); long elapsedTime = endTime - startTime; logErr(proc, t.getMessage() + " - Tempo di esecuzione (ms): " + elapsedTime);
[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();
I rewrite the jboss-aop.xml file because I failed to insert its code: aicagw.properties The error happens when I declare a pointcut expression like this: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994167#3994167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();
I rewrite the jboss-aop.xml file because I failed to insert its code: | | | | | | | | | aicagw.properties | | | | | | | | | | | | | The error happens when I declare a pointcut expression like this: | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994169#3994169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();
I rewrite the jboss-aop.xml file because I failed to insert its code: | | | | | | | | | aicagw.properties | | | | | | | | | | | | | The error happens when I declare a pointcut expression like this: | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994168#3994168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets error
Ignore it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994170#3994170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @IfInvalid is out, so?
Propably this is more of a JSF question, but is there any chance to avoid the jsf error message, which will be shown when the input field is emtpy and required="true" ? With s:validate and required="true" you actually get a "two-step" validation: First all fields with required="true" are checked and standard jsf error messages are shown. Second the hibernate validations are checked. What I would like to see is that only the error messages from the hibernate validations are shown, which was the behaviour with the @IfInvalid annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994171#3994171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm webapp login
For example: In userBean.java I have rewrote the return value of function named getUserName() from variable userName to string "test" and rebuild it. The header1.jsp in jbpm.war use this Bean and this function "You are logged in as <%= userBean.getUserName() %>". But this function print the username instead of "test". So, I don't understand, how can I get the UserBean. Thank You for reply! Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994172#3994172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: 401 error on selecting dashboard....
Thanks for that, I can't believe a role is hardcoded in there! :) I wonder how other people have dealt with this if they have used AD/LDAP to hold the roles for the portal? You can't be expected to create a role in the AD of an organisation called Admin! All the best View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994173#3994173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Upgrading 4.0.4 to 4.0.5
Looks like you are using stale sampeles. Where did you get those? The current AS versions ship with JBossWS a replacement for the Axis based one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994174#3994174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Classcast exception in LoginContext.getAttributeNames()
I've patched, tested, and uploaded it to the JIRA task. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994175#3994175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Basic Seam questions
anonymous wrote : Where and how is this conversation information actually stored? By default it is actually stored in the session, but in an isolated way - a kind of "mini session" scoped just to the conversation. And then we have a timeout operating upon this. anonymous wrote : How does Seam know that a new tab or window has been opened...I haven't been able to figure it out at all, but it almost seems like magic. Seam keeps the conversation id in the JSF component tree (and in the URL, for bookmarkable pages) and passes it as a request parameter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994176#3994176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Basic Seam questions
anonymous wrote : I believe it happens with both client- and server-side state-saving. Right, both work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994177#3994177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 1.0.4 compatibility issues with Java SE 6.0?
It's not yet been tested. Our current target JDK are 1.4 and 1.5. I guess JBossWS will not be the only component affected by this upgrade. However it would interesting if you could share your experiences with us here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994178#3994178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam redirect
How can I let Seam redirect to an external URL? Thanks Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994179#3994179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss 5.0beta1: JMS with PostgreSQL
Got it. The problems regarding JMS are solved. Just a hint: examples/config for JBoss Messaging is missing in JBoss 5.0beta1. After downloading JBoss Messaging I could use examples/config/postgresql-persistence-service.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994180#3994180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released
I have bought the book and downloaded the PDF. Is it possible to run the samples in the NetBeans IDE? I can deploy to JB 4.0.5 GA but I did not manage to create a NetBeans Project ? Can anybody help me with this? Tom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994181#3994181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam redirect
Use the JSF ExternalContext View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994182#3994182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss 5.0beta1: ejb3-timer-service.xml with PostgreSQL
In ejb3-timer-service.xml I made these changes:HSQLDBDelegate -> PostgreSQLDelegate | qrtz_job_details: BINARY -> oid | IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean | qrtz_triggers: BINARY -> oid | IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean | qrtz_blob_triggers: BINARY -> oid | qrtz_calendars: BINARY -> oid | qrtz_fired_triggers: IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean |REQUESTS_RECOVERY VARCHAR(1) -> REQUESTS_RECOVERY boolean When starting JBossAS I get this error message and stack trace although server/default/deploy/postgres-ds.xml defines DefaultDS:2006-12-15 11:24:27,882 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.ejb:persistencePolicy=database,service=EJBTimerService state=Create mode=Manual requiredState=Installed | java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=DefaultDS,service=metadata | at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(GeneralPurposeDatabasePersistencePlugin.java:101) | at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:92) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184) | at $Proxy0.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.start(ServiceController.java:431) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) | at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) | at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) |
[jboss-user] [JBoss Portal] - Re: 401 error on selecting dashboard....
You are mixing application roles and user roles. Your defined roles to your users, let's say "Managers" and then you need to map those roles to the application roles (here "Admin"). See JAAS and the portlet spec to see how you can map your roles (This is not the best design here though since you need to modify internal configuration files but you don't need to touch the java file) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994184#3994184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices
I agree - the state of EJB unit testing does seem to be a bit depressing. A lot of these projects are dormant. We're using MockEJB for some out of container testing of EJBs here, though we don't do anything too complex. It may be that it doesn't have the feature you need. A forum post indicated that somebody was working on it this summer but nothing seems to have come from that. Cactus is overkill for what we need and from past experience doesn't fit well with our home grown build scripts. The advantage to that kind of in-container test is it can check deployment descriptors etc. Let us know if you find anything more useful out there :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994185#3994185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Problems in Active Directories Creation
Hi all, I have a requirement to creat Active Directory in JBoss. This is my Login-cofig.xml for the same. Please can anyone correct the same, as i am reporting errors on connection. ldap://cscadc001:1389/ cn=Senthilkumar_Ponnusami,ou=Users,ou=csc,ou=chn,ou=india,dc=corp,dc=satyam,dc=ad false @corp.satyam.ad sp48553 memberOf true name AuthUser I am getting the following exception while using the above configuration. 16:20:50,617 WARN [UDP] packet from /172.18.94.230:1137 has different version ( 0227?) from ours (02271). This may cause problems 16:20:50,617 ERROR [UDP] exception=java.io.StreamCorruptedException: invalid str eam header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737 ) at java.io.ObjectInputStream.(ObjectInputStream.java:253) at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:670) at org.jgroups.protocols.UDP.run(UDP.java:249) at java.lang.Thread.run(Thread.java:534) Along with the invalid Authentication error. Can anyone come up with a solution for the above issue. Thanks Raj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994186#3994186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam redirect
I already tried this. I think I haven't expressed exactly. To specify my problem: I use a Servlet which reacts on *.gge. When I now try to redirect, SeamRedirectFilter (as defined in web.xml) always cuts my extension and adds the defined one. It would be great, if you could define an extension-exclude paramter for the SeamRedirectFilter in web.xml. Is that possible? Or do you have another idea? Thanks, Gavin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994187#3994187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message driven bean listening to remote topic
Hello I need to listen to a jms topic that is running on a weblogic server. Is it possible for a message driven bean running inside jboss to listen to this topic, running on another application server ? If it is possible are there any examples I can look at that does this ? Thank You. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994188#3994188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.05 and Hibernate 2
Yes please post the stacktrace error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994189#3994189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam redirect
Please report this in JIRA, that should not happen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994190#3994190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: life cycle methods seems to be called twice in rc 9.
I get this too - my @Service bean is stopped and destroyed, and then it tries again: | 10:55:50,687 INFO [BounceMailServiceImpl] Service destroyed | 10:55:50,687 WARN [ServiceDelegateWrapper] Stopping failed jboss.j2ee:ear=landmark.ear,jar=landmark.jar,name=BounceMailServiceImpl,service=EJB3 | java.lang.RuntimeException: javax.management.InstanceNotFoundException: landmark:service=BounceMailService is not registered. | at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:159) | at org.jboss.ejb3.service.ServiceContainer.stop(ServiceContainer.java:166) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.ServiceDelegateWrapper.stopService(ServiceDelegateWrapper.java:118) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247) | at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.stop(Unknown Source) | at org.jboss.system.ServiceController.stop(ServiceController.java:508) | at org.jboss.system.ServiceController.stop(ServiceController.java:499) | at org.jboss.system.ServiceController.stop(ServiceController.java:499) | at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.stop(Unknown Source) | at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:336) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.stop(Unknown Source) | at org.jboss.deployment.XSLSubDeployer.stop(XSLSubDeployer.java:202) | at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667) | at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:659) | at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:659) | at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638) | at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:632) | at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:615) | at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Refle
[jboss-user] [JBoss Portal] - Re: 401 error on selecting dashboard....
Hey, I was previously using the built in HSQL db, so to test out whether the db config was causing the security issues I swapped the portal datasource to MSSQL, when the portal rebuilt the db I can now access all portlets in the admin page, with the exception of the Role Portlet, which fits with Peter's comment that the portlet has a hard coded role in there and the existing db config meant the changed -object.xml's settings were being ignored. So, I am very close to having what I want! :) Thomas, I'm not sure I follow your point? I don't want application roles and user roles. I want one set of roles (groups), configured in AD to place users in so they have access to portal resources. The way I am doing that is working fine; my custom AD module gets the roles the user belongs to on login and they are used to protect/grant access to the appropriate resources in the portal. The problem is the hard coded role in the role portlet? If you could elaborate that would be great. I will however look in to JAAS and its use in portlets :) Thanks, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994192#3994192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - How to get the LDAP user Listing
Hi All, Can anyone let me know how to check the list of Active Directory(LDAP) users. Thanks Raj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994193#3994193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NullPointer for SeamSelectItems config
No worries, it seems one of my colleagues decided to remove the config reference from the components.xml without telling me. Problem gone. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994194#3994194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Configuration of EJB
Hello all, Actually, I am new to JBoss, and I am unable to find a document that can help me with administration like tasks on EJB, currently I am working on EJB 3.0 and I really need some help regarding: 1) How can I limit the no of maximum instances container can create for a bean. 2) Where exactly can I see, which JNDI is bound to which bean. I'd really appreciate if someone could help me with above issues. and refer me to some document which could further help me. Thanks & Regards, Varun Narang. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994195#3994195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager is loosing updates
Hibernate provides both Interceptors and Event listeners - they should do the trick, as long as you dont mind using non-JPA features View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994196#3994196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released
"bednarz" wrote : I have bought the book and downloaded the PDF. | | Is it possible to run the samples in the NetBeans IDE? I can deploy to JB 4.0.5 GA but I did not manage to create a NetBeans Project ? | | Can anybody help me with this? | | Tom Hi Tom, maybe this helps you getting a basic seam projects started in netbeans, this was mostly thought as a reminder for me, but maybe it's helpful. http://www.coffeecrew.org/docs/netbeansFaceletsSeamEjb3.pdf Jens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994197#3994197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam redirect
OK. Thank you so far. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994198#3994198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 & SeamSecurity...
Hi Shane!, I found on jira page, info about Seam Security...but I'm intrested about one think:<<== how can we use it? In seam 1.1.0 Beta 1 was one simple example of SeamSecurity app, but I can't find use of there. Thanks... By the way, is somewhere page with full info about Seam Security, with examples or we must wait for full doc in Seam 1.1.5? Regards! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994199#3994199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem to load classes
yes, i restarted the deployment. in my application the use cases should be (to start with) 1) user login 2) register new logs the user login case seam to be fine, but the register log part are not working!! for one that the new log table are not created, and input text fields do not work. i can see the 'name' of each input field, BUT you can enter anything there, basically you got list of input fields titiles please give me a hint: many thanks in advance!!!" here are some codes __ log.java package com.omxgroup.oith; import java.io.Serializable; import javax.persistence.GeneratedValue; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.validator.Length; import org.hibernate.validator.NotNull; import org.jboss.seam.annotations.Name; @Entity @Name("omxlog") @Table(name="OMXLogs") public class OMXLog implements Serializable { private Long id; private String logName; private String customerName; private String errorType; private String causingReason; private String involvementInformation; private String afflictedParts; private String estimatedCost; private String logDescription; private static final long serialVersionUID = 1881413500711441955L; public OMXLog(String logName, String customerName, String errorType, String causingReason, String involvementInformation, String afflictedParts, String estimatedCost, String logDescription) { this.logName = logName; this.customerName = customerName; this.errorType = errorType; this.causingReason = causingReason; this.involvementInformation = involvementInformation; this.afflictedParts = afflictedParts; this.estimatedCost = estimatedCost; } public OMXLog() {} @Id @GeneratedValue public Long getId() { return id; } public void setId(Long id) { this.id = id; } @Id @NotNull @Length(min=5, max=15) public String getLogName() { return logName; } public void setLogName(String logName) { this.logName = logName; } @Length(max=100) @NotNull public String getCustomerName() { return customerName; } public void setCustomerName(String customerName) { this.customerName = customerName; } @Length(max=100) @NotNull public String getErrorType() { return errorType; } public void setErrorType(String errorType) { this.errorType = errorType; } @Length(max=1000) @NotNull public String getCausingReason() { return causingReason; } public void setCausingReason(String causingReason) { this.causingReason= causingReason; } @Length(max=1000) @NotNull public String getInvolvementInformation() { return involvementInformation; } public void setInvolvementInformation(String involvementInformation) { this.involvementInformation = involvementInformation; } @Length(max=100) @NotNull public String getAfflictedParts() { return afflictedParts; } public void setAfflictedParts(String afflictedParts) { this.afflictedParts = afflictedParts; } @Length(max=100) @NotNull public String getEstimatedCost() { return estimatedCost; } public void setEstimatedCost(String estimatedCost) { this.estimatedCost = estimatedCost; } @Length(max=2000) @NotNull public String getLogDescription() { return logDescription; } public void setLogDescription(String logDescription) { this.logDescription = logDescription; } } --- LogRegister.java package com.omxgroup.oith; import javax.ejb.Local; @Local public interface LogRegister { public String logregister(); } --- LogRegisterAction.java //Author JOXI //OMX Developer //Date: 2006-12-06 package com.omxgroup.oith; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; im
[jboss-user] [JBoss Seam] - Re: problem to load classes
you can NOT enter anything in the input text fields, that is the prlblem with the logRegister.xhtml part of the log file: adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.LogRegisterAction [EMAIL PROTECTED] 2006-12-15 10:44:56,906 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.LogRegisterAction [EMAIL PROTECTED] 2006-12-15 10:44:56,921 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=LogRegisterAction, class=com.omxgroup.oith.LogRegisterAction, type=STATELESS 2006-12-15 10:44:56,921 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : LogRegisterAction 2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.RegisterAction [EMAIL PROTECTED] 2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.RegisterAction [EMAIL PROTECTED] 2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=RegisterAction, class=com.omxgroup.oith.RegisterAction, type=STATELESS 2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : RegisterAction 2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,015 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,062 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 2375 2006-12-15 10:44:57,062 DEBUG [org.jboss.ejb3.Ejb3Module] Created jboss.j2ee:service=EJB3,module=notesproject.jar 2006-12-15 10:44:57,062 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB3,module=notesproject.jar dependents are: [] 2006-12-15 10:44:57,062 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying notesproject.jar 2006-12-15 10:44:57,062 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/notesproject.war/ 2006-12-15 10:44:57,062 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorJSE] create: file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/notesproject.war/ 2006-12-15 10:44:57,062 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] create, notesproject.war 2006-12-15 10:44:57,062 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=notesproject.war,id=820755055 2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [] 2006-12-15 10:44:57,078 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=notesproject.war,id=820755055 2006-12-15 10:44:57,078 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=notesproject.war,id=820755055 2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=notesproject.war,id=820755055 dependents are: [] 2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying notesproject.war 2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EARDeployment,url='notesproject.ear' 2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.EARDeployment] Creating jboss.j2ee:service=EARDeployment,url='notesproject.ear' 2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.EARDeployment] Created jboss.j2ee:service=EARDeployment,url='notesproject.ear' 2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EARDeployment,url='notesproject.ear' dependents are: [] 2006-12-15
[jboss-user] [JBoss Seam] - @DataModel outjection problem
I have one field outjected by @DataModel annotation on SFSB on a long conversation. This field is a List of Entity Beans (query populated). When user click to add, I put a new instance on list and outject this instance for editing. On save action, I persist this instance and query again, but the equals/hash don't change because database id isn't relevant for equality. When user try edit this entry, save duplicate the entry (just in this case). I figured out the problem is (from @DataModel JavaDoc): anonymous wrote : | (...) Note that the List, Map, Set or array will be re-wrapped and re-outjected each time the current component value is different to the value held by the context variable as determined by calling equals() on the underlying collection. | (...) | My solution was: (before query again on save) | Contexts.getConversationContext().remove("myList"); | //... | Is possible do this simpler or more manageable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994202#3994202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ClassCastException
Hi, This would have been asked before but i could find the right thread which gives a solution to the following problem. I use - 1)netBeans 5.5 to devlop and deploy EJB's 2)jdk1.4 Problem: A stateful session bean with the following : 1)jboss.xml EnrollmentCartBean ejb/ECB 2)ejb-jar.xml EnrollmentCart EnrollmentCartBean com.testpack.stateful.EnrollmentLocalHome com.testpack.stateful.EnrollmentLocal com.testpack.stateful.EnrollmentCartBean Stateful Container *** the tag is not getting displayed in here !!! strange 3) servlet code that tries to use the bean InitialContext ictx = new InitialContext(); Object o = ictx.lookup("ejb/ECB"); // Object o = ictx.lookup("ECB"); throws name not bound log.debug("object after look up:"+o); //** debug statement EnrollmentLocalHome home = (EnrollmentLocalHome)o; EnrollmentLocal ejbObject = home.create("client"); I get the following erors 2006-12-15 11:51:36,781 DEBUG [com.testpack.webutil.Enroller] object after look up:ejb/ECBHome 2006-12-15 11:51:36,781 ERROR [STDERR] java.lang.ClassCastException: $Proxy57 2006-12-15 11:51:36,781 ERROR [STDERR] at com.testpack.webutil.Enroller.processRequest(Enroller.java:55) 2006-12-15 11:51:36,781 ERROR [STDERR] at com.testpack.webutil.Enroller.doPost(Enroller.java:99) 2006-12-15 11:51:36,781 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 2006-12-15 11:51:36,781 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 2006-12-15 11:51:36,781 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 2006-12-15 11:51:37,062 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 2006-12-15 11:51:37,062 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) Any help would be highly appreciated !!! Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994203#3994203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SeamSelectItems - 1.1.1beta4
http://wiki.jboss.org/wiki/attach?page=SeamSelectItemsNewDesign%2Fselectitems-1.1.1beta4.zip I've updated this package, for now marked as a draft release (there are quite a few changes to the core code and I would like to get feedback). To upgrade As long as you are using a SMPC called entityManager (i.e. you do @In(create=true) EntityManager entityManager; normally), you can just update the jars and delete |... | from components.xml. If you use a different SMPC (e.g. called em - @In(create=true) EntityManager em;) then you'll need to let SeamSelectItems know about it: |#{em} | (n.b. the change from component class= to component name=) Post any problems here. The docs have also been updated http://www.jboss.com/wiki/Edit.jsp?page=SeamSelectItemsNewDesign Changes * BUG Remove need for id equality * BUG Remove need to configure persistenceUnitJndiName - The EntityConverter now uses the same SMPC as is used in the rest of the applicaiton. - If the SMPC is called entityManager (as generated by seam-gen) no configuration is needed, otherwise it must be configured in components.xml - Can no longer set persistenceUnitJndiName on si:convertEntity * Remove @SelectItems annotation * FEATURE Can now outject an array or DataModel (using @DataModel) as the list of selectitems * BUG Automatically instatiate SelectItemsConfig * BUG Don't error if @Entity is missing, on entity class, but, if cannot find @Id notify the user that @Entity is missing (due to Seam proxying) * BUG Fix ResourceNotFoundException thrown if an error is to be displayed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994204#3994204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @Enumerated with non-ordinal enumeration
You have misunderstood the way it works. What if you had multiple attributes, like MALE("M", 1, 2)? How would it work then, hmm?? The answer is that it doesn't -- it uses the enumeration names, such as MALE and FEMALE. Replace "M" and "F" in your database with "MALE" and "FEMALE", respectively. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994205#3994205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Redirecting into view that is inside a directory
Dear all, I have a problem where I haven't been able to figure out how to redirect a view that is inside a directory This is how /index.jsp looks like: <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> | And this is my navigation rule: | | home | /department/home.xhtml | | | >From the webcontext root directory, the view is located under /department >directory. I expect to get the view /department/home.xhtml displayed, but it >didn't work. Have I missed on something here? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994206#3994206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBoss & Java 1.6 class loading issue?
This is a known bug in JBoss Remoting v1.4.x. For some reason, the fix has not been backported to the 1.4 branch. This is especially odd since the 2.x versions can't replace v1.4.x directly, and thus JBoss 4 users are left "hanging" or being told to fix the problem by building from CVS (this involved grabbing some code from the 2.0 branch and inserting it to the v1.4 branch and then recompiling). I can't find the exact post any more because of some bug in the forum software that leaves out some of my posts from the search. JBoss folks: could you _please_ release v1.4.5 with the deserialization bug fixed so posts like these would end? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994207#3994207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Request didn't include a SOAP Message
Hello Alex, first thanks for your reply and i'll like to give some background informations hier to let you understand what i'm trying to do. I wan jbpm invoke an already running service under: http://localhost:8080/axis/services/schufaServiceB?wsdl. But this service is not to access directly because its one service under the cathegory schufa and the cathegory has the URL http://localhost:8081/creditprocess/schufa. Hier i have an inderection over an monitoring component which receive the HTTP-Request (with the SOAPMessage) and invoke the "best" service at the request time. This means the name of the specific service is unknow but the general name of the service cathegory is know as the category name. At the oder side all services under that cathegory have the same interface-description (porttype, operation, parameter and parameter oder) The cathegory is like an UDDI-registry. I have the specification of the services belowing to that cathegory unter the URL: http://localhost:8080/portal/demo/schufa.wsdl. In the application descriptor bpel-application.xml i need to specify the contextURL and the wsdl location to point at the interface description of the partner service to let the jbpm module retrieves the interface informations before creating and sending the message to the service: (like defined in partner/schufa/web.xml and partner/schufa/webservices.xml). So hier is my problem; The deployed service partner have his endpoint under: http://localhost:8080/schufa/schufaWS. I don't really need this URL as service endpoint. The client requests (bpel-process, service client) have to be redirected to a running service via the monitoring component at the adress: http://localhost.8081/creditprocess/schufa. This will be my service endpoint. The monitoring component will pick up one running service at: http://localhost:8080/axis/services/schufaWSB and send the receive Request (SOAP Request) to that service. I'll like to achieve that the SOAPMessage send by the process before the Schufa WS is called is included in this HTTP-Request before it is send. I'll need to specify this address: http://localhost.8081/creditprocess/schufa as soap addresse in jbpm-bpel so that the running process sends the soap request to this address. How can i achieve this goal using jbpm? My files: loanapproval.wsdl | http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="urn:samples:loanapproval" xmlns:loanapproval="urn:samples:loanapproval" | xmlns:schufa="urn:samples:schufa" xmlns:types="urn:samples:loanapprovalTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"; | targetNamespace="urn:samples:loanapproval"> | | http://www.w3.org/2001/XMLSchema";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loanapproval.bpel | http://schemas.xmlsoap.org/ws/2003/03/business-process/"; xmlns:tns="urn:samples:loanapproval" | xmlns:loanapproval="urn:samples:loanapproval" xmlns:schufa="urn:samples:schufa" | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/ | http://schemas.xmlsoap.org/ws/2003/03/business-process/";> | | | | | | | | | | | | | | | | | | | | | | | | | |
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 & SeamSecurity...
is gone, it's been replaced with EL expressions s:hasRole and s:hasPermission. Unfortunately you'll have to wait until 1.1.5 for the examples and docs, but it's only a few weeks away. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994209#3994209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Feature Requests for users dealing with migration
Hi, I'm trying to migrate from Tomcat. Using FORM authentication in a web app, with security constraints configured in web.xml. In Tomcat, realms was being configured at META-INF/context.xml | | | | In JBoss, I tried to reuse this configuration in my war, but authentication not worked. So, I read various articles, and tried to configure JBoss to use JAAS: 1) /conf/login-config.xml : add the entry | | | |java:/jdbc/db |MD5 |hex | |select password from User where login=? | | | select category as Roles, 'roles' as RolesGroups from Permission where login=? | | | | | 2) jboss-web.xml | | java:/jaas/db | | At this point, I'm able to authenticate, but the server don't assign any authorization to the logged user (request.isUserInRole(role) always returns false). Any help? Thanks in advance. Miranda. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994210#3994210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamSelectItems - 1.1.1beta4
Thanks, I am using this tag a lot. But, now, I could not figured out how set different SMPC for specific selectItem. In the same app, I have tree SMPC sometimes I use more than one on same long conversation... how can I set this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994211#3994211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamSelectItems - 1.1.1beta4
Hehe. I removed the ability to specify a different PC on a per-selectitem-tag instance as I was quite convinced that no one would be using it. I'll probably do this as: components.xml jsf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994213#3994213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to add new swimlanes
I could deploy my own process definition into hypersonic DB where there are some pre existing users and swimlanes. I have used them in my processdefinition. But, while trying to deploy the same processdefinition in mysql, it is not getting deployed. I have added user into JBPM_ID_USERS table. even then it is not getting deployed. just getting the warning message 'task reference unknown swimlane XX' Any idea why this message comes up and process is not deployed? and do i need to insert swimlanes manually into the DB as we used to it for users?? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994214#3994214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamSelectItems - 1.1.1beta4
nice to me for now, I must continue with previous version... Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994216#3994216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to add new swimlanes
sorry, forgot to add the exception message and the complete stack trace 18:52:37,903 ERROR [JDBCExceptionReporter] Lock wait timeout exceeded; try resta rting transaction 18:52:37,903 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.graph. def.ProcessDefinition] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException (SQLStateConverter.java:91) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j ava:79) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp er.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac tEntityPersister.java:1985) at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac tEntityPersister.java:2404) at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit yInsertAction.java:37) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic ate(AbstractSaveEventListener.java:269) at org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac tSaveEventListener.java:167) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId (AbstractSaveEventListener.java:101) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGene ratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrR equestedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTran sient(DefaultSaveOrUpdateEventListener.java:175) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate( DefaultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpda te(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:524) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:514) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:510) at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:77 ) at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) at org.apache.jsp.Testdeploy_jsp._jspService(Testdeploy_jsp.java:51) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 14) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p rocessConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo int.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor kerThread.java:112) at java.lang.Thread.run(Thread.java:534) Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting tra nsaction at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedSt atemen
[jboss-user] [JBoss jBPM] - Re: Jbpm on Tomcat 5.5
Too, I obtain this error log. INFO: building session factory Exception in thread "JbpmScheduler" java.lang.NoClassDefFoundError at org.hibernate.tuple.EntityMetamodel.class$(EntityMetamodel.java:41) at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:122) at org.hibernate.persister.entity.AbstractEntityPersister.(Abstrac tEntityPersister.java:412) at org.hibernate.persister.entity.SingleTableEntityPersister.(Sing leTableEntityPersister.java:108) at org.hibernate.persister.PersisterFactory.createClassPersister(Persist View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994218#3994218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - BPEL Bonjour Example - HTTP GET not supported & SOAP Instant
Hello, I'm having a getting the bonjour example to work on my jboss-4.0.4.GA server. The process seems to deploy without error and is visible at: http://localhost:8080/jbossws/services I use MS office's web reference tools to test webservices, but upon testing the service Error message displayed: 13:15:04,062 ERROR [[callerServlet]] Servlet.service() for servlet callerServlet threw exception org.jboss.util.NotImplementedException: HTTP GET not supported at org.jboss.ws.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) When I try to invoke the service I get this error message: 13:31:32,515 ERROR [SOAPFaultExceptionHelper] SOAP request exception java.lang.InstantiationException: org.jbpm.bpel.tutorial.bonjour.Bonjour at java.lang.Class.newInstance0(Class.java:335) at java.lang.Class.newInstance(Class.java:303) at org.jboss.ws.server.ServiceEndpointInvokerJSE.createServiceEndpoint(ServiceEndpointInvokerJSE.java:71) at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:97) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread
[jboss-user] [JBoss jBPM] - Re: BPEL Bonjour Example - HTTP GET not supported & SOAP Ins
Copy of WSDL of service: http://glowplug:8080/bonjour/caller"/> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994220#3994220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Request didn't include a SOAP Message
I'll like to bring some precision once again. I have tried some test scenario. When i specify the service wsdl location: http://localhost.8081/creditprocess/schufa at the first time monitoring component receive a request. Hier some output: | Starting daemon thread...ok. | - Listening to port: 8081 | | 1. Incoming TCP connection from 127.0.0.1:1089 | log4j:WARN Detected problem with connection: java.net.SocketException: Software | caused connection abort: socket write error | 1. Received request | - Request URL: '/creditprocess/schufa' | - Request did not include a SOAP message. | - Searching endpoint URL with target 'portal:Schufa' | - Endpoint URL found: 'http://127.0.0.1:8080/axis/services/SchufaServiceB', | known response time is '8000' | - Calling remote service (timeout 16000ms)...done. (Call duration: 7581 ms) | 1. Sending response to client...done. | 1. Request was successfully handled. | but if i deployed the schufa service as process partner and specify the wsdl-location to http://localhost:8080/schufa/schufaWS?wsdl, i can send the message to the service endpoint: http://localhost:8080/schufa/schufaWS. In this case the jbpm-module runns perfectly and i can see the exanged Message persisted in the DB: | | Client SOAPRequest to loanapproval process: | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | | | MyFirstName | MyLastName | 1000 | | | | | | | loanRequestParameters: | | | http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | MyfirstName | MyLastName | 1000 | | | loanResponse: | | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:soapBodyNS="urn:samples:schufa" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="1"/> | | | validCustomerReturn: | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:soapBodyNS="urn:samples:schufa" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="1"/> | | _firstname: | | | <_firstname xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>MyFirstName | | | _surname: | | | <_surname xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>MyLastName | Know when send a soap message directly to http://localhost:8081/creditprocess/schufa and specify the parameter value in the SOAP request its running fine. Some possible cause of this problem is that i'm try to integrate an non ws4ee web service with my bussiness process. The jBPM module require a java classe as service endpoint interface. With this he can access the message send and can persist this using hibernate (endpoint=http://localhost:8080/schufa/schufaWS). But if the service i'm trying to access is not a java service endpoint (endpoint=http://localhost:8081/creditprocess/schufa) then the service Handler can't access the exchanged soap messages. This may be why the request is sent to the specified endpoint but there is no soap message inside. With the first prototype the BPEL engine was BPEL4J from IBM and the services was deployed on the SOAP-Engine Axis and the monitoring component (java program) could catch the web service call inside the process execution an redirect it to the monitoring module without problem. Because of some features of jBPM by executing BPEL-Processes i'll like to substituate BPEL4J with jBPM and expect to get full access to the process execution information. I hope this can help a little bit. The serverLog is avialabe (email). Thanks once again Bertrand Njipwo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994221#3994221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994221 ___ jboss-user ma
[jboss-user] [Security & JAAS/JBoss] - Re: Classcast exception in LoginContext.getAttributeNames()
Thanks Nick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994224#3994224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: javax.jms.InvalidDestinationException: Destination is no
"timfox" wrote : javax.jms.InvalidDestinationException: Destination is not an instance of SpyDestination JBossQueue[t | estQueue] | | | SpyDestination is a JBossMQ class, not JBoss Messaging. | | You are probably trying to use a JBossMQ client to talk to JBoss Messaging. | | I suspect you haven't uninstalled JBossMQ. My client is in default instance.so how to uninstalled JBossMQ.?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994226#3994226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Event scoped component accessing Conversion scope
I think this means you can't have a conversation scoped component with UI component bindings. At the moment the setters for any binding="" get called during the restore view phase at which point the conversation scope is not valid. Is there any way round this or plans to address this in the future? Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994227#3994227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Event scoped component accessing Conversion scope
I'll check the debug handler exception when I download the 1.1 release shortly. Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994228#3994228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Spring deployer + cluster
Hi there! I just checked the new Spring deployer. One simple question. Does the applicationcontext get registred under jndi? Would it mean that using a cluster jndi I would have a single bean shared through the cluster? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994229#3994229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - ejb3-timer-service.xml with PostgreSQL
In ejb3-timer-service.xml I made these changes:HSQLDBDelegate -> PostgreSQLDelegate | qrtz_job_details: BINARY -> oid | IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean | qrtz_triggers: BINARY -> oid | IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean | qrtz_blob_triggers: BINARY -> oid | qrtz_calendars: BINARY -> oid | qrtz_fired_triggers: IS_VOLATILE VARCHAR(1) -> IS_VOLATILE boolean |REQUESTS_RECOVERY VARCHAR(1) -> REQUESTS_RECOVERY boolean When starting JBossAS I get this error message and stack trace although server/default/deploy/postgres-ds.xml defines DefaultDS:2006-12-15 11:24:27,882 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.ejb:persistencePolicy=database,service=EJBTimerService state=Create mode=Manual requiredState=Installed | java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=DefaultDS,service=metadata | at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(GeneralPurposeDatabasePersistencePlugin.java:101) | at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:92) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184) | at $Proxy0.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.start(ServiceController.java:431) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) | at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) | at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) |
[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml
Just especially for you, sir, I added a protected method named getViewId(Page) to org.jboss.seam.core.Pageflow, so that you can override that method and do whatever crazy thing you like in it ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994231#3994231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Can't Access JBoss 4.0.2 via IP address while running in
I can access my web application when the url is: http://localhost:8080/mywebapp But I get a 'Cannot find server' error when the url is: http://10.299.99.99:8080/mywebapp I need the server to be operable with both urls. My environment is: IDE: JBossIDE for Eclipse Build id: 2.0.0.Beta2 AS: JBoss Version: 4.0.5GA(build: CVSTag=Branch_4_0 date=200610162340) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994232#3994232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: javax.jms.InvalidDestinationException: Destination is no
aboveJMS client code is correct or not?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994233#3994233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam generate-entities failing
Max, Thank you for your help. Could you please show me how or point me to the reference where it said settting hibernate.schema_default in build properties. I googled around and find some literature that said something like "hibernate.schema_default=SCHEMA". I suspect that SCHEMA is an XML file locate somewhere!!! Is this true? If yes, could you please point me to ref to an example of this SCHEMA file! In general, I am pretty lost with the whole JBoss SEAM and how it uses hibernate. I search all over jboss seam directory but could not find any "hibernate related" xml file! (besides those in the example directories!) Thanks a bunch, BunZ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994234#3994234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM3 with tomcat
Hi vt00098. Can you tell me how do you init the userbean? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994235#3994235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 & SeamSecurity...
I got another questionit is posible to run those SeamSecurity example? When I deploy project I get an Error: | 15:42:47,234 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 15:42:47,250 ERROR [[/seam-security]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.NullPointerException | at org.jboss.seam.util.Conversions$FlatPropertyValue.isExpression(Conversions.java:240) | at org.jboss.seam.Component.getInitialValue(Component.java:357) | at org.jboss.seam.Component.initInitializers(Component.java:341) | at org.jboss.seam.Component.(Component.java:248) | at org.jboss.seam.Component.(Component.java:193) | I think Seam needs somethink : java.lang.NullPointerException I got jboss-seam.jar in ear file and el-api.jar el-ri.jar jsf-facelets.jar int WEB-INF/lib jboss-seam.jar is form Beta 1 version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994236#3994236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ICEfaces within Portlet
Hello. Did you have an experience of integrating ICEfaces within portlets? I tried to run my portlet under such configuration: 1. jboss 4.0.5 GA 2. jboss-portal 2.4 3. icefaces 1.5.1 The main problem in correct resolving facesFactory. The portlet using myfaces implementation and icefaces uses jsf-impl by sun. So need to find out the way to leave jboss and jboss-portal libs unchanged. I can give an additional information upon request. Please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994237#3994237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Redirecting into view that is inside a directory
If I understand correctly, then I should explain how navigation rules are supposed to work. This is how your current setup will work: Your /index.jsp will redirect to /home.seam which, in turn will map to a file in your war called /home.xhtml which will then be rendered on the front-end. (Note no navigation rule is involved here.) The navigation rules are supposed to be used as action outcomes: looking at the seam booking example, there is a login action method that returns an outcome of either "login" or "main" these outcomes are then mapped, in the faces-config.xml file (see below), to views. Seam also introduces the concept of stateful navigation through the use of Pageflows. Have a look at the seam reference for more info on this. LoginAction.java extract... |public String login() |{ | List results = em.createQuery("select u from User u where u.username=:username and u.password=:password") | .setParameter("username", user.getUsername()) | .setParameter("password", user.getPassword()) | .getResultList(); | | if ( results.size()==0 ) | { | FacesMessages.instance().add("Invalid login"); | return "login"; | } | else | { | user = results.get(0); | Contexts.getSessionContext().set("loggedIn", true); | FacesMessages.instance().add("Welcome, #{user.name}"); | return "main"; | } | |} | faces-config.xml extract... | | | | login | /home.xhtml | | | | | register | /register.xhtml | | | | | password | /password.xhtml | | | | | main | /main.xhtml | | | | | hotel | /hotel.xhtml | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994238#3994238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: jndi reference problem(urgent)?
Try changing your jboss.xml to: jdbc/test comp/env/jdbc/test or was it comp/env/jdbc/test jdbc/test One of those should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994239#3994239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Jboss Fed SSO issue
| For both seam-dvd and seam-booking u use same port numbers as 8080 .When I am invoking partner application(Seam dvd) from the actual application(seam booking) | | It is just refreshing actual application but it is not going to the partner application. | | So, I changed the port number of seam-booking applications as 8180 .by enabiling service | | | | ports-01 | | | | In jboss-service.xml. | | Even now it is not going to the seam-dvd application.It is just refreshing the seam-booking application. | Please do not email me directly. Use the forums. You can take a look at this cheat sheet. http://labs.jboss.com/wiki/JBossFederatedSSOV1.0.0.BetaCheatSheatForTheSeamDemoApplications View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994240#3994240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm webapp login
I don't know all the internals of JSF, but I'll try something like | {userBean.username} | wherever you have <%= userBean.getUserName() %> at this moment. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994241#3994241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released
Hi Jens, Thanks a lot for that large and brand new document. I found another interesting blog article from one of the book authors (Michael Yuan): http://www.michaelyuan.com/blog/2006/11/16/rapid-seam-development-with-netbeans/ This may be interesting for others too. Tom "dexjam" wrote : "bednarz" wrote : I have bought the book and downloaded the PDF. | | | | Is it possible to run the samples in the NetBeans IDE? I can deploy to JB 4.0.5 GA but I did not manage to create a NetBeans Project ? | | | | Can anybody help me with this? | | | | Tom | | Hi Tom, maybe this helps you getting a basic seam projects started in netbeans, this was mostly thought as a reminder for me, but maybe it's helpful. | | http://www.coffeecrew.org/docs/netbeansFaceletsSeamEjb3.pdf | | Jens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994242#3994242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: ICEfaces within Portlet
You need to use a different classloader. Only the management portlet is using JSF (and we will get rid of that dependancy). So you could move the MyFaces libraries from server/default/deploy/jbossweb*/jsf-libs to bundle them with the management portlet and use the Sun RI libs to bundle them in your war. Please then give us feedback on how it worked, i never tried ICEfaces in a portlet environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994243#3994243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 GA, at last!
Thanks very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994244#3994244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem with JBoss JDBCCacheLoader
Thank you so very much for looking into the problem. I was on leave as i had fallen ill and i just saw your reply. Our isolation level is REPEATABLE_READ and we are using REPL_SYNC cache mode Please find below the complete configuration- | | | | | | | | | | | | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | | | org.jboss.cache.DummyTransactionManagerLookup | | | | REPEATABLE_READ | | | REPL_SYNC | | | false | | | 0 | | | 0 | | | TreeCache-Cluster | | | | | | | | | | | | | | | | | | | | | | | | | true | | | 15000 | | | 15000 | | | 1 | | | | | | false | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994245#3994245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Cannot run Seam on Tomcat
Hi all! I tryed seam on jboss but got the following exception: java.lang.NoClassDefFoundError: javax/persistence/Entity How to solve this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994247#3994247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user