[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: CometProcessor and filter in JBoss-4.2.0.GA

2007-09-09 Thread hoangoanh
I have a error org.jboss.web.tomcat.filters.ReplyHeaderFilter 
(ReplyHeaderFilter .java :96)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082389#4082389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082389
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: CometProcessor and filter in JBoss-4.2.0.GA

2007-09-09 Thread hoangoanh
"hoangoanh" wrote : I have a error 
org.jboss.web.tomcat.filters.ReplyHeaderFilter (ReplyHeaderFilter .java :96) 
when i use sso in jboss. My application write by java in elipse, when i run any 
servlet class, i caught this error

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082390#4082390

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082390
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Access images from outside of exploded archive

2007-09-09 Thread oblivion1200
Web pages can see files that are inside of WAR archive only. I need to access 
images from outside of exploded archive, Is this possible? I have read that I 
shouldn't put any files into EAR archive when appliaction is running.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082391#4082391

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082391
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - unable to find LoginModule class

2007-09-09 Thread JPagera
hi anyone can help plz

when im tryin to login it give the Exception

unable to find LoginModule class : com.jpagera.login.JPageraLoginModul


i defined my login module like :

..




true
com.mysql.jdbc.Driver
myusrName
mypassword
jdbc:mysql://localhost:3306/jos_db


 

..

and my jboss.xml

...
java:/jaas/JPassivateSecurityDomain


JBossSessionEJB
JBossSessionEJB


...

did i miss somthing ??

thank 4 help




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082392#4082392

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082392
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EL

2007-09-09 Thread pwoj
"[EMAIL PROTECTED]" wrote : Which version of Seam?

It's Seam-Version: 1.2.1.GA

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082393#4082393

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082393
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to Handle POST Callbacks from a third party appliati

2007-09-09 Thread fhh
Use page parameters and a page action.

Regards

Felix

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082394#4082394

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082394
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: CascadeType.PERSIST question

2007-09-09 Thread waynebaylor
what does your PartyHasCustomization entity look like?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082396#4082396

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082396
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: mapping generic entities

2007-09-09 Thread waynebaylor
it doesn't look like you have @Entity on any of them. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082397#4082397

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082397
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: CascadeType.PERSIST question

2007-09-09 Thread ttrepper
Hi waynebylor, 

thank you for your answer - sorry, i forget to attach the code. Here it is:
package com.auctonova.ejb.persistence;
  | 
  | import java.io.Serializable;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.Column;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | 
  | 
  | @Entity
  | @Table(name="PersonHasCustomization")
  | public class PersonHasCustomization implements Serializable {
  | private static final long serialVersionUID = 1L;
  | private String locale;
  | private long partyidperson;
  | 
  | 
//--
  | public String getLocale() {
  | return this.locale;
  | }
  | 
  | 
//--
  | public void setLocale(String locale) {
  | this.locale = locale;
  | }
  | 
  | 
//--
  | @Id 
  | public long getPartyidperson() {
  | return this.partyidperson;
  | }
  | 
  | 
//--
  | public void setPartyidperson(long partyidperson) {
  | this.partyidperson = partyidperson;
  | }
  | }
  | 

I have still not found the solution. Thank you for your help.

Thomas

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082398#4082398

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Deployment Error

2007-09-09 Thread agraber
Well I guess I found the problem, but still have no solution:

JBoss is trying to load the XML-file. It is doing this by using 
"ObjectModelBuilder" which is referencing 
"javax.xml.namespace.NamespaceContext" - which is not included in jdk 
1.4.2_03
JBoss tries to be nice, swallows the "ClassNotFound" Exception and tries to 
load the file in Sun's "config" Format which of course does not match... 

So, what to do now???

Alfred

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082399#4082399

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EL

2007-09-09 Thread [EMAIL PROTECTED]
Yes, this was a known problem with 1.2.1 - fixed in 2.0 beta

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082402#4082402

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082402
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: CascadeType.PERSIST question

2007-09-09 Thread waynebaylor
so, it looks like your entity code is OK. you just need to add an extra step 
when saving:

PartyIsPerson p = new PartyIsPerson();
  | p.setUsername("Guest"); //Guest
  | p.setPassword("Guest"); //Guest
  | p.setForename("Guest"); //Guest
  | p.setLastname("Guest"); //Guest
  | p.setPartyId(100);
  | 
  | PersonHasCustomization phc = new PersonHasCustomization();
  | phc.setPartyidperson(p.getPartyId());
  | phc.setLocale("DE_de");
  | p.setCustomization(phc);
  | 
  | EntityManager.persist(p)

from the "Java Persistence w/Hibernate" book it says, JPA doesn't include a 
standard way of dealing with shared primary key generation. So, it's up to you 
to set it (page 282).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082403#4082403

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082403
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Exceptions while starting JBoss on Ubuntu 7.04 (Feisty F

2007-09-09 Thread transvaal
export this variable before you start jboss:
JAVA_OPTS=-Djava.net.preferIPv4Stack=true

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082404#4082404

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082404
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBPM JPDL Designer 3.1.0.GA

2007-09-09 Thread paolodt
What about the GPD 3.1.0.GA? Has been scheduled a release date? 

Thank, 

Paolo

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082405#4082405

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082405
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Avoid Jboss 3.2.3 scanning large subdirectories

2007-09-09 Thread transvaal
What makes you thing it's this directory that's holding jboss' startup? 
Removing it speeds things up? Which part of the boot sequence is affected?

And it doesn't make sense scan a directory which won't have nothing to be 
deployed..

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082406#4082406

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082406
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Javassist user questions] - Class reference

2007-09-09 Thread Alex_NV
I try create class reference:


  | java.lang.Class class0 = java.lang.String.class;
  | if (class0.isAssignableFrom()) {
  |..
  | }
  | 

decompiled file have:

  | Class class1 = null;
  | class1 = Class.forName("java.lang.String"); ???
  | if (class0.isAssignableFrom()) {
  |..
  | }
  | 

I want to create class reference like:
java.lang.String.class

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082407#4082407

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082407
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss AS transactions

2007-09-09 Thread pdhaigh
Hi,

I am seeing the following error in my logs:

Caused by: java.util.MissingResourceException: Can't find resource for bundle 
java.util.PropertyResourceBundle, key 
com.arjuna.ats.internal.jta.transaction.arjunacore.syncwhenaborted

I've found this mentioned in the (closed) jira issue: 
http://jira.jboss.com/jira/browse/JBTM-231 

But this is for Jboss TS, so I'm not clear if this is something that is fixed 
in AS 4.2.1.GA (I am currently using 4.2.0.GA), or if there is another change I 
can make; e.g. just replcae jboss-transaction.jar?

cheers

phil

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082408#4082408

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082408
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam PDF creation

2007-09-09 Thread [EMAIL PROTECTED]
It would help if you were little more specific about what you are doing.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082410#4082410

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082410
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Integration of Drools 4.0 with SEAM

2007-09-09 Thread [EMAIL PROTECTED]
Seam 2 is using Drools 4

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082412#4082412

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082412
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Charts

2007-09-09 Thread [EMAIL PROTECTED]
I haven't used it, but the trinidad component looks like it supports more chart 
types.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082411#4082411

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082411
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: newbie startup problems with seam new-project

2007-09-09 Thread wiggy
peter - 
not sure i can figure what that would be though - where can i look to get an 
expansion of the error>

This is all running on my local laptop - and i can deploy to jboss AS on EJB 
project under eclispe just fine.

I tried the other actions on the ant script and i never seem to get an EAR file 
even  to deploy by hand - so it i think its something in the generation 
somewhere .

I can read and write the AS deploy directory fine on other routes - so i think 
its somewhere previous - any ideas how to trace it back further?





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082413#4082413

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082413
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Cannot remove entites used in relationships

2007-09-09 Thread bathulap
Problem :  
  Relation between ManualCheck & ManualCheckDistribution is one to 
many, ManualCheckDistribution to ManualCheckDistributionDetail is one to many.

When I tried to invoke  delete Child), hibernate is throwing below 
exception. Though we are trying to delete entity, error message talks about 
persisting an entity. 

  javax.persistence.EntityNotFoundException: deleted entity passed 
