[JBoss-dev] [JBossCache] - Using TreeCacheAopMBean
Can someone please post a detailed example of how to use TreeCacheAop inside JBoss? I have successfully started a service, but when I add a POJO via putObject, it is not added as an AOP object, but simply a name value pair. I think it has something to do with getting JBoss to use "org.jboss.aop.standalone.SystemClassLoader", as the demo programs do. But I have no idea how to do this and the tutorials are very lacking when in comes to using JBossCache inside JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854388#3854388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854388 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Remote TreeCacheListener Not Notified On remove(fqn, key) Ca
Due to the issues I had with the TreeCacheView class, I wrote a command line implementation of TreeCacheListener. In doing so, I happened upon a quirk. It turns out that TreeCacheListener instances are not notified when the remove(fqn, key) method is invoked on remote instances. I have not tested with a listener that is local to the cache, but in looking at the code, I think that the result might be the same. Using the JBossCache 1.1 tagged version of TreeCache I tracked the actual removal (on a remote instance from the remove invocation) to line 2517. In the latest revision, the line is 2576. The method containing these lines of code never issues a nodeModified event to the listeners, however it is a bit more complicated because the method does issue nodeRemoved events. They are suppressed for the context of this call due to a boolean parameter on the method itself. Should invocations of remove(fqn, key) cause nodeModification events? It seems like they should, but the presence of the other (suppressed) events confuses me. I supposed this method is used for both the removal of nodes and of values from a node's map. Am I reading this correctly? For reference, the JBossCache 1.1 tagged version of TreeCache's _remove method is below. Line 2517 is the line containing old_value=n.remove(key). | public Object _remove(GlobalTransaction tx, Fqn fqn, Object key, | boolean create_undo_ops, boolean sendNodeEvent) | throws LockingException, TimeoutException { | Node n=null; | MethodCall undo_op=null; | Object old_value=null; | | if(log.isDebugEnabled()) | log.debug("_remove(" + tx + ", \"" + fqn + "\", " + key + ")"); | | try { | // Find the node. This will lock it (if locking is true) and | // add the temporarily created parent nodes to the TX's node list if tx != null) | n=findNode(fqn, true, locking, tx, NODE_WRITE); | if(n == null) { | log.error("_remove(): node " + fqn + " not found"); | return null; | } | old_value=n.remove(key); | | // create a compensating method call (reverting the effect of | // this modification) and put it into the TX's undo list. | if(tx != null && create_undo_ops && old_value != null) { | undo_op=new MethodCall(put_key_val_method, | new Object[]{tx, fqn, key, old_value, | new Boolean(false)}); | // 1. put undo-op in TX' undo-operations list (needed to rollback TX) | tx_table.addUndoOperation(tx, undo_op); | } | | if(sendNodeEvent) | notifyNodeRemoved(fqn); | return old_value; | } | finally { // we always unlock when no TX is present (lock-update-unlock) | if(tx == null && locking == true) | releaseLocks(tx, fqn); | } |} | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854386#3854386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854386 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Re: DII client complains about serializer
BTW i found the caused of java.util.vector problem: method in java bean can't return Enumeration object, that' all. what a trick. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854383#3854383 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854383 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Has TreeCacheView Been Updated?
anonymous wrote : | Did you verify this works ? I'll do it right away once you let me know whether you have tested it. | I haven't tried to reproduce the original problem (in fact I don't have JBossCache running yet, other than the demo). As with most threading issues, it's probably hard to reproduce; does anyone have a testcase that causes the problem? -Chris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854381#3854381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854381 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Re: DII client complains about serializer
and another problem i encounter i overloading three methods getByCriteria(java.lang.Object identity, java.lang.String transactionId, java.lang.String databaseServiceName, java.lang.String tableName, CriteriaTO criteriaTO, int from, int count) ; getByCriteria(java.lang.Object identity, java.lang.String transactionId, java.lang.String databaseServiceName, java.lang.String masterTableName, java.util.HashMap parameterMap, boolean isSingleModel, CriteriaTO criteriaTO, int from, int count) getByCriteria(java.lang.Object identity, java.lang.String transactionId, java.lang.String databaseServiceName, java.lang.String tableName, java.lang.String[] columns, CriteriaTO criteriaTO, int from, int count) jbossWS can't get the right method for me, but i check the wsdl and mapping file they do a great job. i show some snippet code getByCriteria getByCriteria getByCriteria getByCriteria2 getByCriteria getByCriteria3 when i used a DII to call the getByCriteria3 signature method, i think there are bugs, i cut the error message: [java] 2004-11-09 13:19:26,824 ERROR org.jboss.webservice.client.PortProxy[ WT-EventQueue-0] - Port error [java] AxisFault [java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.genera Exception [java] faultSubcode: [java] faultString: Error invoking operation: [java] javax.xml.rpc.JAXRPCException: Number of parameters passed in (8) do sn't match the number of IN/INOUT parameters (9) from the addParameter() calls [java] faultActor: [java] faultNode: [java] faultDetail: [java] org.apache.axis.AxisFault: Error invoking operation: [java] javax.xml.rpc.JAXRPCException: Number of parameters passed in (8) do sn't match the number of IN/INOUT parameters (9) from the addParameter() calls [java] at org.apache.axis.client.Call.invokeInternal(Call.java:1989) [java] at org.apache.axis.client.Call.invoke(Call.java:1909) [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:175 [java] at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy java:373) [java] at $Proxy3.getByCriteria(Unknown Source) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces orImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet odAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:9 ) [java] at $Proxy3.getByCriteria(Unknown Source) [java] at com.walsin.delegate.TableHandlerDelegate.getByCriteria(Unknow Source) [java] at com.walsin.ui.component.ComponentFactory.retrieveComboBoxItem FromDataBase(Unknown Source) [java] at com.walsin.ui.component.ComponentFactory.retrieveComboBoxItem (Unknown Source) [java] at com.walsin.ui.component.ComponentFactory.getComponentsByKey(U known Source) [java] at com.walsin.ui.component.ComponentFactory.getComponentsByKey(U known Source) [java] at com.walsin.ui.component.ComponentFactory.getComponentsByKey(U known Source) [java] at com.walsin.ui.component.WalsinJCriteriaPanel.jbInit(Unknown S urce) [java] at com.walsin.ui.component.WalsinJCriteriaPanel.(Unknown S urce) [java] at com.walsin.ui.jstock.stkc.STKC01PM.jbInit(Unknown Source) [java] at com.walsin.ui.jstock.stkc.STKC01PM.(Unknown Source) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC nstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del gatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:27 ) [java] at com.walsin.ui.jstock.JStockPortal.executeCommand(Unknown Sour e) [java] at com.walsin.ui.jstock.JStockPortal.access$600(Unknown Source) [java] at com.walsin.ui.jstock.JStockPortal$6.mouseClicked(Unknown Sour e) [java] at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster java:212) [java] at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster java:211) [java] at java.awt.Component.processMouseEvent(Component.java:5103) [java] at java.awt.Component.processEvent(Component.java:4897) [java] at java.awt.Container.processEvent(Container.java:1569) [java] at java.awt.Component.dispatchEventImpl(Component.java:3615) [java] at java.awt.Container.dispatchEventImpl(Container.java:1627) [java] at java.awt.Component.dispatchEvent(Component.java:3477) [java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.j va:3483) [java] at java.awt.LightweightDispatcher.processMouseEvent(Container.ja a:3207) [java]
[JBoss-dev] [JBossCache] - Re: Maintaining consistent object graph
Tim - I can see that it might be implemented as you say, and I've no doubt that keeping only identifiers or proxy references would solve the problem, but the requirement that we cache only the latest version of the domain objects arises directly from the fact that we have to cache them in the first place. In a nutshell, each client maintains a very interconnected graph of domain objects, subgraphs of which get sent to the server to be persisted by Hibernate. If the graph is not consistent, Hibernate will barf, as it should. If we were not caching on the client, we would not have to solve this problem. As far as I can tell, this places the responsibility more on the cache than on the objects comprising the problem domain. If we stop using the cache, then yes, the graph consistency semantics disappear, but that is exactly what we want (I think). Anyways, it looks like JBossCache may not be the ideal solution to this problem. If anyone has any suggestions I would appreciate them! And thanks for taking the time to read my posts... Daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854374#3854374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854374 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Asynchronous Aspect for Tomcat
Hi, What is the setup of the JBOSS library for Tomcat ? How do u handle exception in the asynchronous method ? Please let me know. Thanks in advance. Peter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854373#3854373 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854373 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062823 ] NullPointerException in MessageReference.getHeaders
Bugs item #1062823, was opened at 2004-11-08 21:32 Message generated for change (Comment added) made by javajedi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062823&group_id=22866 Category: JBossMQ Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Tim McCune (javajedi) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointerException in MessageReference.getHeaders Initial Comment: JBoss 3.2.5, JDK 1.4.2 (also had to use 1.5.0 to get a stack trace from the NPE), Linux I have a JMS TopicSubscriber that stops listening to the JMS topic when it is under heavy load. It logs the following _warning_ (why not an error?!) and stops listening to the topic. 22:24:08,898 WARN [SpyMessageConsumer] Message consumer closing due to error in listening thread. org.jboss.mq.SpyJMSException: Cannot create a ConnectionReceiver; - nested throwable: (java.lang.NullPointerException) at org.jboss.mq.Connection.receive(Connection.java:964) at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:595) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at org.jboss.mq.server.MessageReference.getHeaders(MessageReference.java:258) at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:463) at org.jboss.mq.server.JMSTopic.receive(JMSTopic.java:284) at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:222) at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:661) at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:570) at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:226) at org.jboss.mq.il.jvm.JVMServerIL.receive(JVMServerIL.java:244) at org.jboss.mq.Connection.receive(Connection.java:951) ... 2 more -- >Comment By: Tim McCune (javajedi) Date: 2004-11-08 22:35 Message: Logged In: YES user_id=62441 I've been digging through the code for a while now trying to track this down. The root of the problem seems to be org.jboss.mq.pm.jdbc3.PersistenceManager. It is returning null from loadFromStorage because the SELECT_MESSAGE query returns an empty result set. I turned on tracing and added some of my own debug statements. When the message is initially added to JMS_MESSAGE_LOG, it is inserted with the following SQL: INSERT INTO JMS_MESSAGE_LOG (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP, LATECLONE) VALUES(?,?,?,?,?,?) with MESSAGEID set to 10281 and DESTINATION set to "*". Later, when loadFromStorage tries to retrieve it, it runs the following SQL: SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGE_LOG WHERE MESSAGEID=? AND DESTINATION=? with MESSAGEID set to 10281 and DESTINATION set to "TOPIC.HarvesterWork.ID:2.-2147483629". This obviously fails, causing loadFromStorage to return null, causing the NPE in MessageReference, causing the TopicSubscriber to die. I have over 9000 rows in JMS_MESSAGE_LOG, but not one has a DESTINATION that contains the word "TOPIC". They all either start with "QUEUE" or are simply "*". I don't understand what "*" is supposed to indicate, but something is clearly broken here. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062823&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Maintaining consistent object graph
Daniel, To be honest your problem is one of general data/object structures, not the cache. As Ben already pointed out, you're asking the cache to do something different than what plain old Java does. Personally, I think the cache should retain the same semantics as Java (ie. placing two different objects into the cache will always result in two different objects being retrieved from the cache). In order to do what you're asking you're going to have to change your data/object structure. This is the best way, as then your code won't break when you suddenly take away the cache. So, for example, you could simply store the address ID in the Person object, and then use that to look up the actual Address object. This could potentially all be handled by the Person object itself (looking up the Address object when getAddress() is called), hiding the details from the caller. Thinking along a general data structures line will lead you to a much more robust solution. Tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854366#3854366 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854366 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062823 ] NullPointerException in MessageReference.getHeaders
Bugs item #1062823, was opened at 2004-11-08 21:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062823&group_id=22866 Category: JBossMQ Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Tim McCune (javajedi) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointerException in MessageReference.getHeaders Initial Comment: JBoss 3.2.5, JDK 1.4.2 (also had to use 1.5.0 to get a stack trace from the NPE), Linux I have a JMS TopicSubscriber that stops listening to the JMS topic when it is under heavy load. It logs the following _warning_ (why not an error?!) and stops listening to the topic. 22:24:08,898 WARN [SpyMessageConsumer] Message consumer closing due to error in listening thread. org.jboss.mq.SpyJMSException: Cannot create a ConnectionReceiver; - nested throwable: (java.lang.NullPointerException) at org.jboss.mq.Connection.receive(Connection.java:964) at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:595) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at org.jboss.mq.server.MessageReference.getHeaders(MessageReference.java:258) at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:463) at org.jboss.mq.server.JMSTopic.receive(JMSTopic.java:284) at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:222) at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:661) at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:570) at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:226) at org.jboss.mq.il.jvm.JVMServerIL.receive(JVMServerIL.java:244) at org.jboss.mq.Connection.receive(Connection.java:951) ... 2 more -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062823&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] jboss-3.2 build.170 Build Fixed
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-3.2?log=log20041108210652Lbuild.170 BUILD COMPLETE - build.170Date of build: 11/08/2004 21:06:52Time to build: 15 minutes 37 secondsLast changed: 11/08/2004 20:39:01Last log entry: Remove the SecurityDomainEditor Unit Tests: (0) Total Errors and Failures: (0) Modifications since last build: (54)1.1.4.1deletedstarksmsecurity/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.javaRemove the SecurityDomainEditor1.1.2.9modifiedstarksmtools/etc/buildmagic/version-info.xmlSet the version.cvstag to JBoss_3_2_7_RC1 for the release1.1.2.29modifiedstarksmtools/etc/buildmagic/buildmagic.entSet the version.cvstag to JBoss_3_2_7_RC1 for the release1.1.2.4modifiedstarksmtestsuite/src/main/org/jboss/test/cluster/test/WebSessionTestCase.javaRename testServletSessionLoadBalancing to badtestServletSessionLoadBalancing to disable the test as it currently does not work because the JBossCache http session layer does not invalidate the local session when a remote session is updated.1.1.2.25modifiedstarksmtestsuite/imports/test-jars.xmlInclude the login configuration for the secured ENC bean in the naming.jar1.1.4.3modifiedstarksmtestsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.javaAdd tests of accessing a secured ejb to use of the custom InitialContextFactory impls that accept the login info from the InitialContext env1.1.10.2modifiedstarksmtestsuite/src/main/org/jboss/test/naming/interfaces/TestENC.javaAdd tests of accessing a secured ejb to use of the custom InitialContextFactory impls that accept the login info from the InitialContext env1.7.4.5modifiedstarksmtestsuite/src/main/org/jboss/test/naming/ejb/TestENCBean.javaAdd tests of accessing a secured ejb to use of the custom InitialContextFactory impls that accept the login info from the InitialContext env1.1.4.7modifiedstarksmtestsuite/src/resources/naming/jar/META-INF/ejb-jar.xmlAdd tests of accessing a secured ejb to use of the custom InitialContextFactory impls that accept the login info from the InitialContext env1.1.4.2modifiedstarksmtestsuite/src/resources/naming/jar/META-INF/jboss.xmlAdd tests of accessing a secured ejb to use of the custom InitialContextFactory impls that accept the login info from the InitialContext env1.1.2.2modifiedstarksmvaria/src/resources/jmx/jmx-console-roles.propertiesInclude the HttpInvoker in the admin user roles since the http-invoker.war uses the jmx-console security domain by default now.1.3.2.2modifiedstarksmtestsuite/src/resources/security/users.propertiesUpdate for the http secured http invoker tests1.5.2.3modifiedstarksmtestsuite/src/resources/security/auth.confInclude the ClientLoginModule in the testLoginInitialContext config1.1.2.3modifiedstarksmtestsuite/src/resources/naming/services/jboss-service.xmlMove the read only naming service mbean configuration into the jboss-service.xml descriptor of the naming-readonly.sar as the naming-xmbean.xml cannot be shared by both the naming-readonly.sar and naming-pooled.sar1.1.2.24modifiedstarksmtestsuite/imports/test-jars.xmlRemove the naming-xmbean.xml descriptor from the naming-readonly.sar1.1.2.8modifiedstarksmtestsuite/src/main/org/jboss/test/classloader/test/ScopingUnitTestCase.javaDisable the testWarXmlOverrides test as its invalid as of jdk1.4+ due to the bundling of the xerces parser with the jdk1.2.4.15modifiedstarksmtestsuite/src/main/org/jboss/test/naming/test/SimpleUnitTestCase.javaUse the jnp.localAddress to set the interface through which the discovery broadcast is made.1.18.2.21modifiedstarksmnaming/src/main/org/jnp/interfaces/NamingContext.javaFix the assignment of the discovery socket local address1.1.1.1.4.4modifiedstarksmtestsuite/src/main/org/jboss/test/jbossnet/security/server/AuthenticationBean.javaUse jbossnet-tests as the security domain1.1.1.1.4.4modifiedstarksmtestsuite/src/main/org/jboss/test/jbossnet/security/server/AuthorizationBean.javaUse jbossnet-tests as the security domain1.1.2.14modifiedstarksmserver/src/resources/org/jboss/metadata/jboss-web_3_2.dtdAdd a flushOnSessionInvalidation attribute to security-domain. This a boolean indicating whether the associated security domain cache should be flushed when the web session is invalidated. If true, the security manager service flushAuthenticationCache(String, java.security.Principal) is called when the session is seen to be invalid due to expiration or explicit invalidation.1.1.2.2modifiedstarksmtestsuite/src/resources/web/form-auth/jboss-web.xmlAdd a flushOnSessionInvalidation=true attribute to the security-domain1.1.1.1.4.4modifiedstarksmtestsuite/src/main/org/jboss/test/jbossnet/security/SecurityUnitTestCase.javaGet rid of the override of the other security domain login configuration. This is done via the DynamicLoginConfig service now.1.1.2.23modifiedstarksmtestsuite/
[JBoss-dev] [JBossWS] - Re: DII client complains about serializer
Here i'm coming again, i got an another serializer problem. when i use java.util.Vector as a bean member type, i got the result below, my question is , is it unsupport in jbossWS ? org.apache.axis.AxisFault: No serializer found for class java.util.Vector$1 in registry [EMAIL PROTECTED] at org.apache.axis.AxisFault.makeFault(AxisFault.java:138) at org.apache.axis.MessagePart.writeTo(MessagePart.java:280) at org.apache.axis.MessagePart.getAsString(MessagePart.java:565) at org.apache.axis.MessagePart.getAsBytes(MessagePart.java:419) at org.apache.axis.Message.getContentType(Message.java:473) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:1027) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854370#3854370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854370 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Re: config webservice URL
Any plans for when this will occur? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854369#3854369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854369 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] jboss-4.0 build.154 Build Successful
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0?log=log20041108202650Lbuild.154 BUILD COMPLETE - build.154Date of build: 11/08/2004 20:26:50Time to build: 16 minutes 24 secondsLast changed: 11/08/2004 19:05:24Last log entry: Backported from HEAD:Added support for SubDeployers to specify their Suffixes/RelativeOrderand MainDeployer to dynamically update its own SuffixOrder listwhen the SubDeployers register themselves. Unit Tests: (0) Total Errors and Failures: (0) Modifications since last build: (1)1.74.2.2modifiedanddsystem/src/main/org/jboss/deployment/MainDeployer.javaBackported from HEAD:Added support for SubDeployers to specify their Suffixes/RelativeOrderand MainDeployer to dynamically update its own SuffixOrder listwhen the SubDeployers register themselves.
[JBoss-dev] [JBossWS] - Re: A question about jbossws deploy
when I deploy this application to jboss,some message is like: 08:47:39,545 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.0.0/ser ver/default/deploy/consumerwebsite.ear 08:47:41,537 WARN [QNameBuilder] Cannot find namespaceURI for name: servicens:O pcPurchaseOrderService 08:47:41,537 WARN [QNameBuilder] Cannot find namespaceURI for name: servicens:O pcOrderTrackingService this application,all *.wsdl file all build by sun tools--wscompile not axis java2wsdl.I cannot sure jboss server is compatible.Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854362#3854362 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854362 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Build System] - Re: build all fails in 4.0
The most target is used to build releases. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854361#3854361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854361 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Re: custom provider in jboss 4.0
But InvokerProviderEJB forces an "invoke" on the SLSB method in the RequestEnvelope, which implies that every method in the WebLogic EJBs would have to be hard-coded in the gateway EJB on JBoss. In one word, the solution is a static proxy as opposed to a dynamic proxy - not practical with hundreds of operations in several Web Services, with overloaded operations *across* Web Services. Hence my earlier question: Could a custom handler be used instead of a custom provider, with the handleRequest method returning false? --Darma View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854360#3854360 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854360 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re:
Is this an anonymous inner class or just an inner class? I'm pretty sure there is a test in the testsuite somewhere for inner classes. If you send me a testcase, I can try it out. [EMAIL PROTECTED] Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854359#3854359 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854359 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - A question about jbossws deploy
when I deploy a webservice application of Sun java blueprint ,Adventure to jboss server4.0.0.I modified some config file about webservice when i checkout the order,I received a error message like: # 08:23:43,129 ERROR [Service] Error processing WSDL document: javax.xml.rpc.ServiceException: Cannot find service: OpcPurchaseOrderService javax.xml.rpc.ServiceException: Error processing WSDL document: javax.xml.rpc.ServiceException: Cannot find service: OpcPurchaseOrderService at org.apache.axis.client.Service.initService(Service.java:358) at org.apache.axis.client.Service.initService(Service.java:288) at org.apache.axis.client.Service.(Service.java:195) at org.jboss.webservice.client.ServiceImpl.(ServiceImpl.java:99) at org.jboss.webservice.client.ServiceObjectFactory.getObjectInstance(Se rviceObjectFactory.java:155) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3 01) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:621) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:643) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.sun.j2ee.blueprints.consumerwebsite.actions.CheckoutHTMLAction.bu ildPurchaseOrder(Unknown Source) at com.sun.j2ee.blueprints.consumerwebsite.actions.CheckoutHTMLAction.pe rform(Unknown Source) at com.sun.j2ee.blueprints.waf.controller.web.html.HTMLActionSupport.per form(Unknown Source) at com.sun.j2ee.blueprints.waf.controller.web.RequestProcessor.processRe quest(Unknown Source) at com.sun.j2ee.blueprints.waf.controller.web.MainServlet.doProcess(Unkn own Source) at com.sun.j2ee.blueprints.waf.controller.web.MainServlet.doPost(Unknown Source) web.xml is like: # OPC PO Service Client service/OpcPurchaseOrderService com.sun.j2ee.blueprints.consumerwebsite.actions.OpcPurchaseOrderService WEB-INF/wsdl/OpcPurchaseOrderService.wsdl WEB-INF/opc-po-jaxrpc-mapping.xml servicens:OpcPurchaseOrderService OPC OT Service Client service/OpcOrderTrackingService com.sun.j2ee.blueprints.consumerwebsite.actions.OpcOrderTrackingService WEB-INF/wsdl/OpcOrderTrackingService.wsdl WEB-INF/opc-ot-jaxrpc-mapping.xml servicens:OpcOrderTrackingService mapping.xml is like: ### http://java.sun.com/xml/ns/j2ee"; xmlns:impl="urn:OpcPurchaseOrderService" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";> com.sun.j2ee.blueprints.consumerwebsite.actions urn:OpcPurchaseOrderService com.sun.j2ee.blueprints.consumerwebsite.actions.Address typeNS:Address complexType city city country country postalCode postalCode state state streetName1 streetName1 streetName2 streetName2 com.sun.j2ee.blueprints.consumerwebsite.actions.PurchaseOrderIntf_submitPurchaseOrder_ResponseStruct typeNS:submitPurchaseOrderResponse complexType result result com.sun.j2ee.blueprints.consumerwebsite.actions.PurchaseOrder typeNS:PurchaseOrder complexType activities activities billingInfo billingInfo creditCard creditCard departureCity departureCity departureFlightInfo departureFlightInfo emailId emailId endDate endDate headCount headCount locale locale lodging lodging orderDate orderDate poId poId returnFlightInfo returnFlightInfo shippingInfo shippingInfo startDate startDate totalPrice totalPrice userId userId com.sun.j2ee.blueprints.consumerwebsite.actions.Lodging typeNS:Lodging complexType endDate endDate location location lodgingId lodgingId name name noNights noNights noRooms noRooms pricePerNight pricePerNight startDate startDate com.sun.j2ee.blueprints.consumerwebsite.actions.CreditCard typeNS:CreditCard complexType cardExpiryDate cardExpiryDate cardNumber cardNumber cardType cardType com.sun.j2ee.blueprints.consumerwebsite.actions.ContactInfo typeNS:ContactInfo complexType address address email email familyName familyName givenName givenName phone phone com.sun.j2ee.blueprints.consumerwebsite.actions.ProcessingException typeNS:ProcessingException complexType message message com.sun.j2ee.blueprints.consumerwebsite.actions.Transportation typeNS:Transportation complexType carrier carrier departureDate departureDate departureTime departureTime destination destination headCount headCount origin origin price price transportationId transportationId travelClass travelClass com.sun.j2ee.blueprints.consumerwebsite.actions.InvalidPOException typeNS:InvalidPOException complexType message message com.sun.j2ee.blueprints.consumerwebsite.actions.Activity typeNS:Activit
[JBoss-dev] [Build System] - Re: build all fails in 4.0
Well Mr. Stark, you have to tell us you're building with 4.0.1 -). So are you saying that the 'all' target doesn't work in production 4.0? How do/did you build everything? The default build works for me also, but I wanted to generate the Javadocs too. When I just ran with the 'docs' option there were various undefined attributes. The missing todo's and other folders were what i was seeing too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854355#3854355 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854355 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - "Could not find class it references" error in AOPC
I have all the required classes in the classpath. Still I get error: [aopc] [error] Failed to aspectize class com.sch.ua.service.ebs.EBSEnvironment$1AdminServlet. Could not find class it references com.sch.ebs.foundation.core.Configurator.. Do verbose mode if you want full stack trace. As you can see, it's coming from a inner class. Does JBossAOP work with inner classes? This is really bizarre. Please someone help me. Thanks Atif View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854354#3854354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854354 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Build System] - Re: build all fails in 4.0
That was fixed for the 4.0.1RC1 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854352#3854352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854352 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Maintaining consistent object graph
I've been looking through the code a little. Here's a question for someone more knowledgeable than I: Given the described scenario, what if all my domain objects extend some common superclass DomainObject, and I add the DomainObject class to the Set of immediates (primitives) in org.jboss.cache.aop.CachedType? I assume my domain objects will be cached at the domain object level, rather than being deflated into the primitives of which they are composed (Strings, ints, booleans, etc). Does this give me the cache consitency behaviour described earlier in this thread? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854351#3854351 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854351 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Build System] - Re: build all fails in 4.0
I get an error building from the jboss-4.0.0-src.tar.gz distribution using all: | cd build | ./build.sh all | ... | _module-common-all: | [mkdir] Created dir: /home/rcampbell/src/jboss-4.0.0-src/build/output/jboss-4.0.0/docs/api/common | [copy] Copying 671 files to /home/rcampbell/src/jboss-4.0.0-src/build/output/jboss-4.0.0/docs/api/common | [mkdir] Created dir: /home/rcampbell/src/jboss-4.0.0-src/build/output/jboss-4.0.0/docs/todo/common | | BUILD FAILED | /home/rcampbell/src/jboss-4.0.0-src/build/build.xml:501: /home/rcampbell/src/jboss-4.0.0-src/common/output/todo not found. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854350#3854350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854350 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Build System] - Re: build all fails in 4.0
Building the all target works fine for me. | [EMAIL PROTECTED] JBoss4.0]$cvs co -r Branch_4_0 jboss-4.0 | [EMAIL PROTECTED] jboss-4.0]$ cd build/ | [EMAIL PROTECTED] build]$ ./build.sh all | ... | | all: | | BUILD SUCCESSFUL | Total time: 8 minutes 16 seconds | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854348#3854348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854348 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [QA (Test Suite)] - Re: Functional Tests
module/tests/src View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854346#3854346 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854346 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Build System] - Re: build all fails in 4.0
Don't give a target, just use the default: | cd build | ./build.sh | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854345#3854345 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854345 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Client bind of Invoker..
There is nothing that prevents you from introducing this by customizing your proxy to include an alternate InvokerInterceptor. I can't say I see this as a general issue as the client already chooses the invoker based on the ejb home name. There are many reasons why the server should couple the invoker to the proxy configuration such as customization of the transport with the associated client side interceptors/socket factories, transport specific interceptors to deal with protocol exceptions. Scott Stark Chief Technology Officer JBoss Inc. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dave Smith > Sent: Monday, November 08, 2004 1:11 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-dev] Client bind of Invoker.. > > I would like to change the invoker such that the client can > decide on the invoker to use not the server. The problem with > the current setup is that if you have local clients that wish > to use RMI and remote clients using HTTP you have to have 2 > different configurations and bind each EJB in JNDI with both > invokers. When the client starts up it knows based on its > configuration settings which invoker it is going to use. Why > not have a system property that overrides the default invoker? > > So in InvokerInterceptor we replace > else > { > // The payload will go through marshalling at the > invoker layer > Invoker invoker = ctx.getInvoker(); > returnValue = invoker.invoke(invocation); > } > > with > > static Invoker clientOverride=null; > static boolean checkOverride=false > .. > else > { >if(!checkOverride) >{ > String prop = System.getProperty("jboss.client.invoker"); > if(prop != null) > { >InitialContext ctx = new InitialContext(); >clientOverride= (Invoker)cxt.lookup(prop); >ctx.close(); > } > checkOverride=true; >} >Invoker invoker >if(clientOverride != null) >{ > invoker = clientOverride; >} >else >{ > invoker=ctx.getInvoker(); >} >returnValue = invoker.invoke(invocation); } > > > -- > Dave Smith > CANdata Systems Ltd > 416-493-9020 > --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Build System] - build all fails in 4.0
I am unable to run the build.sh script with the all option. Various directories seem to be missing. Creating them by hand gets me up to the jaxrpc module, which states that no source files and no packages have been specified. Is there a way to get the full build to run under 4.0? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854343#3854343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854343 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss IDE (dev)] - Re: double-click breakpoints broken
Hey Dave =) Thanks for the report -- I'm going to try removing the JBoss AOP Java Editor from the AOP extension completely in an upcoming release. I think I can do most of what I need to do in that class using the Eclipse Selection API (which I was ignorant of when I wrote the editor extension). Unfortunately, eclipse has no way to set an editor as default for the current project. It's only system-wide, so this is a huge drawback for the AOP Java Editor if/when it has a bug =/. Thanks for the report =) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854341#3854341 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854341 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [QA (Test Suite)] - Re: Functional Tests
I always hit the submit button too soon. What are the standards for directory structure of the tests? Do tests go in module/src/test or module/tests/src? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854342#3854342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854342 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [QA (Test Suite)] - Re: Functional Tests
Ok, Tom, what do you think about Scott's suggestion? I prefer this because it reduces coupling between the testsuite and other modules. You can access targets and properties from your main build.xml by using the [import] task. Take a look at this: http://www.jboss.org/wiki/Wiki.jsp?page=FunctionalTests View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854339#3854339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854339 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss Profiler] - Installation Help - Part 2
First off, sorry about the new thread but for some reason I cannot post a reply on the first one. ("Cannot invoke the operation : the module threw an exception") Thank you for the quick response. I was able to get the profiler to gather data when I started jboss through a dos window (great work on the product btw), however JBossIDE/Eclipse continues to cause me problems. If the debugging architecture interferes with the profiler then that is most likely the cause. It's only a matter of convenience, so I have no problem running jboss outside eclipse when I need to profile the code. Thanks again for your input. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854338#3854338 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854338 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Client bind of Invoker..
I would like to change the invoker such that the client can decide on the invoker to use not the server. The problem with the current setup is that if you have local clients that wish to use RMI and remote clients using HTTP you have to have 2 different configurations and bind each EJB in JNDI with both invokers. When the client starts up it knows based on its configuration settings which invoker it is going to use. Why not have a system property that overrides the default invoker? So in InvokerInterceptor we replace else { // The payload will go through marshalling at the invoker layer Invoker invoker = ctx.getInvoker(); returnValue = invoker.invoke(invocation); } with static Invoker clientOverride=null; static boolean checkOverride=false .. else { if(!checkOverride) { String prop = System.getProperty("jboss.client.invoker"); if(prop != null) { InitialContext ctx = new InitialContext(); clientOverride= (Invoker)cxt.lookup(prop); ctx.close(); } checkOverride=true; } Invoker invoker if(clientOverride != null) { invoker = clientOverride; } else { invoker=ctx.getInvoker(); } returnValue = invoker.invoke(invocation); } -- Dave Smith CANdata Systems Ltd 416-493-9020 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Accessing objects in replicated cache
p.age=10 p.age=10 will generate *2* replication messages as of now (with TXs). We plan to introduce optimizations later, e.g. compact the modification list before shipping it. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854331#3854331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854331 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss Profiler] - Re: Installation Help
Possible reason for failure it that you are starting it with debugger. - The profiler doesn't work if you keep JPDA start command lines. Let me know if you didn't get it working, them I will get a closer look on JBossIDE integration with JBossProfiler. Thanks for the input, Clebert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854326#3854326 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854326 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Tomcat] - ClassNotFoundException from JasperException
I'm having an issue where it seems like the content that's in my database affects whether or not my jsp compiles and is loaded correctly. I have a build, fresh from our VSS, which works on other users' machines. When I put the build on my machine, with a different DB, I get an error that states that the jsp cannot be compiled or loaded. I'm at a loss as to why the database would affect JSP compilation. Here is the error java.lang.ClassNotFoundException: org.apache.jsp.leaderboard.ack_jsp at java.net.URLClassLoader$1.run()Ljava.lang.Object;(URLClassLoader.java:199) at jrockit.vm.AccessController.do_privileged_exc(Ljava.security.PrivilegedExceptionAction;Ljava.security.AccessControlContext;I)Ljava.lang.Object;(Unknown Source) at jrockit.vm.AccessController.doPrivileged(Ljava.security.PrivilegedExceptionAction;Ljava.security.AccessControlContext;)Ljava.lang.Object;(Unknown Source) at java.net.URLClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(URLClassLoader.java:187) at org.apache.jasper.servlet.JasperLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(JasperLoader.java:156) at org.apache.jasper.servlet.JasperLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(JasperLoader.java:69) at org.apache.jasper.JspCompilationContext.load()Ljava.lang.Class;(JspCompilationContext.java:548) at org.apache.jasper.servlet.JspServletWrapper.getServlet()Ljavax.servlet.Servlet;(JspServletWrapper.java:136) at org.apache.jasper.servlet.JspServletWrapper.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Z)V(JspServletWrapper.java:307) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Ljava.lang.String;Ljava.lang.Throwable;Z)V(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.doForward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationDispatcher.java:409) at org.apache.catalina.core.ApplicationDispatcher.forward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationDispatcher.java:312) at com.smg.leaderboard.LeaderboardBaseServlet.dispatchService(Ljava.lang.String;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(LeaderboardBaseServlet.java:217) at LeaderboardServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(LeaderboardServlet.java:136) at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:697) at com.smg.leaderboard.LeaderboardBaseServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(LeaderboardBaseServlet.java:138) at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(ReplyHeaderFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina.ValveContext;)V(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(Lorg.apache.catalina.Request;Lorg.apache.ca
[JBoss-dev] [JBoss Profiler] - Installation Help
I'm having troubles configuring the profiler through eclipse and am hopine someone can help. I've built and compiled the .war and .sar files and the mbean seems to deploy properly, however when I click on activate nothing seems to happen (no logs are creating containing captured data.) I've also tried adding "-XrunjbossInspector:/temp/jboss" to my startup options (I'm starting jboss via the jbosside in elcipse), but when I do that jboss fails to start. It sits there with the message "Establishing debug connection...". Two files (serverspy_2584_main_1099943393072.log, log_spyserver_2436.txt) are created in my temp/jboss directory but contain nothing useful. Hopefully I'm missing something easyhas anyone else had problems with this? Should also mention that I'm running Jboss 3.2.6. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854322#3854322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854322 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Accessing objects in replicated cache
Ben, thanks so much for bearing with my naive question. I have a much better understanding now. Q: What happens in the following scenario. 1. I putObject(myObj) into a TreeCacheAOP 2. Write various fields of myObj. Some writes are identical data, some are real updates. Will TreeCacheAop detect what was really changed in the object and propagate only those fields that indeed changed or will it blindly propagate all fields that has been written to? As you can figure I will have to do complex updates and want to make sure that only the bare minimum of cluster traffic is induced... Thanks a bunch, Z View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854320#3854320 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854320 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Newbie question: How to access the cache instance deploy
yes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854316#3854316 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854316 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - war interaction and virtual hosting
Hi, I am running under JBoss 4.0.0. My application is packaged as an ear which contains two war. The first war contains common JSP pages, servlets, CSS. The second one contains the real application content that refers to the first one. Since a JBoss instance could host several similar ear , I have to restrict the content of one ear in one virtual host. To do that, I had an < host > entry in servler.xml (in jbossweb-tomcat50.sar folder), I specify the same virtual host in jboss-web.xml of the two war files and a different context path. I replicate the same context paths in the application.xml file of the ear. Finally I modify my etc/hosts file to include my virtual host. I've got the following error while deploying: 11:26:42,380 ERROR [BaseModelMBean] Exception invoking method addChild java.lang.IllegalArgumentException: addChild: Child name 'w00357.example.com' is not unique at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:817) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardEngine.addChild(StandardEngine.java:318) 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) Did I do something wrong? Thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854314#3854314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854314 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss IDE (dev)] - Re: how to use jbossIDE to compile jsp
I was able to get the JSP compiler to work. Originally my source was in a linked folder outside of the eclipse workspace. To get the JSP compile to work, I created a new directory called "docroot" under my project folder (C:\eclipse\workspace\MyProj\docroot) and put a jsp there. Now the jsp gets compilation warnings. Maybe you cannot have your JSPs in a linked folder for this feature to work. - Charley View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854304#3854304 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854304 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Automatic notification subscription management for XMBeans?
I just thought I could create an extention to the XMBean descriptor to allow for declarative handling of JMX subscription notification, ala org.jboss.system.NotificationListenerMBeanSupport. (see http://www.jboss.org/wiki/Wiki.jsp?page=SubscriptionList) The target resource (POJO) would just have to implement javax.management.NotificationListener (i.e. the handleNotification() method). In the XMBean descriptor you could write something like: | ... | | true | start | stop | | | | | | | ... | I have most of the code in ListenerServiceMBeanSupport, I just need to instantiate a new method interceptor in the presence of the "subscriptions" element that would subscribe after "start()" has returned and unsubscribe before "stop()" is called. How about that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854297#3854297 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854297 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Too many stack traces when user exception thrown
I am running JBossWS 4.01RC1 and whenever I throw my own custom Exception for a SOAP call the system is logging the exception with 3 stack traces. This is making the log huge. This data is not necessary for custom exceptions. Does JBossWS not support custom exceptions properly? How can I calm down all of this logging? A sample of the stack traces produced follows: 2004-11-08 10:47:26,073 ERROR [org.jboss.webservice.server.ServiceEndpointInterceptor] Error from service endpoint, processing fault handler chain edu.msu.ais.d6501.sentinel.SentinelException: Access Denied at edu.msu.ais.d6501.sentinel.client.internal.SentinelClient.getIdentity(SentinelClient.java:260) at edu.msu.ais.d6501.sentinel.ejb.SentinelMonitorEJB.getIdentity(SentinelMonitorEJB.java:119) 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.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:106) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:856) 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:129) at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:347) at org.apache.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:357) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560) at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:202) at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:91) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:967) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterC
[JBoss-dev] [JBossCache] - Re: Newbie question: How to access the cache instance deploy
Thanks Bela for your quick reply! When JBossCache 1.2 is out, will it be integrated with JBoss 3.2.x besides 4.x? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854295#3854295 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854295 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Security on JBoss] - Re: Does JBoss 3.2 work with SSL on IBM JRE 1.4??
Correct as jboss-3.2.x requires jdk1.3 to build and the 1.0.x JSSE extension package has never introduced the non-sun versions of the SSLContext. We added a workaround for a similar problem with the https connection that would look for a javax.net.* version of the class when running under java 1.4.x so we need to do the same thing here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854292#3854292 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854292 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Security on JBoss] - LdapLoginModule overrides the principal and credentials (BUG
My login-config.xml needs to access Ldap to do authentication, each user is located under the dn: ou=people,dc=claudius,dc=com and the roles is ou=groups,dc=claudius,dc=com, look the ldif | # user | dn: uid=eliane,ou=People,dc=claudius,dc=com | cn: Eliane Almada Miranda | givenName: Eliane | objectClass: top | objectClass: person | objectClass: organizationalPerson | objectClass: inetorgperson | sn: Miranda | title: Java Guru | uid: eliane | userPassword:: ZWxpYW5l | | # group | dn: cn=JBossAdmin,ou=Groups,dc=claudius,dc=com | description: Usuarios admin (INTRANET) | objectClass: top | objectClass: groupofuniquenames | uniqueMember: uid=eliane,ou=People, dc=claudius,dc=com | uniqueMember: uid=rafael,ou=People, dc=claudius,dc=com | cn: JBossAdmin | login-config.xml | | | | com.sun.jndi.ldap.LdapCtxFactory | ldap://localhost:389 | simple | cn=Directory Manager,dc=claudius,dc=com | admin123 | uid= | ,ou=People,dc=claudius,dc=com | uniqueMember | cn | true | ou=Groups,dc=claudius,dc=com | | | | Trying to login into my app, I get permission denied Below is the ldap log | Nov 5 22:21:21 demolidor slapd[2587]: conn=0 fd=10 ACCEPT from IP=127.0.0.1:32881 (IP=0.0.0.0:389) | Nov 5 22:21:21 demolidor slapd[2587]: conn=0 op=0 BIND dn="uid=eliane,ou=people,dc=claudius,dc=com" method=128 | Nov 5 22:21:21 demolidor slapd[2587]: conn=0 op=0 RESULT tag=97 err=49 text= | Nov 5 22:21:21 demolidor slapd[2587]: conn=0 fd=10 closed | Nov 5 22:21:26 demolidor slapd[2587]: conn=1 fd=10 ACCEPT from IP=127.0.0.1:32882 (IP=0.0.0.0:389) | Nov 5 22:21:26 demolidor slapd[2587]: conn=1 op=0 BIND dn="uid=eliane,ou=people,dc=claudius,dc=com" method=128 | Nov 5 22:21:26 demolidor slapd[2587]: conn=1 op=0 RESULT tag=97 err=49 text= | Nov 5 22:21:26 demolidor slapd[2587]: conn=1 fd=10 closed | Persons under "ou=people" don't has permission to login into the ldap, so a service user needs to be used (analog to the database user for datasources). Then "cn=Directory Manager" comes to help. As you can see, the login-config.xml is properly configured. But the ldap log yet shows the same behavior as described above: | Nov 5 22:21:21 demolidor slapd[2587]: conn=0 op=0 BIND dn="uid=eliane,ou=people,dc=claudius,dc=com" method=128 | Nov 5 22:21:21 demolidor slapd[2587]: conn=0 op=0 RESULT tag=97 err=49 text= | Then looking into LdapLoginModule, the Context.PRINCIPAL and Context.CREDENTIALS are being overriden, as described below: | 255: env.setProperty(Context.SECURITY_PRINCIPAL, userDN); | 256: env.put(Context.SECURITY_CREDENTIALS, credential); | Just comment the lines above, compiled and updated the $JBOSS_HOME/server/default/lib/jbosssx.jar, and everything worked fine. The user entered into the system, and ldap log shows: | Nov 5 22:22:00 demolidor slapd[2587]: conn=2 fd=10 ACCEPT from IP=127.0.0.1:32883 (IP=0.0.0.0:389) | Nov 5 22:22:00 demolidor slapd[2587]: conn=2 op=0 BIND dn="cn=Directory Manager,dc=claudius,dc=com" method=128 | Nov 5 22:22:00 demolidor slapd[2587]: conn=2 op=0 BIND dn="cn=Directory Manager,dc=claudius,dc=com" mech=simple ssf=0 | Nov 5 22:22:00 demolidor slapd[2587]: conn=2 op=0 RESULT tag=97 err=0 text= | Nov 5 22:22:00 demolidor slapd[2587]: conn=2 op=1 SRCH base="ou=Groups,dc=claudius,dc=com" scope=2 filter="(&(uniqueMember=uid=eliane,ou=people,dc=claudius,dc=com))" | Nov 5 22:22:01 demolidor slapd[2587]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) | Nov 5 22:22:01 demolidor slapd[2587]: conn=2 op=2 UNBIND | Nov 5 22:22:01 demolidor slapd[2587]: conn=2 op=1 SEARCH RESULT tag=101 err=0 nentries=2 text= | Nov 5 22:22:01 demolidor slapd[2587]: conn=2 fd=10 closed | Is this the expected behavior ? Is this a bug ? At LdapLoginModule, there is 2 Maps instances: "env" and "options", they are redundant. Another question: At my web.xml or application.xml is declared the roles of my app, how can I map the role names to the real groups of ldap ? I already read the chap 8, "Security Guide", but I didn't find a clear way to do that. Thanks Claudio Miranda View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854291#3854291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854291 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Maintaining consistent object graph
The end goal is not for that last false to be true, so it's not enough for me to just change that portion of the code. The end goal is that when I implement custom equality logic in my domain objects, the cache uses that logic to ensure that only the most recent instance of any given domain object is ever in the cache, regardless of how many other domain objects reference them. Testing whether the two addresses were equal using == rather than .equals() was just a way of verifying that. Basically, if Joe and Mary and their shared Address are in the cache, but I reload Mary (and her Address) from the database and stick her in the cache again, I need Joe to automatically reference the newer Address that Mary references. If I were to modify the JBossCache source to behave this way, what class(es) would I need to look at? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854289#3854289 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854289 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE on redeploy (inside aspect library code)
Just wanted to respond back to this thread what the problem is and potential resolutions, so it is useful to other people. This problem with redeployment stems from the fact the the AspectManger inside of the AOP framework in certain cases can be loaded inside a different ClassLoader than the aspected classes it is servicing. So, in my particular case, my deployment being scoped, causes my classes to be loaded, and unloaded on redeployment inside a different classloader than the AspectManager. Now, why is that a problem? The AspectMangager keeps a cache of ClassAdvisors that have been inited (sets up invocations chains, interceptors, etc), that is keyed off the class name only. So, when the same class from a different ClassLoader is presented, the cached version of the ClassAdvisor is returned, and none of the initilization code is ran -- hence the NPE if the previous version of the class has been unloaded. It is now a known issue, and hopfully will be fixed soon. As a workaround, if you scope the classloading of your deployment, and include the JBoss AOP jar files inside your deployment, this will cause the AspectManager to be scoped to your deployment, and hence will hand out accurate ClassAdvisors on redeployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854288#3854288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854288 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Security on JBoss] - Does JBoss 3.2 work with SSL on IBM JRE 1.4??
Hi, I have an answer for the question I raised, and the answer is no, but I'd like to share my thought and have some feedback. I've installed JBoss 3.2.1 on AIX with IBM JRE 1.4.2, I've configured JBoss(&Tomcat) in order to use SSL and I started it but I got the following exception: java.security.NoSuchAlgorithmException: Class com.ibm.jsse.bq configured for SSLContext not a SSLContext at com.sun.net.ssl.SunJSSE_b.a(DashoA6275) at com.sun.net.ssl.SSLContext.getInstance(DashoA6275) at org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext(DomainServerSocketFactory.java:174) ... The JBoss 3.2.1 code references the com.sun.net.ssl.SSLContext class and works fine with Sun JRE (1.3 and 1.4) but can't work with non-Sun JRE and in this cases I have only two possibilities: - I have to modify JBoss 3.2.1 source using javax.net.ssl.SSLContext instead of com.sun.net.ssl.SSLContext and recompile it; - I have to use JBoss 4.0 which uses the class javax.net.ssl.SSLContext; What do you think? Do you agree? Thanks in advance, Andrea View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854284#3854284 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854284 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Eclipse project - library references?
Simply check out all of jboss-head, and create a project called thirdparty, that points to the jboss-head/thirdparty module, as outlined here: http://www.jboss.org/developers/guides/eclipse-howto/index (the ordering of the projects might be somewhat out of date, but should give you the general idea) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854283#3854283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854283 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062425 ] CreateException in jboss.xml
Bugs item #1062425, was opened at 2004-11-08 16:05 Message generated for change (Comment added) made by loubyansky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062425&group_id=22866 Category: JBossCMP Group: v3.2 >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Nicolas (cnico) >Assigned to: Alexey Loubyansky (loubyansky) Summary: CreateException in jboss.xml Initial Comment: Working exactly in the case describe in the following document : http://www.jboss.org/wiki/Wiki.jsp?page=InsertAfterEjbPostCreate. I have a CMR with a non null value constraint in the Database. The problem is to be solved with the document on the wiki but there is a CreateException (whose trace is given after) that is raised because I use a primary key sequence of oracle with an entity-command. I think the problem is that, as I tell Jboss not to insert in database before ejbpostcreate end, the primary key is not returned in ejbcreate normal call and is missing for ejbpostcreate. A solution would be to get only the primary key in ejbcreate and do the correct insert after ejbpostcreate. Here is the trace : javax.ejb.CreateException: Primary key for created instance is null. at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:574) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:211) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:577) 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.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1070) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:204) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:90) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:85) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478) at org.jboss.ejb.Container.invoke(Container.java:729) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:347) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy2035.create(Unknown Source) at com.travelsoft.nucleus.productadmin.enterprise.ProductServicesBean.createTourPrice(ProductServicesBean.java:1945) -- >Comment By: Alexey Loubyansky (loubyansky) Date: 2004-11-08 16:46 Message: Logged In: YES user_id=543482 Your analiysis is correct. This is not a bug. You should just use another entity-command, e.g. pk-sql. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062425&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] jboss-head-jdk-matrix build.6 Build Successful
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head-jdk-matrix?log=log20041108085211Lbuild.6 BUILD COMPLETE - build.6Date of build: 11/08/2004 08:52:11Time to build: 25 minutes 23 secondsLast changed: 11/08/2004 08:05:47Last log entry: Use javac excludes attribute instead of the include subelement to support multiple excludes. Unit Tests: (0) Total Errors and Failures: (0) Modifications since last build: (25)1.6modifiedtdieslerhibernate/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.96modifiedtdieslervaria/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.58modifiedtdiesleraop/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.46modifiedtdieslercache/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.57modifiedtdieslercluster/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.20modifiedtdieslertomcat/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.22modifiedtdieslertransaction/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.41modifiedtdieslerj2ee/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.54modifiedtdieslersecurity/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.15modifiedtdieslermedia/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.25modifiedtdieslerconsole/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.35modifiedtdiesleriiop/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.179modifiedtdieslerserver/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.30modifiedtdieslermanagement/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.23modifiedtdiesleraspects/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.23modifiedtdieslertools/etc/buildmagic/buildmagic.entUse javac excludes attribute instead of the include subelement to support multiple excludes.1.26modifiedtdieslernaming/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.71modifiedtdieslerconnector/build.xmlUse javac excludes attribute instead of the include subelement to support multiple excludes.1.21modifiedbelabancache/docs/TreeCache.xmladded section on using JBossCache from inside JBoss as MBean1.27modifiedloubyanskyconnector/src/resources/stylesheets/ConnectionFactoryTemplate.xslrenamed metadata template to type-mapping1.26modifiedloubyanskyconnector/src/resources/stylesheets/ConnectionFactoryTemplate.xsladded transformation for type-mapping, metadata is still supported but deprecated1.3modifiedloubyanskyconnector/src/resources/dtd/jboss-ds_1_5.dtdreplaced metadata ANY with type-mapping #PCDATA1.2modifiedbstansberrytestsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/tc5-cluster-service.xmlFor the clustered sso test case, use REPL_SYNC. Needed because the test case switches between cluster nodes before asynchronous replication transmits sso state changes.1.2deletedbstansberrytomcat/src/resources/sso-channel.xmlRemove the sso-channel.xml as clustered sso is now configured via the tc5-cluster-service1.3deletedbstansberrytestsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xmlRemove the specialized jboss-service.xml as the standard version in the tomcat module is fine
[JBoss-dev] [ jboss-Bugs-1062429 ] Problem deleting relations
Bugs item #1062429, was opened at 2004-11-08 16:09 Message generated for change (Settings changed) made by loubyansky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062429&group_id=22866 Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Javier Pedrido (javierpedrido) >Assigned to: Alexey Loubyansky (loubyansky) Summary: Problem deleting relations Initial Comment: I have two CMP 2.x entity beans that have a m:n relationship (ModelEJB and NodeEJB) and a typical model has thousands of nodes. The problems arrises when I want to delete all the nodes related to a model, the class org.jboss.ejb.plugins.cmp.jdbc.JDBCDeleteRelationsCommand creates a sql command so large that neither Oracle nor MS SqlServer can handle it. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062429&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062436 ] MultipartRequest encoding problem
Bugs item #1062436, was opened at 2004-11-08 15:29 Message generated for change (Settings changed) made by chamcha You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062436&group_id=22866 Category: Nukes Group: None Status: Open Resolution: None Priority: 5 Submitted By: chamcha (chamcha) Assigned to: Nobody/Anonymous (nobody) >Summary: MultipartRequest encoding problem Initial Comment: Take a look at the contructor of org.jboss.nukes.servlet.MultipartRequest. The parameters values are extracted from upload fields with the standard encoding, ignoring the configured character set. In fact, the zero parameters version of org.apache.commons.fileupload.FileItem is called. I've fix the problem passing the HttpRequest encoding to the FileItem.getString(). -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062436&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Nukes Development] - Re: Multipart encoding problem
I've sumbited it as bug 1062436 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854277#3854277 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854277 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062436 ] Multipart encoding problem
Bugs item #1062436, was opened at 2004-11-08 15:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062436&group_id=22866 Category: Nukes Group: None Status: Open Resolution: None Priority: 5 Submitted By: chamcha (chamcha) Assigned to: Nobody/Anonymous (nobody) Summary: Multipart encoding problem Initial Comment: Take a look at the contructor of org.jboss.nukes.servlet.MultipartRequest. The parameters values are extracted from upload fields with the standard encoding, ignoring the configured character set. In fact, the zero parameters version of org.apache.commons.fileupload.FileItem is called. I've fix the problem passing the HttpRequest encoding to the FileItem.getString(). -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062436&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062429 ] Problem deleting relations
Bugs item #1062429, was opened at 2004-11-08 14:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062429&group_id=22866 Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Javier Pedrido (javierpedrido) Assigned to: Nobody/Anonymous (nobody) Summary: Problem deleting relations Initial Comment: I have two CMP 2.x entity beans that have a m:n relationship (ModelEJB and NodeEJB) and a typical model has thousands of nodes. The problems arrises when I want to delete all the nodes related to a model, the class org.jboss.ejb.plugins.cmp.jdbc.JDBCDeleteRelationsCommand creates a sql command so large that neither Oracle nor MS SqlServer can handle it. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062429&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1062425 ] CreateException in jboss.xml
Bugs item #1062425, was opened at 2004-11-08 14:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062425&group_id=22866 Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nicolas (cnico) Assigned to: Nobody/Anonymous (nobody) Summary: CreateException in jboss.xml Initial Comment: Working exactly in the case describe in the following document : http://www.jboss.org/wiki/Wiki.jsp?page=InsertAfterEjbPostCreate. I have a CMR with a non null value constraint in the Database. The problem is to be solved with the document on the wiki but there is a CreateException (whose trace is given after) that is raised because I use a primary key sequence of oracle with an entity-command. I think the problem is that, as I tell Jboss not to insert in database before ejbpostcreate end, the primary key is not returned in ejbcreate normal call and is missing for ejbpostcreate. A solution would be to get only the primary key in ejbcreate and do the correct insert after ejbpostcreate. Here is the trace : javax.ejb.CreateException: Primary key for created instance is null. at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:574) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:211) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:577) 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.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1070) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:204) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:90) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:85) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478) at org.jboss.ejb.Container.invoke(Container.java:729) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:347) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy2035.create(Unknown Source) at com.travelsoft.nucleus.productadmin.enterprise.ProductServicesBean.createTourPrice(ProductServicesBean.java:1945) -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1062425&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time
Hi, I believe I have the same stack overflow problem. Slight differences are that I am just using a putObject to insert the object that contains my Collection (in my case an ArrayList). The putObject operation seems to work fine and the result of printDetails look as I would expect them to. The stack overflow (same as listed in a previous post) problem occurs when accessing the get method for the object's ArrayList. Other non Collection based get's from the same object do work. This only seems to be a problem when accessing the cache from within JBossAS. Other applications, running outside of the container, can access the object's ArrayList without a problem. Not sure this helps. I'm still struggling to to work out what I am doing wrong. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854272#3854272 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854272 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1061958 ] Java5 MarshallDocLiteralTestCase Failures
Bugs item #1061958, was opened at 2004-11-07 16:05 Message generated for change (Comment added) made by tdiesler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1061958&group_id=22866 Category: JBossWS Group: v4.0 >Status: Closed >Resolution: Fixed Priority: 6 Submitted By: Scott M Stark (starksm) Assigned to: Thomas Diesler (tdiesler) Summary: Java5 MarshallDocLiteralTestCase Failures Initial Comment: When running the all configuration from the current jboss 4.0 branch under jdk1.5.0: [EMAIL PROTECTED] testsuite]$ /usr/java/jdk1.5.0/bin/java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) the org.jboss.test.webservice.marshalltest.MarshallDocLiteralTestCase fails due to a deployment failure: Caused by: java.lang.ClassCastException: javax.xml.namespace.QName at java.util.Arrays.mergeSort(Arrays.java:1156) at java.util.Arrays.mergeSort(Arrays.java:1167) at java.util.Arrays.mergeSort(Arrays.java:1167) at java.util.Arrays.mergeSort(Arrays.java:1167) at java.util.Arrays.mergeSort(Arrays.java:1167) at java.util.Arrays.sort(Arrays.java:1080) at org.jboss.webservice.deployment.WSDDGenerator.appendTypeMappings(WSDDGenerator.java:115) at org.jboss.webservice.AxisService.generateDeploymentWSDD(AxisService.java:420) at org.jboss.webservice.AxisService.deployService(AxisService.java:243) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) ... 75 more Perhaps some conflict between the jboss QName and the jdk QName. -- >Comment By: Thomas Diesler (tdiesler) Date: 2004-11-08 13:46 Message: Logged In: YES user_id=423364 Sort the QNames independent of Compareable -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1061958&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Eclipse project - library references?
In the eclipse project for the aop module, the java build path contains references to jars in '/thirdparty/...'. Of course they are not there on my system. Has anyone encountered this? Is there any workaround (other than defining a variable and changing the library defintions)? thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854268#3854268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854268 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] jboss-4.0-jdk-matrix build.8 Build Successful
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0-jdk-matrix?log=log20041108074704Lbuild.8 BUILD COMPLETE - build.8Date of build: 11/08/2004 07:47:04Time to build: 30 minutes 47 secondsLast changed: 11/08/2004 07:18:24Last log entry: added section on using JBossCache from inside JBoss as MBean Unit Tests: (0) Total Errors and Failures: (0) Modifications since last build: (7)1.21modifiedbelabancache/docs/TreeCache.xmladded section on using JBossCache from inside JBoss as MBean1.27modifiedloubyanskyconnector/src/resources/stylesheets/ConnectionFactoryTemplate.xslrenamed metadata template to type-mapping1.26modifiedloubyanskyconnector/src/resources/stylesheets/ConnectionFactoryTemplate.xsladded transformation for type-mapping, metadata is still supported but deprecated1.3modifiedloubyanskyconnector/src/resources/dtd/jboss-ds_1_5.dtdreplaced metadata ANY with type-mapping #PCDATA1.2modifiedbstansberrytestsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/tc5-cluster-service.xmlFor the clustered sso test case, use REPL_SYNC. Needed because the test case switches between cluster nodes before asynchronous replication transmits sso state changes.1.2deletedbstansberrytomcat/src/resources/sso-channel.xmlRemove the sso-channel.xml as clustered sso is now configured via the tc5-cluster-service1.3deletedbstansberrytestsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xmlRemove the specialized jboss-service.xml as the standard version in the tomcat module is fine
[JBoss-dev] [ jboss-Bugs-1019633 ] No redeployment possible after unsuccessful first deployment
Bugs item #1019633, was opened at 2004-08-31 12:42 Message generated for change (Settings changed) made by tdiesler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1019633&group_id=22866 Category: JBossServer Group: v4.0 Status: Open Resolution: None Priority: 5 Submitted By: Simon (simongunz) >Assigned to: Thomas Diesler (tdiesler) Summary: No redeployment possible after unsuccessful first deployment Initial Comment: If deployment of ear fails (e.g. because of invalid deployment descriptors) any further deployment of the same (valid, since error corrected) archive fails with the following exception: org.jboss.deployment.DeploymentException: Error in accessing application metadata: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='jpi-jboss-iv.ear' already registered.) New deployment only succeeds after restarting JBoss. Since this is very inconvenient this behaviour should be changed so that deployment fails completely if there is a mistake in the deployment descriptor. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1019633&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1041622 ] invalid schemaLocation generated for imported schema
Bugs item #1041622, was opened at 2004-10-06 17:32 Message generated for change (Settings changed) made by tdiesler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1041622&group_id=22866 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: John Mazz (mazzgolf) >Assigned to: Thomas Diesler (tdiesler) Summary: invalid schemaLocation generated for imported schema Initial Comment: Somewhat related to 1041495 - see that issue for the hello.war attachment - the same war used to replicate the problem in that issue is the same war that can be used to replicate the problem for this issue. Same platforms as well were used to replicate. JBoss performs the cool feature of auto-modifying a web service's WSDLs (including its imported/included WSDLs and schemas). However, in one instance that modification produces a URL that does not point to the resource - I get a HTTP 500 instead. Deploy the hello.war (rather than duplicate attachments, see issue 1041495 for the attachment there). This assumes issue 1041495 has been corrected or worked around (I worked around it by fixing issue 1041495 inside a JPDA session and continuing). Once the web service is deployed, look at the hello service's WSDL. You will see an import of another WSDL (this is correct): That schemaLocation is incorrect - if you point your browser to that URL, you will get a HTTP 500 and the JBoss logs tells me "cannot obtain wsdl resource from: WEB-INF/wsdl/wsa/WS-Addressing-2003_03.xsd". Notice the ".." appears twice - I _think_ that is incorrect. I think it only needs to go up to the immediate parent directory only - it should not have gone up twice to its grandparent directory. This wsa directory is located as a peer directory to wsmf (under the spec parent - just like the WS-ResouceProperties- 1_1.wsdl is under wsrf which is under spec). I think it should be: schemaLocation="/hello/hello?wsdl&resource=../wsa/WS- Addressing-2003_03.xsd" However, when I put that URL in my browser, I still did not get the .xsd served up - I again got a 500. Funny thing is that the JBoss error log says it was still looking for "WEB-INF/wsdl/wsa/WS-Addressing-2003_03.xsd" - the same relative path it told me when I used the ../.. form. Using just ../ to go up one level instead of two didn't change the relative path JBoss was looking for. I did not have a chance to debug this to find out how to fix this - I just noticed that I was unable to get to that .xsd file from my browser (so, therefore, I assume any client of this web service will not be able to successfully parse its WSDL due to the inability to have the server serve up this schema). -- Comment By: John Mazz (mazzgolf) Date: 2004-10-06 17:42 Message: Logged In: YES user_id=1134120 This URL is one that JBoss likes - if I use this URL in my browser, I get that addressing schema .xsd file served up successfully to the browser: /hello/hello?wsdl&resource=../spec/wsa/WS-Addressing- 2003_03.xsd That's a URL that could have been generated in the imported WS-ResourceProperties-1_1.wsdl as mentioned in my first post. I don't know what "../.." is relative to so I don't know where JBoss went wrong in building that schemaLocation attribute. Hopefully, the info I have provided is enough info to fix this. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1041622&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1061111 ] Verifier warning message not found
Bugs item #106, was opened at 2004-11-05 18:08 Message generated for change (Settings changed) made by tdiesler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=106&group_id=22866 Category: JBossServer Group: v4.0 Status: Open Resolution: None Priority: 5 Submitted By: Patrick Murphy (murphyp1) >Assigned to: Thomas Diesler (tdiesler) Summary: Verifier warning message not found Initial Comment: 13:05:47,004 WARN [verifier] EJB spec violation: Bean : /d6501/SentinelMonitor Section: 7.11.1 Warning: No warning message found, please file a Bug report. 13:05:47,035 ERROR [MainDeployer] could not create deployment: file:/C:/home2/jboss/server/aistech/deploy/d6501ws- ejb.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create (EJBDeployer.java:553) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:898) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:754) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:718) at sun.reflect.GeneratedMethodAccessor37.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch (Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke (AbstractInterceptor.java:122) at org.jboss.mx.server.Invocation.invoke (Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationIntercepto r.invoke(ModelMBeanOperationInterceptor.java:131) at org.jboss.mx.server.Invocation.invoke (Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke (AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke (MBeanProxyExt.java:175) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.de ploy(URLDeploymentScanner.java:305) at org.jboss.deployment.scanner.URLDeploymentScanner.sc an(URLDeploymentScanner.java:463) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.doScan (AbstractDeploymentScanner.java:204) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.loop (AbstractDeploymentScanner.java:215) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.run (AbstractDeploymentScanner.java:194) -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=106&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Re: Newbie question: How to access the cache instance deploy
2 methods: #1: use the JNDI binding (available only in 1.2, sorry). The attribute would be "JndiName" #2: use the regular MBean lookup methods, e.g. | MBeanServer server=MBeanServerLocator.locate(); | TreeCacheMBean cache; | cache=(TreeCacheMBean)MBeanProxyExt.create(TreeCacheMBean.class, "jboss:service=JBossCache", server); | cache.put("/a/b/c", null); | Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854263#3854263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854263 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossCache] - Newbie question: How to access the cache instance deployed i
Hi all, I am new to JBossCache, and since I am not familiar with JMX, I would like to ask the following: how can I access the cache instance that is deployed in JBoss as an Mbean from, say, the web container(servlet) ? I went through the tutorial, but it is mostly for the standalone JBossCache instances. I define the mbean in an XML file under the deploy directory, and I can see it instantiated at startup. Then how can I reach this instance from the web container? I use the default XML from the tutorial i.e cache mode is REPL_SYNC. I can copy and paste the tutorial sample code in the init() method of servlet so that it can reach this cache instance that is instantiated at startup(using the same configuration file). Is this how it is supposed to work? How can I access the cache via mbean interface? Any info is really appreciated! Thanks, Pete View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854261#3854261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854261 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Re: Is JBossWS WS-I Compliance?
I was facing some issue when i try to develop doc/lit in JBoss.Net where my web method is not able to retrieve the value from 2nd parameter onward. After search through internet, I found that JBoss.Net is not fully WS-I compliance. So is there anyone have tried doc/lit JBossWS which is accepting more than 1 parameters? is it working? thanks... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854248#3854248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854248 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Re: Is JBossWS WS-I Compliance?
JBossWS is J2EE-1.4 compliant, which requires BasicProfile-1.0 compliancy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854247#3854247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854247 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [TODO -- DEVELOPMENT] - Re: 4.0.1 Release Tasks
Bugs item #1046721, DataSource metadata is incomplete/wrong, Assigned to Alexey, Status: Closed, fixed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854246#3854246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854246 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-1046721 ] DataSource metadata is incomplete/wrong
Bugs item #1046721, was opened at 2004-10-14 03:58 Message generated for change (Comment added) made by loubyansky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1046721&group_id=22866 Category: JBossCX Group: v4.0 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Adrian Brock (ejort) Assigned to: Alexey Loubyansky (loubyansky) Summary: DataSource metadata is incomplete/wrong Initial Comment: The DataSource metadata processing is incomplete/wrong. 1) The MBean does not belong in the JBoss JDBC resource adapter. This should neither depend on JMX or CMP. I already have TODOs to remove the current dependencies that have crept in so this RAR can be used outside of the jboss server. Besides, it is possible for db vendors to provide their own resource adapters (cf Firebird) and this service should still work. If it belongs anywhere in the connector module (which I don't think it does) it should be in a top level directory. The created service is logically associated with the connection factory deployment rather than the resource adapter deployment anyway. 2) The metadata/typemapping is not documented in jboss-ds-1_5.dtd Additionally, the whole point of this file is to have a flat namespace, why the metadata/typemapping? There are plans to replace this config with a programmatic javabean style deployment. I'm not sure how you fix this now it has been released in 4.0.0 When I agreed to this, I said I didn't mind the -ds.xml deployer creating the MBean, it is the obvious place to put this configuration. But I said the implementation should be elsewhere, i.e. in the server module (because it uses the CMP metadata) or whatever jdbc abstraction project is created in the future. The service is used by the consumer of the DataSource not the DataSource or the connection factory deployment. -- >Comment By: Alexey Loubyansky (loubyansky) Date: 2004-11-08 10:51 Message: Logged In: YES user_id=543482 Done for Branch_4_0 and HEAD. -- Comment By: Scott M Stark (starksm) Date: 2004-11-07 20:11 Message: Logged In: YES user_id=175228 Change the metadata/type-mapping to just type-mapping and document this in the jboss-ds-1_5.dtd. For backward compatibility just maintain the current ConnectionFactoryTemplate.xsl $datasource/metadata/type-mapping and add a $datasource/type-mapping -- Comment By: Alexey Loubyansky (loubyansky) Date: 2004-10-28 14:36 Message: Logged In: YES user_id=543482 I moved the mbeans to cmp just to have all this metadata stuff in one place. What's with metadata/type-mapping? Should it be just type-mapping? Support both (since 4.0.1 is a maintainance release)? Or leave it for now as it is? -- Comment By: Alexey Loubyansky (loubyansky) Date: 2004-10-18 15:57 Message: Logged In: YES user_id=543482 The Firebird issue was fixed (metadata wasn't defined for connection factories). So what needs to be done to fix this is just to move the metadata related MBeans to another package, right? And replace metadata/type-mapping with just metadata or just type-mapping? -- Comment By: Adrian Brock (ejort) Date: 2004-10-18 15:36 Message: Logged In: YES user_id=9459 Ok, so you say it shouldn't be in CMP (which I agree with) and I say it should be in the RAR (which is where it is currently located). I noticed somebody else raised a bug report about it not working with the Firebird rar? -- Comment By: Alexey Loubyansky (loubyansky) Date: 2004-10-18 10:18 Message: Logged In: YES user_id=543482 The type-mapping metadata does not belong to CMP. The metadata is JDBC specific and should be available to any JDBC client. The class hierarchy is in CMP package for historical reasons. That's why I thought it should be in JDBC resource adaptor. 2) metadata is added to the dtd with type ANY for now. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1046721&group_id=22866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Nukes Development] - Re: Multipart encoding problem
Hi ThorntonD, there is no need of oreally file upload since commons-fileupload works well. The problem is the nukes code. I've fix the problem passing the HttpRequest encoding to the FileItem.getString(). Since I think this is a nukes bug. I'll submit it soon. Marco View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854243#3854243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854243 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBossWS] - Is JBossWS WS-I Compliance?
hi all, my question is simple, is JBossWS which is come with JBoss 4.0 WS-I compliance? As I know, JBoss.Net is not fully WS-I compliance since there is some problem when we use doc/lit web service which is recommended by WS-I. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854241#3854241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854241 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] jboss-3.2-testsuite Build Failed
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-3.2-testsuite?log=log20041108024204 BUILD FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-jboss-head.xml:59: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-jboss-head.xml:34: Exit code: 1 See compile.log in Build Artifacts for details. JAVA_HOME=/opt/j2sdk1.4.2_05/Date of build: 11/08/2004 02:42:04Time to build: 15 minutes 4 secondsLast changed: 11/08/2004 01:35:12Last log entry: For the clustered sso test case, use REPL_SYNC. Needed because the test case switches between cluster nodes before asynchronous replication transmits sso state changes. Unit Tests: (0) Total Errors and Failures: (0) Modifications since last build: (58)1.2modifiedbstansberrytestsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/tc5-cluster-service.xmlFor the clustered sso test case, use REPL_SYNC. Needed because the test case switches between cluster nodes before asynchronous replication transmits sso state changes.1.2deletedbstansberrytomcat/src/resources/sso-channel.xmlRemove the sso-channel.xml as clustered sso is now configured via the tc5-cluster-service1.3deletedbstansberrytestsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xmlRemove the specialized jboss-service.xml as the standard version in the tomcat module is fine1.33modifiedremmtomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java- Set configFile attribute so that the config file of a webapp is parsed.1.2modifiedloubyanskycommon/src/main/org/jboss/xml/binding/SchemalessObjectModelFactory.javaported from Branch_4_0: fixes for xs marshaller and schemaless marshaller and object model factory1.9modifiedloubyanskycommon/src/main/org/jboss/xml/binding/XsMarshaller.javaported from Branch_4_0: fixes for xs marshaller and schemaless marshaller and object model factory1.2modifiedloubyanskycommon/src/main/org/jboss/xml/binding/SchemalessMarshaller.javaported from Branch_4_0: fixes for xs marshaller and schemaless marshaller and object model factory1.13modifiedbwang00cache/src/etc/standalone/runShellDemo.shUpdated1.10modifiedbwang00cache/src/etc/standalone/runShellDemo.batUpdated1.182modifiedbelabancache/src/main/org/jboss/cache/TreeCache.javachanged return value signature of getInterceptors() to List1.1addedbelabancache/src/main/org/jboss/cache/interceptors/CacheStoreInterceptor.javapreliminary checkin of new or modified interceptors1.1addedbelabancache/src/main/org/jboss/cache/interceptors/CreateIfNotExistsInterceptor.javapreliminary checkin of new or modified interceptors1.1addedbelabancache/src/main/org/jboss/cache/interceptors/LockInterceptor.javapreliminary checkin of new or modified interceptors1.8modifiedbelabancache/src/main/org/jboss/cache/interceptors/CacheLoaderInterceptor.javapreliminary checkin of new or modified interceptors1.13modifiedbelabancache/docs/design/JBossCacheRoadmap.txtno message1.181modifiedbelabancache/src/main/org/jboss/cache/TreeCache.javano message1.25modifiedstarksmtestsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.javaAdd a test of accessing a secured servlet under a web-resource-collection constraint that does not specify any http-methods1.19modifiedstarksmtestsuite/src/resources/web/WEB-INF/jbosstest-web.xmlAdd a web-resource-collection that does not specify any http-methods and add a second mapping of the SecureServlet under this url-pattern.1.3modifiedstarksmtestsuite/src/main/org/jboss/test/security/test/WebResourcePermissionUnitTestCase.javaAdd a test of an empty http methods String[] equating to an empty or null http methods string.1.5modifiedstarksmtestsuite/src/main/org/jboss/test/web/test/FormAuthUnitTestCase.javaAdd a testFlushOnSessionInvalidation that validates that a war which uses in the jboss-web.xml does not have any jaas security domain cache entries after the web session has been invalidated.1.25modifiedbwang00cache/docs/Changelog.txtUpdated1.5modifiedanddserver/src/etc/conf/default/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xmlAdded support for SubDeployers to specify their Suffixes/RelativeOrderand MainDeployer to dynamically update its own SuffixOrder listwhen the SubDeployers register themselves.1.77modifiedanddsystem/src/main/org/jboss/deployment/MainDeployer.javaAdded support for SubDeployers to specify their Suffixes/RelativeOrderand MainDeployer to dynamically update its own SuffixOrder listwhen the SubDeployers register themselves.1.8modifiedanddsystem/src/main/org/jboss/deployment/SubDeployer.javaAdded support for SubDeployers to specify their Suffixes/RelativeOrderand MainDeployer to dynamically update its own SuffixOrder listwhen the SubDeployers register themselves.1.26modifiedanddsystem/src/main/org/jboss/deployment/SubDeployerSupport.javaAdded support for SubDeplo