[JBoss-dev] [JBossWS] - org.xml.sax.SAXException: SimpleDeserializer encountered a c

2004-08-22 Thread ilays
Hello ,
i deployed a simple bean ws - (using the axis1.2 beta)
wsdl created using - java2wsdl - 

?xml version=1.0 encoding=UTF-8?
  | wsdl:definitions targetNamespace=http://ws.test1/ws4ee; 
xmlns:apachesoap=http://xml.apache.org/xml-soap; xmlns:impl=http://ws.test1/ws4ee; 
xmlns:intf=http://ws.test1/ws4ee; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; 
xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  | !--WSDL created by Apache Axis version: 1.2beta
  | Built on Mar 31, 2004 (12:47:03 EST)--
  |  wsdl:types
  |   schema elementFormDefault=qualified targetNamespace=http://ws.test1/ws4ee; 
xmlns=http://www.w3.org/2001/XMLSchema;
  |element name=in0 type=xsd:string/
  |element name=getInfoReturn type=xsd:string/
  |   /schema
  |  /wsdl:types
  | 
  |wsdl:message name=getInfoResponse
  | 
  |   wsdl:part element=impl:getInfoReturn name=getInfoReturn/
  | 
  |/wsdl:message
  | 
  |wsdl:message name=getInfoRequest
  | 
  |   wsdl:part element=impl:in0 name=in0/
  | 
  |/wsdl:message
  | 
  |wsdl:portType name=HelloEndpoint
  | 
  |   wsdl:operation name=getInfo parameterOrder=in0
  | 
  |  wsdl:input message=impl:getInfoRequest name=getInfoRequest/
  | 
  |  wsdl:output message=impl:getInfoResponse name=getInfoResponse/
  | 
  |   /wsdl:operation
  | 
  |/wsdl:portType
  | 
  |wsdl:binding name=HelloPortSoapBinding type=impl:HelloEndpoint
  | 
  |   wsdlsoap:binding style=document 
transport=http://schemas.xmlsoap.org/soap/http/
  | 
  |   wsdl:operation name=getInfo
  | 
  |  wsdlsoap:operation soapAction=/
  | 
  |  wsdl:input name=getInfoRequest
  | 
  | wsdlsoap:body namespace=http://ws.test1/ws4ee; use=literal/
  | 
  |  /wsdl:input
  | 
  |  wsdl:output name=getInfoResponse
  | 
  | wsdlsoap:body namespace=http://ws.test1/ws4ee; use=literal/
  | 
  |  /wsdl:output
  | 
  |   /wsdl:operation
  | 
  |/wsdl:binding
  | 
  |wsdl:service name=HelloServiceJSE
  | 
  |   wsdl:port binding=impl:HelloPortSoapBinding name=HelloPort
  | 
  |  wsdlsoap:address location=http://localhost:8080/hello/exactpath/
  | 
  |   /wsdl:port
  | 
  |/wsdl:service
  | 
  | /wsdl:definitions 

mapping.xml : 

  | package-mapping
  | package-typews.test1/package-type
  | namespaceURIhttp://ws.test1/ws4ee/namespaceURI
  |   /package-mapping
  | 
  |   java-xml-type-mapping
  | java-typejava.lang.String/java-type
  | root-type-qnameimpl:in0/root-type-qname
  | qname-scopeelement/qname-scope
  |   /java-xml-type-mapping
  |   java-xml-type-mapping
  | java-typejava.lang.String/java-type
  | root-type-qnameimpl:getInfoReturn/root-type-qname
  | qname-scopeelement/qname-scope
  |   /java-xml-type-mapping
  | ..

service was deployed ,wsdl was published !!
i used wsdl2java to create these classes for a standalone client :

HelloEndpoint.class
HelloPortSoapBindingStub.clas
HelloServiceJSE.class
HelloServiceJSELocator.class

and the client:
wsClient1.class

clients code:

HelloServiceJSE service = new HelloServiceJSELocator();
  | 
  | System.out.println(service locator ---);
  | 
  | HelloEndpoint port = service.getHelloPort();
  | 
  | System.out.println(got port  ---);
  | 
  | System.out.println(port.getInfo(test));


ok.. every thing look good now ,
when i run the test: 

  
  |   [java] service locator ---
  |   [java] got port  ---
  |   [java] ; nested exception is:
  |   [java] org.xml.sax.SAXException: SimpleDeserializer encountered a child 
element, which is NOT expected, in something it was trying
  | deserialize.