to persist: [com.adp.payroll.model.payroll.manualcheck.ManualCheckDistribution#]

 Guess hibernate will invoke persist of Parent entity after 
removing child entity to synchronize its state with database. 

 Parent entity Set/Collection of child entities has still a 
reference  to  Child entity which was deleted, because we have not refreshed 
Set/Collection of child entities in Parent entity. 

 When Hibernate calls persist on Parent to synchronize we get the 
above exception.

Soution :  Before you invoke delete(Child), remove the child entity refernce 
from the  Set/Collection of child entities in Parent entity
   Code snippet:
public void deleteManualCheckDistribution(PayrollAgreementId 
payrollAgreementId, String payNumber, int distNumber )throws 
PayrollServiceException {
ManualCheckDistribution checkDist = 
getManualCheckDistribution(payrollAgreementId, payNumber, distNumber);
ManualCheck mc = checkDist.getManualCheck();
Set distList = mc.getManualCheckDistributions();
distList.remove(checkDist);
getEm().remove(checkDist);
}

Thanks,
Bathula.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082414#4082414

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082414
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: newbie startup problems with seam new-project

2007-09-09 Thread wiggy
herfe is the output when i run the EAR task 

anonymous wrote : 
  | Buildfile: C:\Documents and Settings\Will\callisto eclipse 
workspace\seamtest\build.xml
  | ear:
  | BUILD SUCCESSFUL
  | Total time: 320 milliseconds
  | 

however - there is still no ear file in the dist directory in the eclipse 
workspace 

next steps i can take ?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082415#4082415

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM JPDL Designer 3.1.0.GA

2007-09-09 Thread [EMAIL PROTECTED]
Glad you ask!

 It has been released last friday...

Download it here : 
http://sourceforge.net/project/showfiles.php?group_id=70542&package_id=116692&release_id=537851

There will be more formal/official announcements soon ;-)

Cheers,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082416#4082416

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082416
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: newbie startup problems with seam new-project

2007-09-09 Thread wiggy
lastly i run the validate configuration Ant task and get this 

anonymous wrote : 
  | BUILD FAILED
  | C:\Documents and Settings\Will\callisto eclipse 
workspace\seamtest\build.xml:318: The following error occurred while executing 
this line:
  | java.io.FileNotFoundException: C:\Documents and Settings\Will\callisto 
eclipse workspace\seamtest\validate.xml (The system cannot find the file 
specified)
  | 
  | Total time: 1 second
  | 

and i cant  see this sml file in the seamtest project directory - is that 
normal?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082417#4082417

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082417
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: persistenceSql.properties for oracle

2007-09-09 Thread sansunsru
Thanks i got it working

Sri

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082420#4082420

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082420
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Business Process Demarcation Question

2007-09-09 Thread neilac333
I have a very common business process I want to model:


  | Sales User searches for a customer
  | Sales User selects a customer from search results and comes to "customer 
details"
  | Sales User hits a "Place Order" button
  | Sales User goes through all the machinations of creating an order spanning 
multiple pages
  | Sales User finalizes the order and sends it to shipping for processing
  | Shipping User sees the order in his queue and actually packs and ships the 
order
  | 
  | 
  | Now I am curious about the "best" way to handle this.  The fact there are 
multiple roles leads me to believe the JPDL is the way to go.  Is this so?  Or 
is that overkill?
  | 
  | Also, where does the conversation begin?  At the very beginning?  Or when 
the Place Order button is hit for the selected customer?  The latter makes more 
sense to me since one can certainly search for a user for other reasons than to 
place an order.
  | 
  | Any insight into how best to model this--or into how I should re-orient my 
thinking--is very much appreciated.
  | 
  | Thanks. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082421#4082421

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082421
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Schemas/DTDs for Seam XML Documents

2007-09-09 Thread neilac333
I am building a Seam app using IntelliJ rather than JBoss IDE.  As I generate 
different XML files (e.g. components, pages, jbpm, etc), I would like the tag 
completion and validation features so I can know at "compile-time" if I have 
violated anything.

Are there DTDs or schemas for the Seam XML documents?  If so, where?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082423#4082423

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082423
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo

2007-09-09 Thread [EMAIL PROTECTED]
Uh, 

