[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble
Sure ! Somethings might be pointless, as it is a class just for testing purpose. | @RemoteBinding(jndiBinding="EJBTEST/NatPerLstSFBean/remote") | /* This is set as a System.property | clientBindUrl="servlet://mc0430-116.somewhere.de:8080/invoker/JNDIFactory" | */ | @LocalBinding(jndiBinding="comp/env/EJBTEST/NatPerLstSFBean/local") | @Stateful | @Clustered(partition= "DefaultPartition", loadBalancePolicy = org.jboss.ha.framework.interfaces.RoundRobin.class) | public class NatPersLstSFBean implements INatPersLstLocal, | INatPersLstRemote, | Serializable{ | @Resource SessionContext sctx; | //@PersistenceManager EntityManager em; | private int hitCount= 0; | private Session sess= null; | List myResult= null; | private String oldletterLastName= ""; | | public int getIntValue(String intString) { | hitCount++; | return hitCount; | } | | @PermitAll | public List getNatPersLst(String letterLastName){ | if (sess==null || sess.isConnected()==false) | sess = new HibTestUtil().sessionFactory.getCurrentSession(); // Could this cause the problem when clustering ? | | try{ | sess.beginTransaction(); | System.out.println("about to create query"); | Query qry = sess.createSQLQuery( | " SELECT PersonID, Name, Vorname from NATPERSON np" + | " WHERE np.name like '"+ letterLastName + "%' " + | " ORDER BY NAME, VORNAME" ).addEntity("np",NatPers.class); | //qry.setCacheable(false); | System.out.println("about to save result"); | myResult = (List) qry.list(); | sess.getTransaction().commit(); | }catch (Exception e){ | e.printStackTrace(); | sess.getTransaction().rollback(); | } | String sctxUserName=""; | try{ | if (sctx !=null){ | sctxUserName = sctx.getCallerPrincipal().getName(); | System.out.println(sctxUserName); | } | }catch(Exception e){System.out.println(e);} | | return myResult; | } | @Init | public void createSession(){ | System.out.println("I have been created by"+ | | " " +this.getClass().getName()); | } | @Remove | public void endSession(){ | System.out.println("I am ending "+this.getClass().getName()); | } | @PrePassivate | public void doSerialization(){ | System.out.println("I will be serial soon "+this.getClass().getName()); | } | | @PostActivate | public void doDeSerialization(){ | System.out.println("I am deserialized again "+this.getClass().getName()); | } | } | Mainly it fetches a hibernate session from a factory and uses this to to the query on the db and passes the result back to the client. The client invokes the methodes a couple times in a row and ends. After what you said, could it for some reason be that the getCurrentSession() method trys to somehow use the factory of node one ? Sincerely Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950046#3950046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950046 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Users and Roles taken from another database than the por
take a look at this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75745&postdays=0&postorder=asc&start=0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950045#3950045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950045 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Trying to override from SpyDestination to use MQSeries i
You need to use the correct MQ series ConnectionFactory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950044#3950044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950044 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Users and Roles taken from another database than the por
I have my own database, kosmi. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950043#3950043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950043 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam reverse engineering
try and use the latest nightly buildshave some fixes that makes the templates work for latest Seam SVN. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950042#3950042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950042 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Basic TCP Cluster of two nodes fails to recover from a n
Some more details on test setup. Node A running on XP in a NAT address of say 10.0.1.4 Node B running in Red Hat 9 in a NAT address of 10.0.1.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950041#3950041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950041 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Basic TCP Cluster of two nodes fails to recover from a netwo
This was tested on both 3.2.8 sp1 and 4.0.4 GA. Within a subnet I confiured two nodes A and B using the TCP protocol for JGroup(I'm primarily interested in WAN cluster for site failover so next step would have been to separate the nodes across WAN). Node A is started and runs in Master mode. Node B is started and joins the DefaultPartition cluster along with node A in Slave mode. So far so good. Now I disconnect the lan line on the Node B machine. It fails to ping Node A and thus changes its mode to Master. Now plug the connection back in. Node B never joins the DefaultPartition cluster with node A. Node B continues to run in Master mode. I'd expect it to join the old cluster back and reset its mode to Slave from Master. This will present a serious issue of trying to use Singleton Tasks in a cluster. Any suggestions from anyone if the behavior I'm oberving is not because of some n/w configuration issue at Jgroup level for recovery? Thanks Kumar Pandey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950040#3950040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950040 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Remote debug of jboss application throwing error
I am getting the following exception while i try to coneect to jboss application.. !ENTRY org.eclipse.jdt.debug 4 120 2006-06-08 18:36:58.376 !MESSAGE Internal error logged from JDI Debug: !STACK 0 com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:167) at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:184) at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:174) at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:230) at org.eclipse.jdi.internal.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:348) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.createRequests(JavaStratumLineBreakpoint.java:357) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:497) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint.addToTarget(JavaLineBreakpoint.java:167) at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:1099) at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.run(BreakpointManager.java:789) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.notify(BreakpointManager.java:815) at org.eclipse.debug.internal.core.BreakpointManager.fireUpdate(BreakpointManager.java:729) at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:461) at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:431) at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoint(BreakpointManager.java:424) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.register(JavaBreakpoint.java:174) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint$1.run(JavaStratumLineBreakpoint.java:126) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1721) at org.eclipse.debug.core.model.Breakpoint.run(Breakpoint.java:335) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.(JavaStratumLineBreakpoint.java:129) at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.(JavaStratumLineBreakpoint.java:104) at org.eclipse.jdt.debug.core.JDIDebugModel.createStratumBreakpoint(JDIDebugModel.java:362) at org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider.addBreakpoint(JavaStratumBreakpointProvider.java:54) at org.eclipse.wst.sse.ui.internal.debug.ToggleBreakpointAction.createBreakpoints(ToggleBreakpointAction.java:95) at org.eclipse.wst.sse.ui.internal.debug.ToggleBreakpointAction.run(ToggleBreakpointAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java
[JBoss-user] [JBoss AOP] - Scoped classloading with standalone AOP
I have a standalone app that supports a plugin framework - each plugin has its own classloader that loads its classes and libraries separately to other plugins. I have two plugins that define aspects for the same class/pointcut (org.apache.axis.client.Call-> invoke - each plugin provides their own instance of axis.jar loaded by their own classloader), however when one of the plugins is invoked, JBoss AOP tries to find the Aspect class from the other plugin using the invoked plugin's classloader, which fails. I think that this could be solved by using scoped classloading, however the only support I could find for this in JBoss AOP is while running inside JBoss AS. So, I guess that I have two questions; firstly, am I on the right track thinking that scoped classloading will fix my issue?, and secondly, is there a way to get scoped classloading working in a standalone application? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950038#3950038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950038 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Help needed in getting support for https in JBOSS
yes http works for me but not the https and as mentioned earlier i have uncommented the lines but in vain. Can you please tell any body else whom i can approach as this issues has become like thorn in flesh for me... please anybody Regards Bhanu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950037#3950037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950037 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Nodes : reload process instance state
OK. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950036#3950036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950036 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam reverse engineering
It seem working with error after i have made certain modification to deployment descriptor: i. added ejb-jar.xml to resource folder (Initially missing) ii. modified web.xml and added the jndiPattern context iii. modified jboss-app.xml chg the loader name Now i can render the find.jsp page, but not create.jsp page. But when i try to search some record from the screen, i got some error in jboss console... scheme not found Then, i remove the from the entitle Catelog, the error disapper, but still no record found. Please help... thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950035#3950035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950035 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - About the Transaction rollback of the container management i
Hello. I have a stateless session bean, entity bean, servlet program. When SQL exception happens, the rollback cannot be done though the method of the session bean is called from the servlet. When the Runtime Exception is compulsorily generated in the session bean, the roll backing is done. However, the following exceptions are thrown out for an actual SQL exception, and the roll backing is not done. How should I do to do the roll backing? May I have advice? Servlet Class: | public Value doBiz(Hashtable param, HttpServletRequest req){ | String page = "/jsp/test/TestEntryEnd.jsp"; | Value value = new Value(); | | try{ | TestUserBean usrs = new TestUserBean(); | usrs.setTestUserId(1); | usrs.setTestName("test name"); | | /* DB insert */ | TestService service = new TestService(); | service.insertTestUser(usrs); | | /* To cause the exception, the data of same ID is inserted again. */ | TestUserBean usrs2 = new TestUserBean(); | usrs2.setTestUserId(1); | usrs2.setTestName("test name2"); | | service.insertTestUser(usrs2); | | value.setForwardPage(page); | }catch(Exception ex){ | System.out.println("* TestEntryEnd.doBiz catch ex = " + ex); | value.addErrorMessage("TestEntryEnd Error"); | value.setError(true); | } | return value; | } | Stateless Session Bean Class: | @Stateless | @Local(TestSession.class) | @Remote(TestSession.class) | | public class TestSessionBean implements TestSession{ | @PersistenceContext | protected EntityManager em; | | @TransactionAttribute(TransactionAttributeType.REQUIRED) | public void insertTestUser(TestUserBean usrs){ | em.persist(usrs); | | /* When the exception is compulsorily caused here, the roll backing is done. */ | //throw new RuntimeException("!! RuntimeException !?"); | } | } | Error stack trace 11:33:30,354 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:33:30,355 ERROR [JDBCExceptionReporter] Batch entry 0 insert into testuser (testName, testUserId) values (7, 7) was aborted. Call getNextException to see the cause. 11:33:30,355 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 23505 11:33:30,355 ERROR [JDBCExceptionReporter] ERROR: duplicate key violates unique constraint "testuser_pkey" 11:33:30,356 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:91) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:86) at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:171) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2048) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2427) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356) at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59) at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1473) at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1092) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:306) at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:
[JBoss-user] [EJB 3.0] - Re: PersistenceUnitInfo.getNewTempClassLoader() is null.
Does Anyone solve this problem ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950030#3950030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950030 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UserModule via JNDI
I was able to resolve this issue. The solution is to create a "jboss-portlet.xml" file and inject the relevant services into the portlet context. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950027#3950027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950027 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Compilation failed
I just downloaded latest portal code from the main branch. CVSROOT=:pserver:[EMAIL PROTECTED]/cvsroot/jboss MODULE NAME=jboss-porta-2.2. When I compiled it, I got the following error. Any ideas why? == == == Executing 'most' in module 'test'... == == BUILD FAILED D:\opensource\jboss-portal-2.4\jboss-portal-2.2\tools\etc\buildfragments\targets.ent:691: Basedir D:\opensource\jboss-portal-2.4\jboss-portal-2.2\test does not exist Thanks in advanced. Danny View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950026#3950026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950026 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
Wow, you guys should search the forum. I know for a fact that this question has been answered at least twice in the last couple weeks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950025#3950025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950025 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble
OK. Actually I am looking at the ejb3 sfsb replication now. There is one outstanding issue with the nested bean. http://jira.jboss.com/jira/browse/EJBTHREE-612 Simply stating, it is broken for replication when you have nested bean because of replication ahppens for the nested bean first (instead of parent bean). Your case may be slightly different though. Can you post your bean class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950024#3950024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950024 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - More information
I confirmed that what I'm currently doing is performing appropriate rollback logic inside my local transaction commit() ... then I invoke the ConnectionEventListener listener = (ConnectionEventListener) m_listener.get(i); listener.localTransactionRolledback (new ConnectionEvent (this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK)); I get the following warning on the console: 18:44:31,913 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=hyperactive/20, BranchQual=, localId=20] errorCode=XAER_PROTO org.jboss.resource.connectionmanager.JBossLocalXAException: wrong xid in rollback: expected: null, got: XidImpl[FormatId=257, GlobalId=hyperactive/20, BranchQual=1, localId=20] at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.rollback(TxConnectionManager.java:948) I've also tried simply throwing the exception out of the LocalTransaction.commit() and relying on JBoss to clean up. I still get the warning above but things look even worse (e.g. I can't shut down the server). Other than the warning, the explicit rollback logic + notification seem to result in ok behavior. Is the warning to be taken as a serious problem? Or is there some way I can improve my logic to ensure that the warning is not raised. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950023#3950023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950023 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Seam reverse engineering
I have few errors when tried up the tool: i. I got the javax.ejb.Interceptors class not find compilation error ii. So, i replace it with javax.interceptor.Interceptors, is it the same thing? iii. After replacing it, i able to compile and get all the ear, war, and ejb3 files completed and sucess deploy, but it always cannot get the value from @parameter for example: i got the local object call "EmployeeSelector" generated by tool. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950022#3950022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950022 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Handling failure during commit
I'm using JBoss 4.0.4 with a JCA 1.0 (I know! And I will re-write it at some point!) LocalTransaction resource adapter. During a commit there is a scenario where my RA detects a failure and needs to perform rollback. I'm wondering how I should handle this ... do I need to perform the necessary rollback logic within my RA then call notifyOnRollback on the ManagedConnection ... or should I throw the exception I encounter out of commit and rely on JBoss to invoke rollback. I've found various containers (e.g. WebLogic/WebSphere) to differ on this point in the past. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950021#3950021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950021 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - em.persist(Object) error in multiple-thread environment
Deal All: I have a sesseion bean like this: public @Stateless class InventoryMgrBean implements InventoryMgrLocal,InventoryMgrRemote { private static Object lock=new Object(); public NEKey findByNEPK(NEPK nePK) { NEKey neKey=null; try{ Query q=em.createQuery("select n from NEKey n where n.wwn=:WWN"); q.setParameter("WWN",nePK._wwn); neKey=(NEKey)q.getSingleResult(); }catch(NoResultException e){ return null; } return neKey; } - public NEKey createNEKey(NEPK nePK) { try { synchronized (lock) { NEKey neKey = findByNEPK(nePK); if (neKey == null) { neKey = new NEKey(); neKey.setWwn(nePK.get_wwn()); neKey.setIpAddresses(nePK.get_ipAddresses()); neKey.setName(nePK.get_name()); em.persist(neKey); } return neKey; } } catch (Exception e) { e.printStackTrace(); return null; } } When multiple-thread try to invoke this createNEKey() method.Exception(JDBC batch update fail) will be thrown at em.persist(neKey).Class NEKey is entity bean with ID auto-generated. Can anyone give some advice? Great Thanks! Kingofhawks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950020#3950020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950020 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Trouble with aopc compiled class being loaded with a fac
OK. then this is a bug with JBoss Aop. Please file the bug there and Kabir should be able to take care of it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950019#3950019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950019 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Able to suspend a token that has ended
I found that I can suspend/resume a token even though it has ended. This doesn't make sense since if it has ended, what purpose will suspend/resume serve. Should this be considered a bug or is there a reason for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950018#3950018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950018 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - UserModule via JNDI
Hello all, Since my client is unsatisfied with the current registration/user management features that are bundled with JBoss Portal (i.e. the UserPortlet), I have been attempting to implement my own using JSF, and Spring. What I'm trying to do is grab the UserModule using JNDI. The JNDI lookup goes well, but calling any of the UserModule's methods throws a ModuleExcepton. Any help would be greatly appreciated! Thanks! Sincerely, James JBoss Version: 4.0.3SP1 JBoss Portal Version: 2.2.1 Stacktrace: org.jboss.portal.core.modules.ModuleException: Cannot find user by name test at org.jboss.portal.core.impl.user.UserModuleImpl.findUserByUserName(UserModuleImpl.java:131) at chn.portal.core.service.impl.JBossUserServiceImpl.findUserByEmail(JBossUserServiceImpl.java:94) ... 37 more Caused by: org.hibernate.HibernateException: Unable to locate current JTA transaction at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:604) at org.jboss.portal.core.impl.user.UserModuleImpl.getCurrentSession(UserModuleImpl.java:372) at org.jboss.portal.core.impl.user.UserModuleImpl.findUserByUserName(UserModuleImpl.java:116) ... 38 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950017#3950017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950017 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - handleFault -getting underlying exception
Is there a way (even non portable) to get the underlying exception in the handleFault() of a GenericHandler? I was able to retrieve this when the AXIS stack was used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950016#3950016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950016 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Form authentication not re-directing to form
The version of Jboss that I was running on is 4.0.2. I've downloaded 4.0.3 SP1 and put the application on it and it works. I believe there was some setting that I might have changed a long time ago that was preventing the application from working - beats me what it was though View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950015#3950015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950015 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: pageflow problems
Gavin, I don't know howto debug in the SeamNavigationHandler. I tried to debug with the Seam-Debugpage over the browser. So I deployed the jboss-seam-debug.jar to the WEB-INF/lib directory in the war-file (Tutorial chapter 1.6.5). I need a SeamDebugPhaseListener to be defined in the faces-config.xml, but I alway get an error from the appserver that the listener isn't found. @dwayneb: which name would you use in .jsp-sites for the buttons to avoid too much changes? E.g. calling a function in a Seamcomponent over the action-attribute? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950011#3950011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950011 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - BindException at run time
At runtime I am seeing a BindException during a call to a @Clustered @Stateless session bean method. According to the stack trace (please see below), the exception occurs in StatelessClusteredProxy.invoke. This is in a system where jms is driving a high volume of ejb method calls. Therefore, I think what may be happenening is that the SocketInvoker cannot keep up with the number of method calls as a result of too many connections building up at the single port it is listening on. Could that be the case? If so, is it possible to configure the SocketInvoker to listen on a range of ports? Any ideas or suggestions are appreciated. | java.net.BindException: Address already in use: connect | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(Unknown Source) | at java.net.PlainSocketImpl.connectToAddress(Unknown Source) | at java.net.PlainSocketImpl.connect(Unknown Source) | at java.net.SocksSocketImpl.connect(Unknown Source) | at java.net.Socket.connect(Unknown Source) | at java.net.Socket.connect(Unknown Source) | at java.net.Socket.(Unknown Source) | at java.net.Socket.(Unknown Source) | at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:460) | at org.jboss.remoting.transport.socket.SocketClientInvoker.getConnection(SocketClientInvoker.java:417) | at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:226) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:112) | at org.jboss.remoting.Client.invoke(Client.java:226) | at org.jboss.remoting.Client.invoke(Client.java:189) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:100) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950010#3950010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950010 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Trying to override from SpyDestination to use MQSeries inste
Greetings, I?m trying to get JBoss v4.0.3SP1 to read/write to/from MQSeries v5.3. I can successfully write to the MQSeries queue, but am failing when I attempt to read from it. Specifically, I get: java.lang.ClassCastException: com.ibm.mq.jms.MQQueue | at org.jboss.mq.SpyConnectionConsumer.(SpyConnectionConsumer.java:91) | at org.jboss.mq.SpyConnection.createConnectionConsumer(SpyConnection.java:168) | at org.jboss.ejb3.mdb.MDB.innerCreateQueue(MDB.java:308) | at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:232) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:136) | at org.jboss.ejb3.mdb.MessageDrivenManager.startService(MessageDrivenManager.java:90) ... Looking at the SpyConnectionConsumer code, it appears that it is assuming that whatever it gets off the queue is a SpyDestination. I am trying to figure out how to tell JBoss that it?s actually something else. Here is what I?ve tried so far: 1. I spent a lot of time with the http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingWebSphereMQSeriesWithJBossASPartI (and part 2). Using the downloadable examples that come with it, I was able to modify the configuration to get it to successfully read and write from my MQSeries queue. This success occurred while running the tutorial examples in the stand-alone mode that they are written in. However, when I transferred that knowledge over into my real application, I am still getting the ClassCastException. The difference being that my real application is configured as an MDB that launches as JBoss is coming up. So I get the ClassCastException before it the logic ever gets to my code. This contrasts with the tutorial example that does not attempt to read the queue until I start the test program. 2. So I deduced that the problem is with the way I have my queue configured in the JBoss configuration files. I then spent a lot of time studying the ?MQSeries/JBoss MDB/3rd Party Messaging? thread in the forum. Specifically, this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=1070&start=18. It seems pcallies had a problem very similar to mine (and in fact, after spending the last three days trolling the web, it is the only reference I found that describes my problem). Several posts later, he describes a solution. The solution he describes involves the use of org.jboss.jms.jndi.JBossMQProvider. However, that class has since been deprecated and JNDIProviderAdapter is recommended instead. I?ve been studying that, and can?t figure out how to make it work. To make matters even harder, the XML files that pcallies describes in his solution don?t seem to exist in my version of JBoss. So I conclude that I need to configure JBoss to tell it that my queue needs to be processed as a wsmq destination, instead of as a SpyDestination. I just can?t figure out how to do it. Can anybody point me to some straightforward documentation that explains how to tell JBoss that the queue is an MQSeries queue? In the interest of full disclosure, I should admit I?m new to both JBoss and JMS, so I?m definitely hampered by my lack of experience. Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950008#3950008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950008 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: pageflow problems
You're right (Gavin) about begin of the pageflow, In this case, not set view-id on will produce a exception when transaction "tostart" form ShipTo will run, because no view are define for PurchaseStartPage. An other suggestion : don't use the page/state name to define next/prev button (because if you want to change order of navigation you'll need to change 3 files (minimum) : 2 jsp and the jpdl : eg in shipTo.jsp : | | in jpdl | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950007#3950007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950007 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Disabling timestamp and message id
I noticed that JBoss 4.0.4 still does not allow us to disable the message id generation for JMS messages. I was wondering what the reason maybe if there is one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950006#3950006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950006 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
"flawlor" wrote : In addition to the changes to the tree structure (src/process is just process) the process definitions no longer have a .par extention. There is also no longer any "Deploy Process Archive" option. | | How do you deploy a process defintion? Same thing here--has this been resolved or is it not an issue? My xml files display but there's no sign of a designer view anywhere to be found. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950005#3950005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to deploy Duke's Bank application.
I had a similar problem to Hadji (got all sorts of warnings about home interfaces not being available, etc.). In my case it turns out that there was an old version of the *JBoss* overwrite code around on this site, with the same name jbossj2ee-src.zip. To get the right one, download the Getting Started Guide for JBoss AS (do not use the online version as I did, that doesn't have it and doesn't explain), and in the zip file you will find the correct version of jbossj2ee-src.zip I hope this saves someone some heartache. And if any admins are reading this, maybe get rid of the old versions...a site-wide search on that file name should reveal them, as that is how I found it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950004#3950004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950004 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - InitialContext lookup ConnectionFactory problem
I am getting a strange error. I have added JBoss Messenging to my JBoss Server. When I run the examples like the topic example everything works perfectly. However, when I try to replicate one of the examples in a portlet and deploy it to the server and then run it I get the following: For executing the following line: ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); I get this error: 14:30:40,089 INFO [STDOUT] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] | 14:30:40,089 INFO [STDOUT] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1323) | 14:30:40,089 INFO [STDOUT] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1452) | 14:30:40,089 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:595) | 14:30:40,089 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588) | 14:30:40,089 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351) | | Any advise? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950003#3950003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950003 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Moving portlets in a portal
It is possible to move the windows around in JBoss Portal via the management interface. Please refer to the user manual for more information. Drag and drop manipulation of portlet window is being considered for the 3.0 release of JBoss Portal. Concerning choosing a portal server, you should also consider deeper aspects than porlet window manipulation. JBoss Portal offers a very efficient and robust architecture backed by a comprehensive test suite, something that cannot necessarily be said about other open-source portal offerings. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950002#3950002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950002 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - WebServices -urgent
Hi, I'm using WTP (Web Tools Platform) v 1.0.2. When I try to deploy webservice to test JBoss server v4.0 inside WTP tool getting into the following error: IWAB0489E Error when deploying Web service to Axis runtime axis-admin failed with {http://xml.apache.org/axis/}HTTP (404)/GOWeb/services/AdminService Do I need to apply any patch for this ? Is anyone have seen this exception before. Any help is greatly appreciated. Thanks much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950001#3950001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950001 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - can't configure oracle-ds.xml (null deployer error)
Hi, I've performed the following steps to setup an oracle-ds.xml in jboss-4.03SP1 1. created oracle-ds.xml in server/default/deploy 2. copied oracle jdbc driver jar to server/default/lib (for oracle 10g) However, the error is --- Packages waiting for a deployer --- [EMAIL PROTECTED] { url=file:/F:/local/jboss-4.0.3SP1/server/default/deploy/oracle-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/F:/local/jboss-4.0.3SP1/server/default/deploy/oracle-ds.xml altDD: null lastDeployed: 1149791209727 lastModified: 1149791209727 mbeans: Thanks for any help. It seems I'm not the only one to run into this but my search didn't discover any solution. Thanks for any help. Nick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=395#395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=395 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Can't load Eclipse plugin
Followed the instructions at http://docs.jboss.com/jbpm/v3/gpd/installation.html Received this message "No features found for the selected site(s)." There are two zip files for download and I receive this same message for both. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=394#394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=394 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with Sub Classes in JBoss 4.0.4GA - FOUND
I have the same problem. The problem is due to how the jdk 1.5 compiler create the classes. A simple test case for this problem would be: public interface I { public Map method(); } public class A implements I { public HashMap method() { return null; } } Using javap you can see that A.class contains this two method: public java.util.HashMap method() public java.util.Map method() Actually the A.class contains the same method name twice. In my case I changed the overriding method return type to solve the problem. I don't understand if this is a javassist problem or whatever else. Paolo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949998#3949998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949998 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Virtual Host for Webservice
Hi, I use JBoss 4.0.4 GA and want to deploy a EJB3 (JSR-181) webserivce. Nearly everything is fine. The problem is that the generated servlet of the webservice is deployed on the default virtual host, but I want to change this to another. How is this possible? I tried to add an jboss-web.xml in META-INF directory of the jar-file containing the webservice bean and interface, but with no success. I hope anyone can help me. cya muh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949989#3949989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949989 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problem Starting JBoss with Fedora Core 5
I got issues too. I try to run run.sh in /system/src/bin I get "Missing required file: /run.jar". Where is run.jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949986#3949986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949986 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Form authentication not re-directing to form
Thanks! I've got some more logging information now, allow me to throw it up here: 2006-06-08 13:01:13,525 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Security checking request GET /subcontractor/private/privatePlanRoom.jsp 2006-06-08 13:01:13,525 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[SUBCONTRACTOR]' against GET /private/privatePlanRoom.jsp --> true 2006-06-08 13:01:13,525 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[SUBCONTRACTOR]' against GET /private/privatePlanRoom.jsp --> true 2006-06-08 13:01:13,525 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling hasUserDataPermission() 2006-06-08 13:01:13,525 DEBUG [org.apache.catalina.realm.RealmBase] User data constraint already satisfied 2006-06-08 13:01:13,525 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling authenticate() 2006-06-08 13:01:13,525 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] Begin authenticate, username=null 2006-06-08 13:01:13,527 DEBUG [org.apache.catalina.loader.WebappClassLoader] findResources(jndi.properties) 2006-06-08 13:01:13,533 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(org.jnp.interfaces.NamingContextFactory, false) 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] Searching local repositories 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClass(org.jnp.interfaces.NamingContextFactory) 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClassInternal(org.jnp.interfaces.NamingContextFactory) 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] --> Passing on ClassNotFoundException 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] Delegating to parent classloader at end: [EMAIL PROTECTED] 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from parent 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(org.jboss.naming.java.javaURLContextFactory, false) 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] Searching local repositories 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClass(org.jboss.naming.java.javaURLContextFactory) 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClassInternal(org.jboss.naming.java.javaURLContextFactory) 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] --> Passing on ClassNotFoundException 2006-06-08 13:01:13,534 DEBUG [org.apache.catalina.loader.WebappClassLoader] Delegating to parent classloader at end: [EMAIL PROTECTED] 2006-06-08 13:01:13,535 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from parent 2006-06-08 13:01:13,535 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(org.jboss.naming.ENCFactory, false) 2006-06-08 13:01:13,535 DEBUG [org.apache.catalina.loader.WebappClassLoader] Searching local repositories 2006-06-08 13:01:13,535 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClass(org.jboss.naming.ENCFactory) 2006-06-08 13:01:13,536 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClassInternal(org.jboss.naming.ENCFactory) 2006-06-08 13:01:13,536 DEBUG [org.apache.catalina.loader.WebappClassLoader] --> Passing on ClassNotFoundException 2006-06-08 13:01:13,536 DEBUG [org.apache.catalina.loader.WebappClassLoader] Delegating to parent classloader at end: [EMAIL PROTECTED] 2006-06-08 13:01:13,536 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from parent 2006-06-08 13:01:13,536 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Failed authenticate() test So, it looks like I've got a class loading problem here I believe that for some reason the tomcat class loader is having problems retrieving a Context Factory. From looking at the code in the WebappClassLoader, there can be several posibilities why it is throwing a ClassNotFoundExcepion - but it is not clear which possibility it could be. It is throwing that exception from this method: |/** | 1890 * Find specified class in local repositories. | 1891 * | 1892 * @return the loaded class, or null if the class isn't found | 1893 */ | 1894protected Class findClassInternal(String name) | 1895throws ClassNotFoundException { | 1896 | 1897if (!validate(name)) | 1898throw new ClassNotFoundException(name); | 1899 | 1900String tempPath = name.replace('.', '/'); | 1901String classPath = tempPath + ".class"; | 1902 | 1903ResourceEntry entry = null;
[JBoss-user] [JBoss Seam] - Re: pageflow problems
I think the create method starts the pageflow when the start-page is rendered. So I don't think that is the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949984#3949984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949984 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: do i have to publish for every change?
I suspect strongly that you're right when you say a full manual republish is required. In order for the changes to become apparent, JBoss will need to be told a new module or group of class files is available. It will then need to dump references to the old classes and load the new ones. I can't imagine any way in which changes such as that can be viewed without jboss reloading the classes. The only exception I can think of would be if the IDE was merely emulating or pretending to be the actual app-server and the changes weren't "live" on the server but were shown as projections as to how it will look once on the server. If anyone has any idea as to how JBoss could make redeployment faster, or more targeted to the specific changes, I'll be sure to take note of that and try to add it into the IDE's debugging and redeployment features, but until I hear about that, I'm pretty sure a full redeploy is required for module changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949983#3949983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949983 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Legacy Workflow to JBPM data migration (ETL)
Hello, We do have a proprietary workflow engine for our application and the state is captured in the database. We are planning to re-architect the application using JBPM workflow engine and other misc technologies. I am wondering how to go about the data migration exercise from the existing workflow engine's db tables to JBPM workflow engine's tables? Or is this a good way to migrate from existing workflow to JBPM workflow? Your advice is highly appreciated. Thanks in advance, Arshad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949981#3949981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949981 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Can I really not get the size of a list in JSF?!
If you're using Facelets, it's pretty easy to write an EL function to do this. #{fn:sizeOf(myCollection)} https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create-function https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-function View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949979#3949979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949979 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: do i have to publish for every change?
Does anybody know this? Please help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949977#3949977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949977 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: pageflow problems
Hi, >From my understand, the pageflow isn't started (no call to begin from an >action or link beetween the jsp and the start-page. I suggest you to set the view-id attribute of the node: | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949976#3949976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949976 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Casting arguments in an EJB Urgent !!!
Can you please post the bean, interface and client classes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949968#3949968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949968 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam managed persistence and object attachment
That's actually how I had it. The reason I made the change is that I have CRUD type functionality broken up over two SFSB components. One of them handles new object creation and the other handles list/update/delete. When I create a new object however, even if I inject the list/update bean into the create bean and call a method to set its query results to null, a new DataModel is not outjected. I figured by changing the outjection to page scope it would force the List to be pulled from the bean each time. At this point I'm programatically removing the DataModel from the conversation when a new object is created, but I don't like the fact that the create bean has to be aware of an outjected list that has nothing to do with its function. Any advice? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949965#3949965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949965 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss
I believe I figured out what the underlying issue is. see this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84174 Apparently, when entities use inheritance and have a return type for an overridden method that is different form the base class the "duplicate method" exception occurrs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949964#3949964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949964 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with Sub Classes in JBoss 4.0.4GA
I am getting this same problem. This was not an issue in jboss-4.0.4.GA for me until I upgraded to jboss-4.0.4.GA-Patch1. When entities use inheritance and have a return type for an overridden method that is different form the base class the "duplicate method" exception occurrs. Has anyone reported a bug yet for this?? If so please point me to the jira issue otherewise if I don't hear from anyone in the two days I'll report it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949963#3949963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949963 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: [BPEL_deployment] Proof Of Concept to convince my compan
We have some customers that use it as product level. We are not feature complete yet but what is already there is rock solid. jBPM BPEL builds on top of the SAAJ, JAX-RPC and WSEE APIs, all part of J2EE 1.4. We are not tied to any particular web services stack. That said, the primary testing target for Alpha 4 was JBoss 4.0.3 SP1. For Beta 1, we are focusing on JBoss 4.0.4. While smooth, the transition was not transparent due to some idiosyncrasies of the old Axis-based stack. The JBossWS team tells me the new stack behaves just like the RI, so hopefully Beta 1 is more portable to app servers from other providers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949962#3949962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949962 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss
I am getting the same error. I just wanted to add a little bit of information. For me my code worked fine with jboss-4.0.4.GA using the ejb3-clustered configuration. As soon as I updated to jboss-4.0.4-Patch1 with the same configuration and code, I began getting the errors described above. Similarily to the code listed by penczek I am using an inheritance hierarchy that inherits from a @MappedSuperclass, in which the getID method is defined, although my classes are not defined using generics a the class level. It seems as if the duplicate method error is always occurring on the member function that is annotated with the @Id annotation. It looks as if that is the case for penczek as well. Does this mean that the use of inheritance hierarchies with mapped superclasses is completely broken for this jboss release?? Is there any bug that was filed for this issue yet that anyone knows of?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949961#3949961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949961 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam managed persistence and object attachment
It is designed so that you can have an event-scoped bean that has a page-scoped datamodel. If you have a conversation scoped bean, it does not really make sense to have a page-scoped datamodel. Just use a conversation-scoped datamodel (the default). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949960#3949960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949960 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: List of ports used by jBoss
Thanks a lot Alex!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949959#3949959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949959 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: List of ports used by jBoss
please see http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949958#3949958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949958 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Can I really not get the size of a list in JSF?!
I mean the List of SelectItems View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949957#3949957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949957 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Can I really not get the size of a list in JSF?!
what if I cannot outject it as datamodel, for example, I want to get the size of the List? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949956#3949956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949956 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - List of ports used by jBoss
Hi, Can someone give me the complete list of ports used by jBoss in the server machine, as well as the purpose of each port? Need this info urgently, and am not able to locate it anywhere in the docs. Thanks, Betty View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949955#3949955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949955 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - error while configuring apache with mod_jk connector
hi all, i have tried to configure apache-2.2.2-win32-x86 with mod_jk-apache-2.0.55 following the wiki page : http://www.jboss.com/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss i have added the connector by renaming it as mod_jk.so. but when i'm trying to start apache following error is displayed: httpd.exe: syntax error on line 486 of c:/.../httpd.conf: syntax error on line 3 ofc:/.../conf/mod-jk.conf:cannot load c://modules/mod_jk.so into server: the specified module could not be found. i tried to start the system again by restarting as well as reinstalling apache but it displayed the same message. please help. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949953#3949953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949953 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Trouble with aopc compiled class being loaded with a fac
Ben and all, Thank you for your reply and sample code. I have discovered the problem. My class had underscores prefixing the all the instance variable names. This will cause the ArrayIndexOutOfBoundsException. I verified the same with the sample class Address below. Change all references of street to _street and you should be able to duplicate the error. I am new to JBoss products, so if you could tell me where to file this issue with JIRA, I will do so with reproduceable steps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949951#3949951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949951 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem with the Eclipse Plugin
hello javajosh, I got the same NPE after installing. Have you been able to solve this already? Regards, Jim anonymous wrote : The file \jbpm-starters-kit-3.1.1\jbpm-designer\jbpm-gpd-feature\readme.html implies that all that is needed is to unzip \plugins and \features into one's eclipse directory. This is not the case. After doing so, I receieved this NPE when attempting to read a process definition with the special plugin (note that the "New JBPM Project" feature works fine): | | java.lang.NullPointerException | at org.jbpm.ui.editor.DesignerContentProvider.addProcessDiagramDimension(Unknown Source) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949950#3949950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949950 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - JBoss MailService
I see jboss service mbean for org.jboss.mail.MailService which allows any application to send mail, I was wondering where is the documentation for configuration, usage or anything of that sort? Any help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949949#3949949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949949 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - error message in configuring mod_jk1.2 with apache
hi all, i have tried to configure apache-2.2.2-win32-x86 with mod_jk-apache-2.0.55 following the following wiki page : http://www.jboss.com/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss i have added the connector by renaming it as mod_jk.so. but when i'm trying to start apache following error is displayed: httpd.exe: syntax error on line 486 of c:/.../httpd.conf: syntax error on line 3 ofc:/.../conf/mod-jk.conf:cannot load c://modules/mod_jk.so into server: the specified module could not be found. i tried to start the system again by restarting as well as reinstalling apache but it displayed the same message. please help. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949948#3949948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949948 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: signing SOAP requests
I was able to successfully deploy and run the JUnit test on the WS-Security example provided in the JBossWS "User Guide Samples." I have also been able to successfully code and deploy an EJB based Web Service that requires WS-Security signatures. However, I haven't been able to write a DII client to invoke that Web Service because it (obviously) requires a signed SOAP request and I don't know how to sign my requests. Does that answer your question? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949947#3949947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949947 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Recommended Design?
I'm getting my feet wet and am struggling a little. I have a page that displays a list of employees. I want to add an edit link for each employee. I'm having trouble keeping the employee record in the proper state. I have an event-scoped ejb that does a find for all active employees. The edit link is mapped to a session ejb that does a confirmation then save. When the edit paged is loaded, all of the values are correct, even the database id. When the confirmation page is loaded, the values are there, but the id is now 0. Why am I losing the object? I've tried flushing the entitymanager when the user clicks continue (before the confirm screen), but the changes aren't persisted. Any recommendation on architecture? I followed the booking/dvd store examples, but they both use session beans to do views and updates. I'm confused. John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949946#3949946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949946 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Form authentication not re-directing to form
Debug using step 4 of the Security FAQ at the beginning of this forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949945#3949945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949945 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Form authentication not re-directing to form
Also, I should note that I am getting no errors any of my logs... I do get some messages in my server.log, but I don't think they help with this problem. But I'll put them here, in case someone sees something that I do not. 2006-06-08 11:19:45,935 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created [EMAIL PROTECTED] 2006-06-08 11:19:45,936 DEBUG [org.jboss.security.plugins.JaasSecurityManager.SubcontractorDbRealm] CachePolicy set to: [EMAIL PROTECTED] 2006-06-08 11:19:45,936 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, [EMAIL PROTECTED] 2006-06-08 11:19:45,936 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added SubcontractorDbRealm, [EMAIL PROTECTED] to map Thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949943#3949943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949943 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Form authentication not re-directing to form
I placed the login-config element after the security constraint element, but no luck. Still get the basic authentication popup instead of the form login. Thanks for your quick reply. --Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949941#3949941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949941 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Form authentication not re-directing to form
The login-config element should come after your security-constraint elements. I'm surprised Tomcat doesn't throw an exception parsing your web.xml. But maybe fixing that will solve your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949940#3949940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949940 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: problem with timer
hi, the table JBPM_TIMER exists, but i don't know what to do to resolve this exception :( any help plz, regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949939#3949939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949939 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Binding objects in JNDI similar to Tomcat GlobalNamingRe
dbevacqua, There was a bug in Jackrabbit 1.0 that prevented using the org.apache.jackrabbit.core.jndi.RegistryHelper to properly register the repository with a JNDI server. This should be fixed in in Jackrabbit 1.0.1. So, instead of trying to register the repository using GlobalNamingResources, you can just call RegistryHelper.registerRepository method. You can have a look at the Jackrabbit bug here: http://issues.apache.org/jira/browse/JCR-411?page=comments#action_12413403 Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949938#3949938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949938 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re
Cool :) Be sure to test thoroughly. The session is really composed of 2 elements -- the attributes and the metadata (things like lastAccessedTime, id, etc). The metadata is still replicated at the end of the request, so you may get odd behavior. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949937#3949937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949937 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - jbpm Monitoring Menu and web-console menu not Showing..
hi all, i have to problems, 1.- I was following the tutorial of JbpmGettingStarted and in the page of localhost:8080/jbpm/ , when i have a task that is waiting for somebody i go to the MENU of 'Monitoring' in the left side of the Browser, and i get a BLANK PAGE, just saying "TODO' , This also displays in the 'Administration' menu saying 'TODO' also. so why? im missing some package or something ?? i think i have both modules installed... [EMAIL PROTECTED] deploy]# locate jboss-monitoring.jar /usr/local/jboss-4.0.4.GA/server/all/lib/jboss-monitoring.jar /usr/local/jboss-4.0.4.GA/server/default/lib/jboss-monitoring.jar /usr/local/jboss-4.0.4.GA/server/jbpm/jbpm-server/server/jbpm/lib/jboss-monitoring.jar /usr/local/jboss-4.0.4.GA/server/jbpm/lib/jboss-monitoring.jar - /usr/[EMAIL PROTECTED] deploy]# locate monitoring-service.xml local/jboss-4.0.4.GA/server/all/deploy/monitoring-service.xml /usr/local/jboss-4.0.4.GA/server/default/deploy/monitoring-service.xml AND THE directory of Management also is in there So what could happend? --- 2. In the Jboss principal page, the Jboss Web Console Menu is not showing anything, when i click on it, i get this.. HTTP Status 404 - /web-console/ type Status report message /web-console/ description The requested resource (/web-console/) is not available. i have installed Jboss with the default installation.. jboss-4.0.4.GA i will really aprecciate your help guys!, i need it seriously thanks in advance from mexico Alfonso M. Valdés Carrales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949936#3949936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949936 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re
Thank you. This configuration seems to produce the behavior I was expecting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949935#3949935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949935 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Monitoring problem with websale demo
More: Actually I have 2 directories with the starter kit. One, original usin hypersonik db, works fine, another using postgres, working partially, I can create a web order, but Ernie is getting errors and the Monitoring is not working. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949934#3949934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949934 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Encoding problem... Not able to store German characters
Hi, I am using JBoss as AS, oracle as DB and using the struts framework. When I am saving the form information using the "GET" method the data is stored properly in the DB but when I am using the "POST" method the german characters are getting corrupted. When I tried to debug I found that actionform itself has the corrupted characters. I have set the URIencoding = UTF-8 in the server.xml file. Still the problem persist. I think it might not be a bug in Jboss, it is somewhat a configuration issue only. Please let me the configuration changes that I need to store the data in the correct format. The same application is working fine in the WAS environment. We are migrating the application from WAS to Jboss. Is this a known issue in JBoss or am I doing something wrong. Please suggest me resolving this issue. Thanks in advance for your valuable suggestions. Rajani Kanth View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949933#3949933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949933 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Form authentication not re-directing to form
Hello Forum Folks, I've been slapping this thing around for a while now, but it just won't work the way it is supposed to. I've setup authentication to use a form, however when I go to a restricted page, I get the basic authentication popup INSTEAD of the login form. Here are my configuration files: web.xml: | | FORM | SubcontractorDbRealm | | /login.jsp | /login_error.jsp | | | | | | SUBCONTRACTOR | Require Subcontractors to login to view their plan rooms or complete prequal | /private/* | GET | POST | HEAD | PUT | DELETE | | | subcontractor | | | CONFIDENTIAL | | | | | subcontractor | Subcontractor with access to their private plan room | | | jboss-web.xml: |java:/jaas/SubcontractorDbRealm | /subcontractor | ${JBOSS_HOME}/server/default/conf/subcontractor-login-config.xml: | | | | | guest | useFirstPass | java:/PMPORTAL | SELECT auth_code FROM TBL_SUBCONTRACTOR_AUTH WHERE auth_code=? | SELECT 'subcontractor' | | | | | | ${JBOSS_HOME}/server/default/deploy/subcontractor-login-config-service.xml: | |subcontractor-login-config.xml |jboss.security:service=XMLLoginConfig |jboss.security:service=JaasSecurityManager | | | | Now, login.jsp does exist and it has the usual j_ stuff in it - not that it matters, since I'm not be redirected to the page. Is there any way for to find out what JBoss is doing/thinking during the authentication process? I might be able to track down where things are going wrong Thanks in advance! --Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949932#3949932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949932 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Binding objects in JNDI similar to Tomcat GlobalNamingRe
Hi JBoss Day 1 and I'm trying to solve this same problem. bwtaylor, do you have the MBean definition you used to get the JNDIBindingServiceMgr to put a Jackrabbit repository in JNDI? I'm not really au fait with JBossXB - do I need to be? Your help would really be appreciated - I'm think in at the deep end here. Thanks in advance Dominic Bevacqua View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949931#3949931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949931 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Monitoring problem with websale demo
I do not see any logging beeiung genereated. I looked at the Jboss\jbpm_server\jbpm\log directory, and also in the console window. I also getting errors when performing actions for Ernie: 12:28:23,177 ERROR [Delegation] couldn't load delegation class 'org.jbpm.websale.ShipItem' java.lang.ClassNotFoundException: class 'org.jbpm.websale.ShipItem' could not be found by the process classloader at org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:140) at org.jbpm.instantiation.Delegation.getInstance(Delegation.java:125) at org.jbpm.instantiation.Delegation$$FastClassByCGLIB$$6bae1598.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.instantiation.Delegation$$EnhancerByCGLIB$$318bc0d.getInstance() at org.jbpm.graph.def.Action.execute(Action.java:122) at org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.graph.def.Action$$EnhancerByCGLIB$$1cad1283.execute() at org.jbpm.graph.def.Node.execute(Node.java:328) at org.jbpm.graph.def.Node.enter(Node.java:316) at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1ccb0e4f.enter() at org.jbpm.graph.def.Transition.take(Transition.java:119) at org.jbpm.graph.def.Node.leave(Node.java:382) at org.jbpm.graph.def.Node.leave(Node.java:357) at org.jbpm.graph.node.Fork.execute(Fork.java:129) at org.jbpm.graph.def.Node.enter(Node.java:316) at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1ccb0e4f.enter() at org.jbpm.graph.def.Transition.take(Transition.java:119) at org.jbpm.graph.def.Node.leave(Node.java:382) at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:198) at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1ccb0e4f.leave() at org.jbpm.graph.exe.Token.signal(Token.java:174) at org.jbpm.graph.exe.Token.signal(Token.java:145) at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$ad9b75e3.signal() at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:420) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:359) at org.jbpm.taskmgmt.exe.TaskInstance$$FastClassByCGLIB$$cb2c21af.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:136) at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$c58487a4.end() at org.jbpm.webapp.bean.TaskBean.saveAndClose(TaskBean.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94) at or
[JBoss-user] [JBoss jBPM] - Re: JBPM Scalability
I disabled the logging it reduced significantly the number of insert statements (cuz now it is not inserting inside jbpm_log table) but still around 40+ insert and update statements. I am wondering whether any one is using this product in production and how is the performance for typical application with around hundred thousand records? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949927#3949927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949927 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Embedded TimerService
Has anyone been able to create a TimerService in an embedded jboss environment? If so, if you could share you configuration, that would be very helpful. If not, is this feature supported? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949926#3949926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949926 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - java.util.Properties causes IllegalStateException on JBoss 4
Hi all. My EJB2 contains java.util.Properties as CMP field and it was OK on JBoss 4.0.3SP1. But when deployed on 4.0.4GA, it causes following error during entity loading: anonymous wrote : | java.lang.IllegalStateException: Failed to find a ctor in class java.util.Properties that takes an instance of interface java.util.Map as an argument. | at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.cloneValue(JDBCTypeFactory.java:308) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.access$000(JDBCTypeFactory.java:56) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory$3.getFieldState(JDBCTypeFactory.java:105) | at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge$FieldState.updateState(JDBCCMP2xFieldBridge.java:443) | at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge$FieldState.setClean(JDBCCMP2xFieldBridge.java:431) | at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setClean(JDBCCMP2xFieldBridge.java:262) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:208) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:88) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:646) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:628) | at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:406) | ... I've searched the source code and found, that JDBCTypeFactory for all fields, which are Map implementation, tries to create a copy, using constructor which takes Map parameter: | package org.jboss.ejb.plugins.cmp.jdbc; | ... | public final class JDBCTypeFactory | ... | /** | * Field state factory for java.util.Map implementations. The state is | * a deep copy of the value. | */ |private static final CMPFieldStateFactory MAP = new CMPFieldStateFactory() |{ | public Object getFieldState(Object fieldValue) | { | return cloneValue(fieldValue, Map.class); | } | | public boolean isStateValid(Object state, Object fieldValue) | { | return (state == null ? fieldValue == null : state.equals(fieldValue)); | } |}; | ... | private static Object cloneValue(Object fieldValue, Class argType) |{ | if(fieldValue == null) | { | return null; | } | | Class valueType = fieldValue.getClass(); | Constructor ctor; | try | { | ctor = valueType.getConstructor(new Class[]{argType}); | } | catch(NoSuchMethodException e) | { | throw new IllegalStateException( | "Failed to find a ctor in " + valueType + | " that takes an instance of " + argType + " as an argument." | ); | } | and because of java.util.Properties hasn't such constructor, this leads to error. JBoss 4.0.3SP1 has different implementation of state factory for Map instances, that's why there is no error in that case: | /** | * Field state factory for java.util.Map implementations. The state is | * a deep copy of the value. | */ |private static final CMPFieldStateFactory MAP = new CMPFieldStateFactory() |{ | public Object getFieldState(Object fieldValue) | { | return fieldValue == null ? null : new HashMap((Map)fieldValue); | } | | public boolean isStateValid(Object state, Object fieldValue) | { | return (state == null ? fieldValue == null : state.equals(fieldValue)); | } |}; | Of course, there are many workarounds, such as use of user state factory or replacing java.util.Properties by some other Map implementation. But is it a correct behavior to rely on presence of specific constructor? Maybe, it will be more secure to call no-arg constructor first and than putAll(Map m) method, which is part of Map interface? Thanks for advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949925#3949925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949925 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble
Hi Sorry for the information overflow... I guess this sums it up: | [org.jboss.cache.eviction.RegionManager] getRegions(): size of region 2 | [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 45 | [org.hibernate.impl.SessionFactoryObjectFactory] lookup: uid=2c9096850bad968e010bad9899550001 | [org.hibernate.impl.SessionFactoryObjectFactory] Not found: 2c9096850bad968e010bad9899550001 | [org.hibernate.impl.SessionFactoryObjectFactory] [EMAIL PROTECTED] | [org.jboss.remoting.transport.servlet.ServletServerInvoker] Error thrown calling invoke on server invoker. | org.jboss.ejb3.stateful.ForwardId: java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:314) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | I could give you an ear with the EJB's and Client, but I dont belive this would help a lot (except for clearing up the config of the client). The App and client ist is rather simple. The App just uses a Hibernate session to do a sql query on a Oracle DB and give the result to the Client. I guess I would need to also send you the server modifikations and setup. The main Problem seems to be that the SFSB is not replicating correctly and so cant be invoked an the second node. This could be caused by the combination of using httpha-invoker.sar and using the host name rather than the ip. The problem is that I cant find the point were it fails, do to lack of knowledge of the things that happen on the server. If you want I can pack that all up and send it to you. Thanks for your time ! (and sorry for the overflow of text) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949924#3949924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949924 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Eclipse complains
Hi I installed j2sdk5.0 and configured with eclipse in order to get rid off XDoclet error. I have made jdk 5.0 as my default JRE and when i mention in Debug--> JDK , it complain the tools.jar is not found. I searched for tools.jar in jdk5.0 and it doesn't have in lib folder and in anyother folder. i downloaded j2sdk5.0 update 7.0 someone can help me..? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949923#3949923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949923 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Mixed Environment Buid and Deploy.
I can't possibly be the first one to run into this... Any pointers would be greatly appreciated. My build environment is in the Windows world. My Dev. test environment is in the Unix (Solaris) world. The obvious answer of moving the build environment to the Unix world is not an option unfortunately. I want to automate the deployment process. FWIW: I'm using Cruise Control for continuous building. I've found the ANT Task to stop the server, ftp the files over and now I'm stuck because the ANT Task (Which uses org.jboss.Main) can only start local servers (unless I'm missing something major.) Can't just leave the server up and running because the FTP takes three years to get across -- ok, I exagerate a little -- long enough that the server starts hot deploying before the transfer is complete. I know I should FTP to a temp directory, but I don't have an elegant way of then automagically copying the files over to the server. I can't use an remote ssh exec session because of security reasons. (I have to su to a trusted user on the Unix machine to do anything...) I'm not going to be able to add Maven to the mix (which my cursory reading indicates might could help) because it's late in the development cycle to do that. I've tried the Cargo API but I'm getting weird results. (Namely the EJB3 packages fail to redeploy with an "Already Exists" kind of exception, even after I use the undeploy method...) Any suggestions, pointers, help would be greatly appreciated! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949921#3949921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949921 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Dynamic Roles with Declarative Security
Hey guys, I am in the process of developing a J2EE software that requires Security via authentication and user roles. I found JBossSX to a good way to start off implementating this Security. However, I also have a requirement that roles can be altered at any time (new roles can be added, access restrictions for current roles can be changed etc...) after deployment. I wanted to get some ideas on how I can acheive this using the JAAS and JBossSX infrastructures since most of it is done throught XML files (ejb-jar.xml, jboss.xml etc...) I figure that im going to have to regenerate these XML files on the fly and then hot deploy them to the JBoss server so as to not affect connectivity to the server. However, I have no clear idea of how I am going to implement this functionality. I'm sure someone somewhere has probably done something along these lines so I would appreciate it if anyone could give me some pointers. Thanks a lot, Ison Udoka. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949920#3949920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949920 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble
This is too much information to read over. Can you produce a sample jar file and also client code for me try it out? Thanks, -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949919#3949919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949919 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: ProVision Modeler
Hmmm... last line got deleted. There is a 'cartridge' for Andromda. I do not know how feature rich this is, but is generates processdefinitions from uml diagrams View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949917#3949917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949917 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Second and folowing nodes take very long time to come up
I figured it out. The reason for that behaviour was a system property "java.naming.provider.url" (node1:100,node2:1100) set on the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949916#3949916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949916 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Cannot find jaxrpc-mapping for type: {http:
I am having the same problem, did you ever find a solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949915#3949915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949915 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: ProVision Modeler
"thomchode" wrote : Has anyone attempted to use a commercial modeler like ProVision to create their process definitions? It seems like you could convert its exported xml from to a processdefinition.xml. Not that we (I) know of "thomchode" wrote : Is the only modeler option available the eclipse plugin? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949914#3949914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949914 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Nodes : reload process instance state
that is exactely correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949913#3949913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949913 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam managed persistence and object attachment
Right, but as I understand the @DataModel annotation it doesn't outject the actual annotated List into PAGE scope, it outjects a DataModel that wraps the List, so why then when the DataModel is reconstituted is it overwriting the perfectly good version of the wrapped List that is still contained in the conversation scoped bean? As I understood it @DataModel causes an outjection but it seems to be causing an INJECTION when the response occurs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949912#3949912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949912 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Problem with themes or layout or...?
I had "JBossPortal 2.2.1RC3+JBoss AS bundle" installed on Linux Debian, behind an Apache web server, and using PostgreSQL 8.1.3. It worked fine ! I've installed "JBoss 2.2.1 SP1+JBoss AS bundle" to fix some problems, and now I see the JBossPortal pages with no decoration, and no pictures at all ! It seems there's no theme, no layout, and no pictures (except the pictures of the default page : jboss_logo.gif, support.gif, plugin.gif and project.gif). Don't see any pictures of the themes, even if I change it. I have no errors on the log (just one that I had before : "Locale name null or empty, ignoring"). That's all ! The database seems to be ok : I can see the records in the PostgreSQL tables... What else ? Thank you for your help !! Jerome View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949911#3949911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949911 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using CsIL
sorry, meant to say use externalizable to write your object into a byte message that you know how to decode on the client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949910#3949910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949910 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using CsIL
getObject is difficult, because you would need some explicit knowledge about the object being transferred in order to translate it from java to c#. I recommend either using xml + serialization to a string with a text message, or implementing externalizable in java and a corresponding constructor in c#. In both cases, it has to be the responsibility of the client application to reconstruct the object from the message, because simple java serialization isn't available. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949909#3949909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949909 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Trouble with aopc compiled class being loaded with a fac
I have just tried out a similar test case like yours but still can't reproduce. Can you use load-time instrumentation option to see if the problem is there as well? Here is the test case: |public void testLoadingClass() |{ | Address addr = new Address(); | addr.getClass().getName(); |} | Here is Address class that is under JBossCache testsuite. | package org.jboss.cache.aop.test; | | /** | * @@org.jboss.cache.aop.AopMarker | */ | public class Address | { |String street = null; |String city = null; |int zip = 0; | |public String getStreet() |{ | return street; |} | |public void setStreet(String street) |{ | this.street = street; |} | |public String getCity() |{ | return city; |} | |public void setCity(String city) |{ | this.city = city; |} | |public int getZip() |{ | return zip; |} | |public void setZip(int zip) |{ | this.zip = zip; |} | |public String toString() |{ | return "street=" + getStreet() + ", city=" + getCity() + ", zip=" + getZip(); |} | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949908#3949908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949908 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user