well ... im kinda lost 
i think something is wrong here  - because i used both 
java2wsdl and wsdl2java on the same classes and SEI 
so how can it   encounter a child element, which is NOT expected,
the problem also exist in axis 1.1 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845822#3845822

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845822


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.16 Build Successful

2004-08-22 Thread kimptoc_mail

View results here -> http://jboss.kimptoc.net/cc/buildresults/jboss-3.2?log=log20040822082432Lbuild.16
BUILD COMPLETE-build.16Date of build:08/22/2004 08:24:32Time to build:24 minutes 13 secondsLast changed:08/22/2004 08:04:32Last log entry:Fix minor typo.




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(3)1.18.4.1modifiedpilhuhnserver/src/resources/org/jboss/metadata/jboss.dtdFix minor typo.1.8.2.4modifiedpilhuhnserver/src/resources/org/jboss/metadata/jboss_3_0.dtdFix minor typo.1.1.2.27modifiedpilhuhnserver/src/resources/org/jboss/metadata/jboss_3_2.dtdFix minor typo.



[JBoss-dev] [Nukes Development] - Re: New Theme: pure

2004-08-22 Thread KaMiKaTze
By the way...

have some of you noticed, that you can use a file of the html:module (a cms-controlled 
file) with the ThemeTemplate if you use html: instead of jar: as the id in 
jboss-service.xml?

That means it is stored through the FileEJB into the database, version controlled and 
online editable.

By using this you can have everything (css, template, images, etc) of your template 
managed by the html:module, which means, you can change the Theme on the fly through 
the web-interface of a running nukes.

There's one little thing to be fixed in the ThemeTemplate. At this time it does not 
automatically rebuild the theme when the file is changed through the html:module. If 
someone cares I've got a fix (Thomas?).

And... the head-parameters are written in the PageResonse Object, which I personally 
find not to be a good idea, it should go to the Template, because that way you can 
choose what to put there through the same mechanism.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845835#3845835

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845835


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.17 Build Successful

2004-08-22 Thread kimptoc_mail

View results here -> http://jboss.kimptoc.net/cc/buildresults/jboss-3.2?log=log20040822133945Lbuild.17
BUILD COMPLETE-build.17Date of build:08/22/2004 13:39:45Time to build:21 minutes 27 secondsLast changed:08/22/2004 13:19:45Last log entry:Added new (XMBean) AttributePersistenceService and its associated XMBean descriptor




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(6)1.1.2.1modifiedanddserver/src/etc/conf/default/xmdesc/AttributePersistenceService-xmbean.xmlAdded new (XMBean) AttributePersistenceService and its associated XMBean descriptor1.59.2.45modifiedanddserver/src/etc/conf/default/jboss-service.xmlAdded new (XMBean) AttributePersistenceService and its associated XMBean descriptor1.1.2.1modifiedanddjmx/src/main/org/jboss/mx/persistence/AttributePersistenceManager.javaIntroducing DelegatingPersistenceManager implementation and AttributePersistenceManager interface.Also, ModelMBeanInvoker adds OBJECT_NAME to the ModelMBeanInfo Descriptor during initPersistence()1.1.2.1modifiedanddjmx/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.javaIntroducing DelegatingPersistenceManager implementation and AttributePersistenceManager interface.Also, ModelMBeanInvoker adds OBJECT_NAME to the ModelMBeanInfo Descriptor during initPersistence()1.5.4.6modifiedanddjmx/src/main/org/jboss/mx/modelmbean/ModelMBeanConstants.javaIntroducing DelegatingPersistenceManager implementation and AttributePersistenceManager interface.Also, ModelMBeanInvoker adds OBJECT_NAME to the ModelMBeanInfo Descriptor during initPersistence()1.1.4.19modifiedanddjmx/src/main/org/jboss/mx/modelmbean/ModelMBeanInvoker.javaIntroducing DelegatingPersistenceManager implementation and AttributePersistenceManager interface.Also, ModelMBeanInvoker adds OBJECT_NAME to the ModelMBeanInfo Descriptor during initPersistence()



[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Aspect on JSP

2004-08-22 Thread Bill Burke
I don't think JSP aspectizing will work as it uses a different classloader.  We will 
be improving our classloader integration shortly.

Can you verify JSPs don't work?

I do think it will work if you precompile your jsps.

Thanks and apologies.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845836#3845836

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845836


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Clusters on JBoss (Clusters/JBoss)] - Re: HA Singleton not working when the master node loses netw

2004-08-22 Thread pedrosalazar
Claudiu,