Trying MSSoapToolkit 3.0 made it even worse... Now, if calling method hello 
from this class:


  | @Stateless
  | @WebService
  | @WebContext(contextRoot="/SimpleWebServices")
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | public class SimpleWeb implements SimpleWebInterface {
  | 
  | @WebMethod
  | public boolean isAlive() {
  | System.out.println("SimpleWeb.isAlive()");
  | return true;
  | }
  | 
  | @WebMethod
  | public String hello(@WebParam(name="name") String name) {
  | System.out.println("SimpleWeb.helloWorld(): " + name);
  | return "Hello " + name  + "!";
  | }
  | 
  | }
  | 

with this vbscript:


  | Option Explicit
  | 
  | Dim wsdl, c, r
  | 
  | wsdl = "http://localhost:8080/SimpleWebServices/SimpleWeb?wsdl";
  | 
  | set c = CreateObject("MSSOAP.SoapClient30")
  | c.mssoapinit(wsdl)
  | 
  | set r = c.hello("World")
  | 
  | WScript.Echo r
  | 

I get:


  | C:\Data\Tests>cscript SimpleWebService.vbs
  | Microsoft (R) Windows Script Host Version 5.6
  | Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
  | 
  | C:\Data\Tests\SimpleWebService.vbs(10, 1) (null): Cannot find child 
element: name
  | 

With following log entries in Jboss 4.2.0 GA with JBossWS 1.2.1 GA and Seam 2.0 
Beta 1:


  | 2007-09-09 23:11:10,921 TRACE [org.jboss.ws.core.MessageTrace] Incoming 
Request Message
  | 
  |  
  |  
  |   
  |World
  |   
  |  
  | 
  | 2007-09-09 23:11:10,921 TRACE [org.jboss.ws.core.CommonMessageContext] put: 
APPLICATION:javax.xml.ws.binding.attachments.inbound={}
  | 2007-09-09 23:11:10,921 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: 
POST
  | 2007-09-09 23:11:10,921 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE
  | 2007-09-09 23:11:10,937 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] addHandler: 
  | HandlerMetaDataJAXWS:
  |  type=PRE
  |  name=SOAP Request Handler
  |  class=class org.jboss.seam.webservice.SOAPRequestHandler
  |  params=[]
  |  protocols=##SOAP11_HTTP
  |  services=null
  |  ports=null
  | 2007-09-09 23:11:10,937 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT
  | 2007-09-09 23:11:10,937 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST
  | 2007-09-09 23:11:10,937 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: 
[type=POST,info=[service={http://webservice.simple/}SimpleWebService,port={http://webservice.simple/}SimpleWebPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]]
  | 2007-09-09 23:11:10,937 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler 
executor: []
  | 2007-09-09 23:11:10,937 TRACE [org.jboss.ws.core.CommonMessageContext] 
get(javax.xml.ws.handler.message.outbound): 
APPLICATION:javax.xml.ws.handler.message.outbound=false
  | 2007-09-09 23:11:10,953 TRACE [org.jboss.ws.core.CommonMessageContext] 
get(javax.xml.ws.addressing.context.inbound): null
  | 2007-09-09 23:11:10,953 DEBUG 
[org.jboss.ws.core.soap.SOAPMessageDispatcher] getDispatchDestination: 
{http://webservice.simple/}hello
  | 2007-09-09 23:11:10,953 DEBUG 
[org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindRequestMessage: 
{http://webservice.simple/}hello
  | 2007-09-09 23:11:10,953 DEBUG 
[org.jboss.ws.core.jaxws.handler.MessageContextJAXWS] Begin response processing
  | 2007-09-09 23:11:10,953 TRACE [org.jboss.ws.core.CommonMessageContext] 
get(javax.xml.ws.handler.message.outbound): 
APPLICATION:javax.xml.ws.handler.message.outbound=false
  | 2007-09-09 23:11:10,953 DEBUG 
[org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: [EMAIL 
PROTECTED] (Thread http-0.0.0.0-8080-1)
  | 2007-09-09 23:11:10,953 TRACE [org.jboss.ws.core.CommonMessageContext] put: 
APPLICATION:javax.xml.ws.handler.message.outbound=true
  | 2007-09-09 23:11:10,953 DEBUG 
[org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: [EMAIL 
PROTECTED] (Thread http-0.0.0.0-8080-1)
  | 2007-09-09 23:11:10,968 ERROR 
[org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
  | org.jboss.ws.WSException: Cannot find child element: name
  | at 
org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:866)
  | at 
org.jboss.ws.core.CommonSOAPBinding.unbindRequestMessage(CommonSOAPBinding.java:325)
  | at 
org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:187)
  | at 
org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
  | at 
org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
  | at 
org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at 
org

[jboss-user] [JBoss Seam] - Re: Charts

2007-09-09 Thread amitev
There is a library for integrating of JFree chart 
http://jsf-comp.sourceforge.net/components/chartcreator/index.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082426#4082426

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082426
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - cant start jboss AS 5 clean from europa eclipse

2007-09-09 Thread wiggy
having a problem starting jboss AS 5 beta 2 from eclipse.

i unpacked the eclipse build and tried to create new server config for version 
5 and get the following when i run it 

did this by windoows/properties/server/installed server environements - then 
add new and select jboss v5 as the AS .

this is the error log.


  | 22:58:40,933 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 22:58:40,953 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 
(build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
  | 22:58:40,953 INFO  [ServerImpl] Home Dir: E:\jboss\jboss-5.0.0.Beta2
  | 22:58:40,953 INFO  [ServerImpl] Home URL: file:/E:/jboss/jboss-5.0.0.Beta2/
  | 22:58:40,953 INFO  [ServerImpl] Library URL: 
file:/E:/jboss/jboss-5.0.0.Beta2/lib/
  | 22:58:40,963 INFO  [ServerImpl] Patch URL: null
  | 22:58:40,963 INFO  [ServerImpl] Server Name: default
  | 22:58:40,963 INFO  [ServerImpl] Server Home Dir: 
E:\jboss\jboss-5.0.0.Beta2\server\default
  | 22:58:40,963 INFO  [ServerImpl] Server Home URL: 
file:/E:/jboss/jboss-5.0.0.Beta2/server/default/
  | 22:58:40,993 INFO  [ServerImpl] Server Data Dir: 
E:\jboss\jboss-5.0.0.Beta2\server\default\data
  | 22:58:40,993 INFO  [ServerImpl] Server Temp Dir: 
E:\jboss\jboss-5.0.0.Beta2\server\default\tmp
  | 22:58:40,993 INFO  [ServerImpl] Server Config URL: 
file:/E:/jboss/jboss-5.0.0.Beta2/server/default/conf/
  | 22:58:40,993 INFO  [ServerImpl] Server Library URL: 
file:/E:/jboss/jboss-5.0.0.Beta2/server/default/lib/
  | 22:58:40,993 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
  | 22:58:41,394 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/E:/jboss/jboss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
  | 22:58:45,820 INFO  [ProfileImpl] Using profile 
root:E:\jboss\jboss-5.0.0.Beta2\server\default
  | 22:58:48,163 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=DeploymentFilter state=Described
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
  | at 
org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
  | at 
org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  | at 
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  | at 
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  | at 
org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  | at 
org.jboss.kernel.plugins.deployment.Basi

[jboss-user] [JBossCache] - Problems with NodeLocking algorithm

2007-09-09 Thread jacek187
Problems with NodeLocking algorithm

Hi all

I?m fascinated with TreeCache and I think that this is a very good and powerful 
product. I?m trying to use it in my application where many concurrent 
puts/removes occurs ? and this is not easy task, because there are many 
unreasonable exceptions raised from TreeCache under heavy-load.

Because my application must work 24/7 without any unreasonable exceptions 
raised form any component I do some investigation and found, that node locking 
algorithm used by TreeCache (when using Pessimistic locking scheme) is not good 
enough.

Main ?work unit? in TreeCache is Node. Nodes have hierarchical structure like 
folders on disk. There is root node, root node has children, children have own 
children etc.
If operation needs modify data in node, lock must be acquired. Physically locks 
are a part of Node.
If we put data into /a/b/c/d node (on clear cache), first lock on / (root) node 
must be acquired. Then if / doesn?t contains a child, /a node must be created 
and lock must be acquired etc.
If all required nodes from path are locked with correct lock type (RL, WL), 
target operation can be invoked.
This is very simple and generally this works correctly in single-thread 
applications. But what happens when 2 threads are trying work on this same 
node? 

Scenario 1: 
There is /a node in cache.
Thread-0 is trying put new value into /a node, Thread-1 is trying remove /a 
node.
Both threads are in PessimistickLockInterceptor.lock() method, both treads have 
this same reference to /a node.
Thread-1 is acquiring WL lock on /a node and wins, Thread-0 is waiting for WL 
on /a node.
Now Thread-1 removes /a node from cache and until now / doesn?t contains /a 
node, but Thread-0 is still waiting for WL to /a node. Thread-1 commits 
transaction and release lock on /a node. Thread-0 acquired lock on /a. Because 
/a dosen?t exists in cache (was removed by Thread-1) this lock is invalid. This 
situation is handled by treecache properly, because he checks after lock 
acquisition if node still exists in cache

  | do{
  | lock(fqn, ctx.getGlobalTransaction(), lock_type, recursive, zeroLockTimeout 
? 0 : lock_timeout, createIfNotExists, storeLockedNode, isRemoveData);
  | }while (!cache.exists(fqn))
  | 
But what happens if between lock method and condition check another thread 
creates /a node?

Assume that Thread-0 is sleeping before loop condition check (this really 
happens in real-applications under heavy load). Thread-1 needs to put some data 
into previously removed /a node. Because / (root) dosen?t contains /a, new node 
/a is created, and WL on new node is acquired by Thread-1.

Now we have situation, when 2 threads have WL on this same node! This is 
possible, because lock table is located into node, and both threads have 
another instance of /a node.
Now Thread-1 is putting some data into /a node and commit operations, Thread-0 
checks loop condition, and because /a node exists in cache, loop is released. 
Thread-0 is going into real _put operation. Now assume, that before invoke _put 
operation Thread-1 is removing again /a node. He can do this, because /a node 
from treecache hasn?t any information about WL lock (Thread-0 has WL, but in 
old node instance, different from instance form cache). Node /a is now removed 
from cache by Thread-1. 
And now if Thread-0 try invoke _put operation, he can?t find /a node, findNode 
returns null
 and NodeNotExistsException is raised.

This issue was observed and reported as bug 
http://jira.jboss.com/jira/browse/JBCACHE-1164

I think, that the simplest solution to this problem is to add additional 
condition to loop condition. Not only fqn exists condition should be checked, 
but node from cache with locked node should be compared. It?s easy to return 
locked node from lock() method and replace cache.exists with cache._get method 
and compare this 2 objects. If they are not this same object ? loop can be 
finished only if this objects are this same object. (or if result from lock 
method is null)

I have changed this code and it look works correctly now.

Scenario 2:
Cache is clear. Thread-0 is trying to remove /a node. He checks / (root) and 
because there is no any children, no WL lock was created. Because no lock has 
been created, no information to current transaction table about removed node is 
added. (Treecache in pessimistic locking scheme doesn?t is marking only nodes 
as removed when real _remove operation is invoked. Nodes are really removed in 
commit phase). Tread-0 is going into real _remove operation. Assume that 
Thread-0 sleeps before _remove execution (simulate heavy-load). Now Thread-1 is 
trying to put new data into /a/b/c/d node. He must checks whole path /a/b/c/d. 
because / (root) doesn?t contains any children, /a is created and then /a/b 
etc. Now Thread-1 needs to check end loop condition, but assume, that before 
this operation Thread-0 invokes _remove operation. Node /a is marked as 
removed, Thread-0 commit tr

[jboss-user] [JBoss Seam] - Re: Schemas/DTDs for Seam XML Documents

2007-09-09 Thread [EMAIL PROTECTED]
jboss-seam-1.2.1.GA find . -name "*xsd"
./src/ioc/org/jboss/seam/ioc/spring/spring-1.2.xsd
./src/ioc/org/jboss/seam/ioc/spring/spring-seam-1.2.xsd
./src/ioc/schema/seam-components_1_0.xsd
./src/main/org/jboss/seam/components-1.2.xsd
./src/main/org/jboss/seam/core-1.2.xsd
./src/main/org/jboss/seam/drools-1.2.xsd
./src/main/org/jboss/seam/framework-1.2.xsd
./src/main/org/jboss/seam/jms-1.2.xsd
./src/main/org/jboss/seam/mail-1.2.xsd
./src/main/org/jboss/seam/pageflow-1.2.xsd
./src/main/org/jboss/seam/remoting-1.2.xsd
./src/main/org/jboss/seam/security-1.2.xsd
./src/main/org/jboss/seam/theme-1.2.xsd
./src/main/org/jboss/seam/web-1.2.xsd

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082432#4082432

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082432
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Re: Steps for Deploying the new EAR file (Hot Deployment ??)

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=11957 Posted on behalf of 
a User

bkucutc

In Response To: 

Hi..,

  What are the steps when you want to deploy the new war file to the server. 
Here are the steps I follow :

1. Shutdown the App server
2. Remove the EAR file from deploy folder
3. Go to the tmp folder & remove all the files related to the earlier app
4. Go to the work folder & remove all the files related to the earlier app
5. Deploy the new war file.
6. Start the app server.

Are these steps correct. ?

If I don't deploy the app as per the steps mentioned above, the App doesn't 
work fine & throws all kind of exceptions.

Our is a linux RH ES , HP bladed env. 

Also , please let me know if there is any way to do the hot deployment on JBoss.

Regards,

Praveen



___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: about Jbpm scheduler

2007-09-09 Thread rekyll
Thanks for you reply.

Other process is running well, but scheduler.

in debug, JbpmContext is null !!,
but run other process without scheduler,
all good. -_-|||~

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082433#4082433

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082433
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Charts

2007-09-09 Thread supernovasoftware.com
I have used both, but not extensively.  The drill down feature looked nice in 
Trinidad.  I haven't checked for a similar feature in JFreeChart.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082434#4082434

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082434
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - start JBoss problem

2007-09-09 Thread leaderbird
I tried to follow jboss-5.0.0.Beta1 installation intructions to install 
jboss-5.0.0.Beta1on top of jboss-5.0.0.Beta1.

After that, I tried to start JBoss, but I saw a lot of exceptions, and 
http://localhost:8080/jbossws could not be reached.  Am I missing anything in 
the steps? any comments are appreciated.

Part of the exception messages are 
-
10:02:24,343 ERROR [BaseModelMBean] Exception invoking method addChild
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
at 
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at 
org.jboss.web.metamodel.descriptor.WebDDObjectFactory.parse(WebDDObjectFactory.java:82)
at 
org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:256)
at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4198)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5285)
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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302)
at 
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
at $Proxy0.start(Unknown Source)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at 
org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
at 
org.jboss.depende

[jboss-user] [JBoss Messaging] - Observing JMS Bridge Connections?

2007-09-09 Thread julians37
I'm looking for a way to get notified by JBoss Messaging when a JMS Bridge to a 
remote broker goes down and comes up again. The connection between my bridged 
JMS brokers is not always available and I need to provide failover behaviour 
for when it is unavailable.

I've read the user documentation and I've taken a look at the code in 
Bridge.java, but it doesn't seem as if there would be any kind of notification 
mechanism in place. What would be the best way to implement this - would I have 
to provide a custom ConnectionFactory that creates wrapped connection objects 
handling the notification? Would it be better to use the aspect interface and 
advise the corresponding functions in javax.jms.Connection? Is there a more 
elegant way that I've overlooked?

In the long term, are there any plans to implement something akin to ApacheMQ's 
advisory messages?

Thanks in advance.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082436#4082436

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082436
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: start JBoss problem

2007-09-09 Thread leaderbird
"leaderbird" wrote : I tried to follow jboss-5.0.0.Beta1 installation 
intructions to install jboss-5.0.0.Beta1on top of jboss-5.0.0.Beta1.
  | 
  | After that, I tried to start JBoss, but I saw a lot of exceptions, and 
http://localhost:8080/appName could not be reached.  Am I missing anything in 
the steps? any comments are appreciated.
  | 
  | Part of the exception messages are 
  | -
  | 10:02:24,343 ERROR [BaseModelMBean] Exception invoking method addChild
  | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX 
parser
  | at 
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
  | at 
org.jboss.web.metamodel.descriptor.WebDDObjectFactory.parse(WebDDObjectFactory.java:82)
  | at 
org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:256)
  | at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4198)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
  | 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5285)
  | 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302)
  | at 
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
  | at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
  | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
  | at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
  | at 