I don't know if that helps but I read in the changes of jboss 3.2.6RC1 changes the 
following (from 
http://sourceforge.net/docman/display_doc.php?docid=23847group_id=22866):
anonymous wrote : *  A fix for the following clustering scenario has been added. 
There are a number of nodes in a partition. One node is selected as master, and runs 
the singleton service. The master replica is shunned. The other nodes remove its keys 
from the DRM. Another master replica is selected. It runs the singleton service. The 
shunned node returns. Two bad things happen:
  |  1. It doesn't check if it should still run the singleton, and assumes it 
is still the master (not true, he is now the last node in the DRM, not the first). 
From now on, two nodes are running the singleton.
  |  2. The other nodes don't update the shunned node's keys. From this point 
on, as far as the other nodes are concerned, that node can never be a master replica 
for that singleton service.
  | 

Could this be also the cause of the abnormal behavior you are facing?

BTW, I'm not a jboss developer neither an expert user. Just a dummy user, trying to 
help.

regards,
Pedro Salazar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845837#3845837

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845837


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Clusters on JBoss (Clusters/JBoss)] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2004-08-22 Thread pedrosalazar
Greetings,

By mistake I posted here (in dev) rather than in the user forums. I'll repost on this 
issue on cluster forum but in user.

Sorry for my mistake :-(

Regards,
Pedro Salazar.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845840#3845840

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845840


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWeb] - 2 jboss in one coumputer and port no

2004-08-22 Thread wataru
I use 2 jboss in one computer and develop web application.

One is jboss-3.2.3, port no 8080, 
and the other is jboss-3.2.5, port no 8280.

The problem is when I redirect one application to the other.
Request's port no is old one.

I mean,

8080's JSP
%
  response.sendRedirect(http://localhost:8280/...;);
%

8280's jsp
html:base/

and html base tag display 8080

So I have to refresh web page one time. 
and after that html:base/ become 8280. 

Can I make port no 8280 without refresh?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845844#3845844

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845844


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Nukes Development] - Re: Updated downloads module

2004-08-22 Thread chasetec
All updates to the downloads module are now in CVS so I'm removing the zip of my 
updates. Here's the log of the latest CVS update:

  Implemented minor wording and layout changes.
  
  Minor features added to fix bugs:
  
  * Support was added to validate ftp urls
  * Support was added to allow ftp style urls with usernames and passwords
  
  Bugs fixed:
  
  * Entering a ftp url causes a ClassCastException
  * Deleting a rating(along with it's comment) doesn't recalculate the total
number of comments
  * Deleting a rating doesn't recalculate the overall rating of a download
  * A user creating or modifying their rating of a download to -- will cause
an ArrayIndexOutOfBoundsException if they view the details for that download
  * A user modifying their comment to nothing doesn't cause the total number of
comments to be updated for that download
  * A user could rate a download to any number by typing in the correct url
  * A user rating a comment to something other then 1 through 10 is sent back to
the main download page with no error message
  * After an admin accepts or ignores the last download modification request,
presses Return to modification rerquests and then Back an error is displayed
  * The File link portion of a users modification request is ignored if approved
  * The admin's modification request page doesn't display the File link information
  * The Main Download Area button was not display on the admin's modification
request page when there was no request
  * The page layout was wrong when the admin had more then one download modification
request to view

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845850#3845850

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845850


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Persistence development forum] - Embedded Hibernate service - TODO