org.jboss.dependency.plugins.AbstractController.change(Abstract

[jboss-user] [JBoss Seam] - Re: Schemas/DTDs for Seam XML Documents

2007-09-09 Thread neilac333
Ahhh...I was looking online and didn't look within the distribution.  My bad.  

Thanks.

P.S. Incidentally, Christian, nice job (with Gavin) on Java Persistence with 
Hibernate.  It has been very helpful.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082438#4082438

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082438
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error when use Log4jSocketServer and SocketAppender !

2007-09-09 Thread catania
Hi all!
  I use anonymous wrote : jboss-4.0.5.GA, EJB3.0 XP_SP2 I use  anonymous wrote 
: Log4jSocketServer and SocketAppender to log some request from clients to 
server.  (Example both of server and client is the same machine, and host name: 
pc6 and has IP is:  192.168.1.228).
  Ok, inside server\default\conf\jboss-service.xml, I added:
...
  | 
  |
  |${jboss.bind.address}
  | 
  Then, inside server\default\conf\log4j.xml, I added:
...
  | 
  |
  | --> or  "192.168.1.228"
  |
  |
  | 
   But when I restart JBoss Server, I received some errors:
log4j:ERROR Could not connect to remote log4j server at [pc6]. We will try 
again later.
  | java.net.ConnectException: Connection refused: connect
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  | ...
   Please guid to me how way fixed my errors. (Sorry, my English is not good.)
   Thanks very much.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082439#4082439

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082439
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank problem

2007-09-09 Thread albert.chen
Hi I'm wondering if the tutorial works in jboss-4.2.1 ? I encounter compilation 
problem while compiling the J2EE 1.4 Tutorial Update 7

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082440#4082440

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082440
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank problem

2007-09-09 Thread albert.chen
Buildfile: jboss-build.xml

prepare:

compile:
[javac] Compiling 61 source files to 
/opt/Source/j2eetutorial14/examples/bank/build
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/jboss/ebank/WSClient.java:16: 
cannot find symbol
[javac] symbol  : class ServiceImpl
[javac] location: package org.jboss.ws.jaxrpc
[javac] import org.jboss.ws.jaxrpc.ServiceImpl;
[javac]^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/DefinitionTag.java:31:
 package javax.servlet.jsp do
es not exist
[javac] import javax.servlet.jsp.JspTagException;
[javac]  ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/DefinitionTag.java:32:
 package javax.servlet.jsp do
es not exist
[javac] import javax.servlet.jsp.PageContext;
[javac]  ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/DefinitionTag.java:33:
 package javax.servlet.jsp.ta
gext does not exist
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/DefinitionTag.java:37:
 cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class DefinitionTag extends SimpleTagSupport {
[javac]^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/InsertTag.java:32:
 package javax.servlet.jsp does n
ot exist
[javac] import javax.servlet.jsp.JspTagException;
[javac]  ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/InsertTag.java:33:
 package javax.servlet.jsp does n
ot exist
[javac] import javax.servlet.jsp.PageContext;
[javac]  ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/InsertTag.java:34:
 package javax.servlet.jsp.tagext
 does not exist
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/InsertTag.java:38:
 cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class InsertTag extends SimpleTagSupport {
[javac]^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/InsertTag.java:54:
 cannot find symbol
[javac] symbol  : class JspTagException
[javac] location: class com.sun.ebank.web.template.InsertTag
[javac] public void doTag() throws JspTagException {
[javac]^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/ParameterTag.java:31:
 package javax.servlet.jsp.tag
ext does not exist
[javac] import javax.servlet.jsp.tagext.*;
[javac] ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/ParameterTag.java:32:
 package javax.servlet.jsp doe
s not exist
[javac] import javax.servlet.jsp.PageContext;
[javac]  ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/ParameterTag.java:36:
 cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class ParameterTag extends SimpleTagSupport {
[javac]   ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/ScreenTag.java:31:
 package javax.servlet.jsp.tagext
 does not exist
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/ScreenTag.java:32:
 package javax.servlet.jsp does n
ot exist
[javac] import javax.servlet.jsp.PageContext;
[javac]  ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/ScreenTag.java:36:
 cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class ScreenTag extends SimpleTagSupport {
[javac]^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/DefinitionTag.java:62:
 cannot find symbol
[javac] symbol  : method getJspBody()
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] getJspBody()
[javac] ^
[javac] 
/opt/Source/j2eetutorial14/examples/bank/src/com/sun/ebank/web/template/DefinitionTag.java:66:
 cannot find symbol
[javac] symbol  : class PageContext
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] 
/opt/Source/j2

[jboss-user] [JBoss Seam] - Re: How to Handle POST Callbacks from a third party appliati

2007-09-09 Thread nynymike
I am getting a NPE... I must be doing something wrong! But what...

pages.xml

  | 
  | 
  | 
  | 
  | 
  |  

  | 
  | 

Error

  | ... 51 more
  | Caused by: java.lang.NullPointerException
  | at 
us.ziacom.vm.action.JbillingCallbackHandlerAction.processPost(Jbillin
  | gCallbackHandlerAction.java:21)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationCo
  | ntextImpl.java:166)
  | at 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationCo
  | ntext.java:44)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
  | Context.java:56)
  | at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackI
  | nterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
  | Context.java:68)
  | at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterc
  | eptor.java:46)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
  | Context.java:68)
  | at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodConte
  | xtInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
  | Context.java:68)
  | at 
org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke
  | (EntityManagerProxyInterceptor.java:26)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
  | Context.java:68)
  | at 
org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInv
  | oke(HibernateSessionProxyInterceptor.java:27)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
  | Context.java:68)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:
  | 106)
  | at 
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionB
  | eanInterceptor.java:50)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationCo
  | ntextImpl.java:118)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3Int
  | erceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invok
  | e(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsI
  | nterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | ... 84 more
  | 

Action

  | @Stateless
  | @Scope(ScopeType.STATELESS)
  | @Name("jBillingCallbackHandlerAction")
  | public class JbillingCallbackHandlerAction implements
  | IJbillingCallbackHandlerAction {
  | 
  | @In(required=false)
  | JbillingCallback callback;
  | 
  | @Override
  | public String processPost() {
  | System.out.println("**" + callback.getCmd());
  | System.out.println("**" + callback.getUser_id());
  | System.out.println("**" + callback.getLogin_name());
  | System.out.println("**" + callback.getFrom_status());
  | System.out.println("**" + callback.getTo_status());
  | return "home";
  | }
  | 

HTML Test Page that Posts Request

  | 
  | 
  |   
  | MyHtml.html
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  |   
  | This is my HTML page. 
  | 
  | http://jboss.ziacom.us:8080/voicemail/jbillingCallbackHandler.seam"; 
name="jbillingTest">
  | 
  | 
  | 
  | 
  | 
  | foo
  | bar
  | 
  |  
  | 
  | 
 

[jboss-user] [Beginners Corner] - Re: Warning when use log4j

2007-09-09 Thread PeterJ
That makes perfect sense.

You need to satisfy three conditions to get this warning:

1) No log4j.properties or log5j.xml file
2) The lag4j.jar file in your classpath
3) Invoke a method that tried to log something

Apparently, when your client calls an EJB, all three conditions are satisfied. 
For other clients, one or more of these conditions is not satisfied (probably 
not methods are doing logging).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082443#4082443

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082443
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Log some requests to database ?