2004-08-22 Thread ivelin
Publishing a technical discussion for a more thorough peer review:

 From: Steve Ebersole
 Sent: Monday, August 09, 2004 6:31 PM
 To: Alexey Loubyansky; 'Christian Bauer'; 'Gavin King'
 Cc: Ivelin Ivanov
 Subject: RE: jboss - hibernate

 #4 would add CMT-like capability strictly around a
 Hibernate session.  Say  I'm not using JTA but I want
 automatic transaction handling (of the Hibernate Transaction
 object, that is).  Probably rare, I know, given the
 environment, but definitely possible.  This would use a
 pattern similar to the HibernateUtil stuff Gavin and
 Christian developed for the book.

 #6 would be the ability to retrieve a different session other
 than the one currently bound to the SessionContext for a
 given jndi name.  Consider a Hibernate Interceptor.  Most
 calls (the ones where you'd most like to do it, at any rate)
 into the Interceptor expressly prohibit any calls back into
 the session.  The typical recommendation around this is to
 generate a new session on the same connection as the original
 session (something like
 SessionFactory.openSession(originalSession.connection())). 
 This would be a way for those types of calls to happen in the
 same fashion as the others (something like
 SsessionContext.getUnmanagedSession()).


 -Original Message-
 From: Alexey Loubyansky
 Sent: Monday, August 09, 2004 10:15 AM
 To: Steve Ebersole; 'Christian Bauer'; 'Gavin King'
 Cc: Ivelin Ivanov
 Subject: RE: jboss - hibernate

 Hi Steve,

 1 is definitely needed. Could you please clarify 4 and 6?

 Thanks!

 alex

  -Original Message-
  From: Steve Ebersole
  Sent: Monday, August 09, 2004 6:03 PM
  To: Christian Bauer; 'Gavin King'; Alexey Loubyansky
  Cc: Ivelin Ivanov
  Subject: jboss - hibernate
 
  Some thoughts on jboss - hibernate integration moving forward:
 
  1) There is no lifecycle listening between the 
 interceptors/context
 and the mbean.  This means the mbean  could be stopped and
 the session
 context stuff would fail  with misleading errors.  The
 registration of
 a jndi name with  the SessionContext should also spawn a jmx
 listener
 on the s mbean for its lifecycle events, so that we can
 appropriately 
 cleanup the context when the mbean stops.
 
  2) The deployer uses the Hibernate method
  Configuration.addJar() to parse the deployment for mapping files. 
  This method has been deprecated.  We should either reconsider that
  deprecation, or re-implement that functionality in the deployer
  itself.
 
  3) Need to add auto-flushing capability to the interceptors. 
  This should be configurable, with 3 options: NEVER, ALWAYS (i.e.,
  after each intercepted method), BINDER (i.e., after
 intercepted call
  which resulted in session binding).  Maybe there are better names.
 
  4) Should we add auto-transaction capability similar to #3 above? 
  This would really only be pertinent for thread scoped session
  interception.  This could be handled by the current
 interceptors, or
  as a separately applied interceptor.
 
  5) Consider additional configuration capabilities for the mbean,
  similar to the discussion for the generic hibernate jmx stuff.
 
  6) Add the ability to retrieve an unmanaged session from the
  SessionContext.  This probably makes the most sense as a
 new session
  on the same connection as the existing managed
  session.  This allows app code to get all sessions in a similar
  fashion.
 
  7) A clean way to attach Hibernate Interceptors.
 
 
  Anyone have any additional desires for this stuff moving
 forward?  Or
  agree/disagree with anything above?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845851#3845851

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845851


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.18 Build Successful

2004-08-22 Thread kimptoc_mail

View results here -> http://jboss.kimptoc.net/cc/buildresults/jboss-3.2?log=log20040822193113Lbuild.18
BUILD COMPLETE-build.18Date of build:08/22/2004 19:31:13Time to build:50 minutes 44 secondsLast changed:08/22/2004 19:11:13Last log entry:html css




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(7)1.1.2.1modifiedbwang00tomcat/docs/html/html.csshtml css1.1.2.2modifiedbwang00tomcat/docs/html/tc5-clustering.htmlDoc updated1.1.2.2modifiedbwang00tomcat/docs/tc5-clustering.xmlDoc updated1.1.2.1modifiedbwang00tomcat/src/resources/tc5-cluster-service.xmlMoved to resources dir1.1.2.3deletedbwang00tomcat/src/etc/tc5-cluster-service.xmlMoved to resources dir1.160.2.166modifiedbwang00build/build.xmlUpdated tc5-cluster-service.xml location1.1.2.5modifiedstarksmconnector/src/main/org/jboss/resource/adapter/jdbc/PrivilegedProxy.javaOnly include the public interfaces in the proxy to avoid IllegalAccessErrorsduring the proxy creation.



[JBoss-dev] jboss-3.2 build.19 Build Successful

2004-08-22 Thread kimptoc_mail

View results here -> http://jboss.kimptoc.net/cc/buildresults/jboss-3.2?log=log20040822203936Lbuild.19
BUILD COMPLETE-build.19Date of build:08/22/2004 20:39:36Time to build:32 minutes 36 secondsLast changed:08/22/2004 19:47:03Last log entry:Minor update




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(2)1.1.2.3modifiedbwang00tomcat/docs/html/tc5-clustering.htmlMinor update1.1.2.3modifiedbwang00tomcat/docs/tc5-clustering.xmlMinor update