2007-09-09 Thread PeterJ
JBoss AS uses log4j to do its logging. Any appenders that Log4j supports can be 
used in JBoss AS. Here is a good place to start: 
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/jdbc/JDBCAppender.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082445#4082445

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082445
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Exceptions while starting JBoss on Ubuntu 7.04 (Feisty F

2007-09-09 Thread PeterJ
trasnvall's suggestion is right-on, IPv6 tends to cause all sorts of weird 
issues.

You /etc/hosts file should have two entries for the localhost line, something 
like:

127.0.0.1 localhost;locahost.domainname

I will double-check my /etc/hosts when I get to work to verify this entry.

You do not have to uninstall your current installation, just install to a 
different directory. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082446#4082446

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082446
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Deployment Error

2007-09-09 Thread PeterJ
What happens when you use the latest 1.4.2 JVM?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082447#4082447

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082447
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: cant start jboss AS 5 clean from europa eclipse

2007-09-09 Thread PeterJ
This has nothing to do with Eclipse, rather the culprit is JDK 1.6. See 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6 
and then go back to using JDK 1.5.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082448#4082448

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082448
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Mapping problem

2007-09-09 Thread PeterJ
leaderbird, please do not append unrelated questions to the end of someone 
else's post. I you repeat your question in a new post, I will offer some 
suggestions. (When you repost, reread your first sentence...)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082449#4082449

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082449
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Deploy with two beans have same names inside two packages di

2007-09-09 Thread changemylife
Hi all!
  I use jboss-4.0.5.GA and EJB3.0
  I write two beans that have same name (called BeanA). Example: 
anonymous wrote : 
  |   Inside package: my.com has a bean called BeanA and exported to "my.jar"
  |   Inside package: john.com has a bean called Bean A and exported to 
"john.jar"
  I deployed two jars follow order: my.jar is first, and john.jar is second. 
Deploying two jars (my.jar and john.jar) is Ok!
  On the client side, I import two jars, and call add method:

import my.com.BeanA;   --> The first, I import BeanA from my.com
  | ...
  | Context ctx = new InitialContext();
  | BeanA b = (BeanA)ctx.lookup(BeanABean/remote);
  | b.add(1,2);
  | 
  ---> all works are ok!
  But when I change import statement:
import john.com.BeanA; (not my.com.BeanA)
  And then, I received ClassCastException error at line:
BeanA b = (BeanA)ctx.lookup(BeanABean/remote);
  I think that my.jar is first deployed so my works are success! And JBoss not 
recognize john.jar when it deployed after, so my works are fail !
  Have ideas about this problem? Please guide to me!
  Thanks very much.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082450#4082450

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082450
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - how can i increase performence and speed

2007-09-09 Thread sunainavarma

hi  

i am new to jboss.  I am using Jboss application serveer installed in server 
system. when i am connecting to the jboss and running my application through my 
client system it takes very much time.

how can i increase my speed of the application and how can i increase the 
performance of the application


Any one pls help me

thank you in advance





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082451#4082451

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082451
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Unable to get Connection to send a message on the testQu

2007-09-09 Thread jbosspatni
Request help in figuring this out.I am unable to connect to a Messaging Queue a 
stateless session bean example.

Thanks & Regards,
Ajeet Phansalkar

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082452#4082452

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082452
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - ICEFaces and Seam 2.0

2007-09-09 Thread thejavafreak
Dear all,

Has anyone here been able to configure ICEFaces working with Seam 2.0? May I 
get a snippets on the web.xml and faces-config.xml since the documents on 
icefaces.org regarding integrating ICEFaces and Seam 2.0 simply not applicable 
because the documents uses Seam 1.3.0Alpha

Thanks in advance 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082453#4082453

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082453
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: IllegalStateException after redeploy

2007-09-09 Thread mschoenau
Hallo,

I have the same exception.
I am using the same environments and the 
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/tutorial.html#numberguess 
but in my own workspace. 

The normal pageflow-example is wunderful. I start with "seam setup" and "seam 
new-project" with project name Numberguess. After i copy and convert the paths 
in the seam build script. I deploy the EAR and JBoss started normaly the 
application. The JBoss 4.2.0 is new installed. I call 
"http://localhost:8080/seam-numberguess/numberGuess.seam"; and see the page, but 
without form elements and one Guess button, and the IllegalStateException on 
text console.

Where is the difference of both applications then the JPDLs equal?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082454#4082454

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082454
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-09-09 Thread neilac333
I think Gavin mentioned that Seam 2.0 will work on WLS 9.2.  This is great news 
since that is the target platform I have been dealt.  

Still, given Seam's upgrade to JSF 1.2, does WLS 9.2 need to be altered by 
upgrading it to support JSF 1.2 as is the case with JBoss 4.0.5?  If so, how is 
this done?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082455#4082455

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082455
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Please explain

2007-09-09 Thread saeediqbal1
In the blog example, inside post.xhtml, we have commandButton without action or 
any other property but value.

Can somebody explain how the post works with this code please?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082456#4082456

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082456
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam and Downloading?

2007-09-09 Thread mnrz
Hi

Does Seam provide a convenient component to write into output stream rather 
than getting the request from the FaccesContext and producing the response 
manually?
this usually is for downloading a file on a user request.

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082457#4082457

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082457
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - regarding Redirect.captureCurrentView()

2007-09-09 Thread mnrz
hello

I want to navigate from a page to my error page when an exception occurs, and 
after going to error page, the user is able to click on "back" button to go 
back to last page.

I am using Redirect.instance().captureCurrentView() and in my ErrorAction bean 
in its back() method I called Redirect.instance().returnToCapturedView() but it 
doesn't work. Am I doing wrong? 

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082458#4082458

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082458
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Failed to boot JBoss: ::: Please Help!

2007-09-09 Thread jaikiran
"umailkamal" wrote : 
  | Are you from india?

Yes, i am.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082459#4082459

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082459
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS 4.2.0 GA and local socket connection

2007-09-09 Thread jaikiran
How do you open the Socket connection? Can you post the code? Do you use the IP 
of the server to open the connection?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082460#4082460

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082460
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why does a Seam 1.2.GA POJO app need javax.ejb.Applicati

2007-09-09 Thread soza
Sorry for the delay Pete. I have not be able to reproduce the error. If i do 
see it again, will provide the details. Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082461#4082461

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082461
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: Using Context externally returns error related to TRACE

2007-09-09 Thread shankha
Yes I got the same error.
I resolved it by the same way as youmentiond.

But what is the reason behind this error and why I have to replace the log4j 
with jboss -boot log4j ?

shankha

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082462#4082462

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082462
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: unable to find LoginModule class

2007-09-09 Thread jaikiran
Where have you placed the com.jpagera.login.JPageraLoginModul class?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082463#4082463

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082463
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Authenticator problem in Seam 2 beta

2007-09-09 Thread [EMAIL PROTECTED]
Hi,

does anybody know if remoting mechnism is supported with home objects? Because 
I can?t get them work together! I get the error which is listed below. It says 
that method is not found. But if there isn?t ?extends EntityHome? the invoked 
method can be found somehow.
I can?t understand that! 
I'm using jboss-seam-CVS.2007-09-07 and JBoss AS 4.2.
Thanks in advance for any explanation.


  | ERROR [ContextualHttpServletRequest] ended request due to exception
  | java.lang.IllegalArgumentException: method not found: create for component: 
testAction (check that it is declared on the session bean business interface)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2101)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:2006)
  | at org.jboss.seam.Component.newInstance(Component.java:1977)
  | at org.jboss.seam.Component.getInstance(Component.java:1874)
  | at org.jboss.seam.Component.getInstance(Component.java:1841)
  | at org.jboss.seam.remoting.Call.processInvocation(Call.java:142)
  | at org.jboss.seam.remoting.Call.execute(Call.java:124)
  | at 
org.jboss.seam.remoting.ExecutionHandler$1.process(ExecutionHandler.java:70)
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:46)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:59)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:113)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:69)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:86)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Ht

[jboss-user] [JBoss Seam] - Re: Seam and Downloading?

2007-09-09 Thread [EMAIL PROTECTED]
Check /examples/wiki/src/main/.../ui/FileServlet.java and the components.xml 
for the Seam filter.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082465#4082465

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082465
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Authenticator problem in Seam 2 beta

2007-09-09 Thread [EMAIL PROTECTED]
Sorry, it should go to the following thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117953

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082466#4082466

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082466
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Error when stopping cache.

2007-09-09 Thread aliher
I've also observed similar results with JGroups 2.5 which is shipped with JBC.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082468#4082468

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082468
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error while using remoting with Home objects?

2007-09-09 Thread [EMAIL PROTECTED]
Hi, 

does anybody know if remoting mechnism is supported with home objects? Because 
I can?t get them work together! I get the error which is listed below. It says 
that method is not found. But if there isn?t ?extends EntityHome? the invoked 
method can be found somehow. 
I can?t understand that! 
I'm using jboss-seam-CVS.2007-09-07 and JBoss AS 4.2. 
Thanks in advance for any explanation.


  | ERROR [ContextualHttpServletRequest] ended request due to exception
  | java.lang.IllegalArgumentException: method not found: create for component: 
testAction (check that it is declared on the session bean business interface)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2101)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:2006)
  | at org.jboss.seam.Component.newInstance(Component.java:1977)
  | at org.jboss.seam.Component.getInstance(Component.java:1874)
  | at org.jboss.seam.Component.getInstance(Component.java:1841)
  | at org.jboss.seam.remoting.Call.processInvocation(Call.java:142)
  | at org.jboss.seam.remoting.Call.execute(Call.java:124)
  | at 
org.jboss.seam.remoting.ExecutionHandler$1.process(ExecutionHandler.java:70)
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:46)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:59)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:113)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:69)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:86)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11

[jboss-user] [Beginners Corner] - Problem about using SocketAppender !!

2007-09-09 Thread changemylife
Hi all!
I use anonymous wrote : jboss-4.0.5.GA, EJB3.0 XP_SP2
I use anonymous wrote : Log4jSocketServer and SocketAppender to log some 
request from clients to server. (Example both of server and client is the same 
machine, and host name: pc6 and has IP is: 192.168.1.228 ).
Ok, inside server\default\conf\jboss-service.xml, I added:

  | ...
  | 
  |
  |${jboss.bind.address}
  | 

Then, inside server\default\conf\log4j.xml, I added:

  | ...
  | 
  |
  | --> or  "192.168.1.228"
  |
  |
  | 

But when I restart JBoss Server, I received some errors:

  | log4j:ERROR Could not connect to remote log4j server at [pc6]. We will try 
again later.
  | java.net.ConnectException: Connection refused: connect
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  | ...

Please guid to me how way fixed my errors. (Sorry, my English is not good.)
Thanks very much.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082469#4082469

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082469
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Javassist user questions] - ClassFormatError on Websphere 6.1 on iSeries

2007-09-09 Thread soza
Hi 

We have Seam 1.2.1GA POJO app that works fine on Websphere 6.1 on Windows. 
However the same EAR file fails on Websphere 6.1 on IBM's iSeries server. 
javassist throws a ClassFormatError when loading the the first Seam component 
for the application. Here's the exception...

Caused by: java.lang.RuntimeException: by java.lang.ClassFormatError: [PACKAGE 
name withheld]ServiceImpl_$$_javassist_0  6305 
at java.lang.Throwable.(Throwable.java:218) 
at java.lang.RuntimeException.(RuntimeException.java:61) 
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:365) 
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:323) 
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:274) 
at org.jboss.seam.Component.createProxyFactory(Component.java:1979) 
at org.jboss.seam.Component.getProxyFactory(Component.java:1154) 
at org.jboss.seam.Component.wrap(Component.java:1145) 
at org.jboss.seam.Component.instantiateJavaBean(Component.java:1134) 
at org.jboss.seam.Component.instantiate(Component.java:1088) 
at org.jboss.seam.Component.newInstance(Component.java:1736) 
... 73 more 
Caused by: javassist.CannotCompileException: by java.lang.ClassFormatError: 
[PACKAGE name withheld]ServiceImpl_$$_javassist_0  6305 
at java.lang.Throwable.(Throwable.java:196) 
at java.lang.Exception.(Exception.java:41) 
at javassist.CannotCompileException.(CannotCompileException.java:73) 
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:181) 
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:353) 
... 81 more 
Caused by: java.lang.ClassFormatError: [PACKAGE name 
withheld]ServiceImpl_$$_javassist_0  6305 
at java.lang.Throwable.(Throwable.java:196) 
at java.lang.Error.(Error.java:49) 
at java.lang.ClassFormatError.(ClassFormatError.java:35) 
at java.lang.ClassLoader.defineClass(ClassLoader.java:651

Here's the interesting part...typically ClassFormatError would also provide the 
message indicating the cause for failure, but in this case it just displays a 
sequence of numbers...

Caused by: javassist.CannotCompileException: by java.lang.ClassFormatError: 
[PACKAGE name withheld]ServiceImpl_$$_javassist_0  6305 

Both on windows and the iSeries box we are using IBM's Java 1.5 JRE.  Also i'm 
using javassist 3.4. Anybody can shed any light on what the numbers are?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082470#4082470

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082470
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user