[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - New Tomcat http session replication using JBossCache

2004-08-22 Thread bwang00
Just thought everyone may be interested to know that I have just completed the 
implementation and documentation of the Tomcat clustering in JBoss3.2.6 using 
JBossCache. Here is the url if you are interested:
http://www.jboss.org/developers/projects/jboss/tc5-clustering.html

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845852#3845852

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845852


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Nukes Development] - Re: Updated downloads module

2004-08-22 Thread cooper
impressive number of bug fixes.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845854#3845854

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845854


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-1007959 ] HA-JNDI extremely unreliable

2004-08-22 Thread SourceForge.net
Bugs item #1007959, was opened at 2004-08-12 06:39
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=1007959group_id=22866

Category: Clustering
Group: v3.2
Status: Closed
Resolution: Fixed
Priority: 7
Submitted By: Peter Backx (pbackx)
Assigned to: Scott M Stark (starksm)
Summary: HA-JNDI extremely unreliable

Initial Comment:
os: linux 2.6
jdk: Sun hotspot 1.4.2_02

I have deployed 2 SLSBs on 2 different machines that
are clustered (I tried both TCP and UDP) HA-JNDI is
enabled but no farming.

Both looking for a bean from the client and looking for
a bean from another is extremely unreliable. It works
in about 10% of the cases. I have been unable to make
this bug 100% reproducable ... it appears to be
entirely random.

If I let one bean call another I get the following in
my server logs which shows that the server is actually
responding:

2004-08-12 15:31:08,759 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl]
dests=[asklepios30:7800 (additional data: 16 bytes),
10.10.12.1:7800 (additional data: 15 bytes)],
method_call=HAJNDI.lookupLocally(Another), mode=2,
timeout=6
2004-08-12 15:31:08,759 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl]
real_dests=[asklepios30:7800 (additional data: 16
bytes), 10.10.12.1:7800 (additional data: 15 bytes)]
2004-08-12 15:31:09,027 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl]
responses: [sender=asklepios30:7800 (additional data:
16 bytes), retval=null, received=true, suspected=false]
[sender=10.10.12.1:7800 (additional data: 15 bytes),
[EMAIL PROTECTED],
received=true, suspected=false]

(I have 3 servers: 10.10.11.1 is doing the lookup and
asklepios30 and 10.10.12.1 are replying ... don't mind
the fairly complicated (for a cluster) network setup,
the problem is the same if they are all on the same
subnet and UDP multicasting)

However by the time this value gets returned by
Context.lookup it is null (most of the time).

This bug was not in 3.2.2 but because I cannot assign
the correct NodeAddress to partition members I have to
use 3.2.5

I have also attached my cluster configuration file
(@BIND_ADDR@ gets replaced by the correct address in an
ANT script)

I'm willing to debug the code myself because this
problem is really urgent to me, however I hope some one
can tell me through which calls the information flows
between the HAPartitionImpl and the lookup return. Any
pointers are appreciated.

--

Comment By: Scott M Stark (starksm)
Date: 2004-08-22 16:24

Message:
Logged In: YES 
user_id=175228

The null values are due to exceptions from the nodes without
the binding and should be filtered out. This has been fixed
for 3.2.6RC2.

--

Comment By: Peter Backx (pbackx)
Date: 2004-08-16 05:23

Message:
Logged In: YES 
user_id=91876

My initial assessment of the problem seems to have been
right. org.jboss.ha.jndi.TreeHead was returning incorrect
values. This is caused by one of 2 reasons:
* Either a server that does not have a bean installed
locally should not reply to a lookup request
* Or TreeHead should check the entire list of return values
instead of just returning the first value.

I pressume 2 is the correct answer and with this info fixing
the bug was easy: add a pair of accolades in the last for
loop of TreeHead.lookup:

for (int i = 0; i  rsp.size(); i++)
{
   result = rsp.get(i);
   if( result != null ) 
   { // - added
  log.trace(_lookupLocally returned:  +
result.getClass().getName());
  if (!(result instanceof Exception))
 return result;
   } // - added
  }

I have also attached a diff with what I believe is the
correct CVS version (it's kinda hard to find the right
files, I used tag JBoss_3_2_6_RC1) which might be easier to use.


--

Comment By: Peter Backx (pbackx)
Date: 2004-08-13 02:44

Message:
Logged In: YES 
user_id=91876

Cluster config attached.
One additional note, maybe less interesting, but I have
tried different versions of JGroups: the one with JBoss
3.2.2 (doesn't work because some methods have been added or
changed), the jgroups file with JBoss 3.2.5 (which I guess
is JGroups 2.2.5 but there was some confusion I think),
JGroups 2.2.5 and now the latest JGroups 2.2.6.

--

Comment By: Peter Backx (pbackx)
Date: 2004-08-12 10:45

Message:
Logged In: YES 
user_id=91876

Test setup consists of 3 machines: asklepios30, 10.10.11.1
and 10.10.12.1. The trace is from 10.10.11.1.
2 very very basic stateless session beans are deployed (no
farming, so they are only on 1 of the 3 servers):
Hello on 10.10.11.1
Another on 10.10.12.1

Hello is called from a client on another 

[JBoss-dev] [Nukes Development] - Re: New Theme: pure

2004-08-22 Thread theute
I am not sure all you mean. But i can have a close look. It seems like added features 
that can be fun. I am interested by your fix.

To better understand your request, what exactly would you need to setup in the header 
that you can't already do ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845855#3845855

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845855


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.20 Build Successful

2004-08-22 Thread kimptoc_mail

View results here -> http://jboss.kimptoc.net/cc/buildresults/jboss-3.2?log=log20040822234903Lbuild.20
BUILD COMPLETE-build.20Date of build:08/22/2004 23:49:03Time to build:19 minutes 19 secondsLast changed:08/22/2004 23:23:43Last log entry:The HAJNDI _lookupLocally results were not being filtered of null return values coming from exceptions thrown by remote nodes. Both exceptions and null return values are now filtered. Fixes [ 1007959 ] HA-JNDI extremely unreliable.




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(3)1.1.2.3modifiedstarksmcluster/src/main/org/jboss/ha/jndi/TreeHead.javaThe HAJNDI _lookupLocally results were not being filtered of null return values coming from exceptions thrown by remote nodes. Both exceptions and null return values are now filtered. Fixes [ 1007959 ] HA-JNDI extremely unreliable.1.160.2.167modifiedanddbuild/build.xmlAdded an XMBean persistence service example that demostrates the newXMLAttributePersistenceManager  AttributePersistenceService.Can be found in the distribution at:docs\examples\jmx\persistent-service.sar1.41.2.37modifiedanddvaria/build.xmlAdded an XMBean persistence service example that demostrates the newXMLAttributePersistenceManager  AttributePersistenceService.Can be found in the distribution at:docs\examples\jmx\persistent-service.sar



[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - TreeCache.put(...) never returns previous value when sync re

2004-08-22 Thread tweise
[Version of JBoss cache shipped with 3.2.5] 

Trying to use TreeCache.put(...) and retrieve the return value to check the previous 
value. This works all nicely with local cache, but when switched to synchronized 
replicated, this method always returns null:

tree.put(/a/b/c, name, Ben);
Object value = tree.put(/a/b/c, name, Ben2);
// value should be Ben but is null

Stepping through the code I find what seems to be the issue at 
TreeCache.invokeTransactionlessMethod(MethodCall) line: 2771

which never returns the (correct) result it got from 

rsps = callRemoteMethods(members, m, true, true, sync_repl_timeout);

Hence the result of any call to TreeCache.put() will always be null.

Is this a known issue, and if so, is there a patch available?

Thanks,
Thomas


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845859#3845859

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845859


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-1014079 ] Creation of element failed: javax.xml.rpc.encoding.TypeMappi

2004-08-22 Thread SourceForge.net
Bugs item #1014079, was opened at 2004-08-23 07:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=1014079group_id=22866

Category: JBoss-IDE
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Jean-Noel Colin (jncolin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Creation of element failed: javax.xml.rpc.encoding.TypeMappi

Initial Comment:
I am using jboss-ide 1.3.0 with eclipse 3.0 on a
windows XP Pro machine.
JDK is 1.4.2_05

I created a new J2EE1.3 project, then a package inside
the project, and I try to create a new Web Services Client.

I fill in the form by providing the wsdl file name,
source folder and package.
I leave the default parameters (version to use: 1.1)
and additional behaviour:
Process WSDL imports
Unwrapped/elements literals

When I click finish, I always get an error saying:
Creation of element failed:
javax.xml.rpc.encoding.TypeMapping

Looking at the error log, it seems that eclipse can't
find that class.

I installed jboss-ide following the install/update
procedure in eclipse, without problem.

Can anyone help me fixing this?

Thanks in advance,

Jean-Noel Colin

Error aout 20, 2004 14:23:29.734 Internal Error
java.lang.reflect.InvocationTargetException
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:316)
at
org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
at
org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:752)
...
Caused by: java.lang.NoClassDefFoundError:
javax/xml/rpc/encoding/TypeMapping
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=1014079group_id=22866


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development