[JBoss-user] [Management, JMX/JBoss] - Re: Service XMBean: Unable to find operation

2006-04-25 Thread HenkoMannen
Confirming myself. It's working. Great!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939311


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Service XMBean: Unable to find operation

2006-04-25 Thread HenkoMannen
DOH, I typed before I thought!!

Of course I have to declare independent operations in the descriptor that maps 
to the underlaying service class operations where I retreive and return the 
value asked for. Correct me if I'm wrong.

Thanks for pointing me out, Dimitri.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939293


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Service XMBean: Unable to find operation

2006-04-25 Thread HenkoMannen
Ah, I see. So attributes are no longer callable as operations? I have to define 
getter and setter operation elements in my xml descriptor for each and every 
attribute, right? 

How should this be done? Do these operations map to attributes conforming to 
the JavaBean standard or how shall I map?

Do you know of any info (like wiki post) about this?

Found this DTD that might help me. 
http://cvs.sourceforge.net/viewcvs.py/jboss/jmx/src/resources/metadata/Attic/jboss_xmbean_1_1.dtd?rev=1.1.2.4&view=markup

Thanks Dimitri![/url]

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939283


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Service XMBean: Unable to find operation

2006-04-25 Thread HenkoMannen
I'm migrating from 403SP1 to 404CR2 and it seems like one of my Service XMBeans 
is broken, although it deploys and displays nicely in the JMX Console.

It seems to work to look it up but when I try to access methods on it I get an 
IllegalArgumentException:


  | 15:34:27,860 ERROR [Login] java.lang.IllegalArgumentException: Unable to 
find operation getAgeAccessLimit()
  | 15:34:27,860 ERROR [STDERR] javax.ejb.EJBTransactionRolledbackException: 
java.lang.IllegalArgumentException: Unable to find operation getAgeAccessLimit()
  | 15:34:27,862 ERROR [STDERR] at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:89)
  | 15:34:27,862 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | 15:34:27,862 ERROR [STDERR] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
  | 15:34:27,862 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:34:27,862 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | 15:34:27,862 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:34:27,863 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
  | 15:34:27,863 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:34:27,863 ERROR [STDERR] at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | 15:34:27,863 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:34:27,863 ERROR [STDERR] at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | 15:34:27,864 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:34:27,864 ERROR [STDERR] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 15:34:27,864 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:34:27,864 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
  | 15:34:27,864 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
  | ...
  | 15:34:27,896 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: 
Unable to find operation getAgeAccessLimit()
  | 15:34:27,896 ERROR [STDERR] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:227)
  | 15:34:27,896 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 15:34:27,896 ERROR [STDERR] at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
  | 15:34:27,896 ERROR [STDERR] at $Proxy119.getAgeAccessLimit(Unknown 
Source)
  | ...
  | 

The XMBean is making use of the AttributePersistenceService declared in 
/conf/jboss-service.xml and the values are loaded upon startup of the server 
and shows up correctly in the JMX Console for the service.

The service in question extends the ServiceMBeanSupport class and implements an 
Interface that in turn extends the ServiceMBean interface.


  | import org.jboss.system.ServiceMBeanSupport;
  | 
  | public class AxessityService extends ServiceMBeanSupport implements 
AxessityServiceMBean
  | {
  | ...
  | 
  | import org.jboss.system.ServiceMBean;
  | 
  | public interface AxessityServiceMBean extends ServiceMBean
  | {
  | ...
  | 

The service does not make use of any annotations but solely on xml declaration 
where methods and return values are declared.


  | 
  | 
  | 
  | 
  | 
  | axessity:service=saeService
  | 
  | ...
  | 
  | 
  | 
  | This Management Bean is provided for 
configuration of the 
  | business logic of Axessity. The values set here 
are retreived
  | by the web tier at startup and at a regular 
basis depending on
  | the cache value of the web tier. 
  | 
  | 
  | 
  | 
  | 
  | 
se.infogate.axessity.service.AxessityService
  | 
  | 
  | 
  | This parameter tells if the citynet 
shall limit the number
  | of users per connection / plug. If 
true, the parameter
  | registeredUsersAmountLimit is checked 
for a specific limit.
  | 
  | LimitRegisteredUserPerPlug
  | boo

[JBoss-user] [EJB 3.0] - Re: SFSB breaks - moving from 4.0.4RC1 to 4.0.4CR2

2006-04-25 Thread HenkoMannen
This happens to me as well after an exception has been raised.


  | 16:01:40,759 ERROR [Login] Could not find Stateful bean: 
5c4og5m-cflx7q-emg9yzh7-1-emga1xta-8
  | 16:01:40,777 ERROR [STDERR] javax.ejb.EJBNoSuchObjectException: Could not 
find Stateful bean: 5c4og5m-cflx7q-emg9yzh7-1-emga1xta-8
  | 16:01:40,778 ERROR [STDERR] at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:251)
  | 16:01:40,778 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:59)
  | 16:01:40,778 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 16:01:40,778 ERROR [STDERR] at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | 16:01:40,779 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 16:01:40,779 ERROR [STDERR] at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | 16:01:40,779 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 16:01:40,779 ERROR [STDERR] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 16:01:40,779 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 16:01:40,779 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199)
  | 16:01:40,780 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  | 16:01:40,780 ERROR [STDERR] at $Proxy103.getPortalUser(Unknown Source)
  | 

Somewhat critical. :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939232


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Problem with JBoss 404cr2 and EJB3rc6

2006-04-20 Thread HenkoMannen
Downgraded to EJB3RC5 (still with 4.0.4CR2) and now it all works fine.

I don't know, but it feels to me like JBoss could have a compatibility issue 
with the latest AS release candidate - or candidate release :-S - and EJBRC6?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938422


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Problem with JBoss 404cr2 and EJB3rc6

2006-04-20 Thread HenkoMannen
I succeeded to install JBoss AS 4.0.4.CR2 (configured it with ejb3 clustering 
as "all") with the jar-installer but ends up with the same result as before:


  | java.lang.TypeNotPresentException: Type javax.ejb.PostConstruct not present
  | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
javax.ejb.PostConstruct
  | 

...without having done any modifications on the installation when it comes to 
the EJB3 part. I also checked the /deploy/ejb3.deployer/ directory to confirm 
that the jboss-ejb3x.jar is in place, and it is.

This is a quick structure description of our packaged application:

axessity.ear
--META-INF
application.xml
MANIFEST.MF
--axessity-sae.sar
META-INF
--MANIFEST.MF
--jboss-service.xml
[packaged service classes]
--axessity.sar
META-INF
--jboss-service.xml
--MANIFEST.MF
[packaged service classes]
--axessity.war
[directories with web content, jsp files, applets, etc]
META-INF
--MANIFEST.MF
WEB-INF
--classes
--lib (containing .jars only for web tier)
--tld
--web.xml
--axessity-beans.jar
META-INF
--MANIFEST.MF
[packaged EJB Session Beans, application exceptions and util classes]
--axessity-citynet.jar 
META-INF
--MANIFEST.MF
--persistence.xml (EntityManager for database #1)
[packaged Entity Beans]
--axessity-portal.jar
META-INF
--MANIFEST.MF
--persistence.xml (EntityManager for database #2)
[packaged Entity Beans]

Any obvious problems with this packaging? It worked fine with JBoss AS 4.0.3SP1.

We have followed the wiki migration guide for EJB's, Hibernate and 
persistence.xml.

We are also depending on xmbeans with attribute persistence so I had to modify 
the /all/conf/jboss-service.xml to use the AttributePersistenceService.

Another thing we depend on is System.properties and we add properties to the 
system from a properties file residing in /all/conf/ and pointing it out in the 
properties-service.xml in the /all/deploy/ directory. properties-plugin.jar is 
also added to /all/lib/ as it holds 
org.jboss.varia.property.PropertyEditorManagerService. Never been a problem 
before.

Anyone else that have succeeded to migrate to 4.0.4CR2 + EJB3RC6?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938415


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Problem with JBoss 404cr2 and EJB3rc6

2006-04-20 Thread HenkoMannen
Yes, there is a jboss-ejb3x.jar located there. It is taken från the EJB3RC6 
package. I suppose the EJB3RC6 package is compatible with JBoss AS 4.0.4CR2?

There is a difference between the RC5 and RC6 versions where 
PostConstruct.class is moved from the javax.ejb package to javax.annotations. 
But that you are of course already aware of...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938345


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Problem with JBoss 404cr2 and EJB3rc6

2006-04-19 Thread HenkoMannen
Hi,

I'm in the middle of the process of migrating from JBoss 403sp1 with EJB3rc3 to 
JBoss 404cr2 with EJB3rc6 and I'm having problems.

When deploying my .ear package (containing an application.xml file in the 
META-INF directory pointing out one jar containing session beans and two other 
jars containing entity beans) the following exception is thrown:


  | 16:18:32,021 INFO  [EARDeployer] Init J2EE application: 
file:/opt/UMC/jboss/server/all/deploy/axessity.ear
  | 16:18:34,725 INFO  [Ejb3Deployment] EJB3 deployment time took: 1035
  | 16:18:34,924 INFO  [Ejb3Deployment] EJB3 deployment time took: 179
  | 16:18:35,106 INFO  [Ejb3Deployment] EJB3 deployment time took: 162
  | 16:18:35,444 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=RegisterBean,service=EJB3
  | 16:18:35,445 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=RegisterBean,service=EJB3
  | 16:18:35,445 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=UserBean,service=EJB3
  | 16:18:35,446 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=UserBean,service=EJB3
  | 16:18:35,446 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=AxessityConfigBean,service=EJB3
  | 16:18:35,447 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=AxessityConfigBean,service=EJB3
  | 16:18:35,447 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=CompanyBean,service=EJB3
  | 16:18:35,447 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=CompanyBean,service=EJB3
  | 16:18:35,448 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=IspCustomerBean,service=EJB3
  | 16:18:35,448 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=IspCustomerBean,service=EJB3
  | 16:18:35,449 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=PersonBean,service=EJB3
  | 16:18:35,450 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=PersonBean,service=EJB3
  | 16:18:35,450 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=PlugBean,service=EJB3
  | 16:18:35,450 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=PlugBean,service=EJB3
  | 16:18:35,451 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=RegisterEquipmentBean,service=EJB3
  | 16:18:35,451 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=RegisterEquipmentBean,service=EJB3
  | 16:18:35,452 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=ServiceBean,service=EJB3
  | 16:18:35,452 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=ServiceBean,service=EJB3
  | 16:18:35,452 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=SubscriberBean,service=EJB3
  | 16:18:35,453 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=SubscriberBean,service=EJB3
  | 16:18:35,453 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=UserUtilsBean,service=EJB3
  | 16:18:35,454 WARN  [ServiceController] Ignoring request to destroy 
nonexistent service: 
jboss.j2ee:ear=axessity.ear,jar=axessity-beans.jar,name=UserUtilsBean,service=EJB3
  | 16:18:35,715 WARN  [ServiceController] Problem starting service 
jboss.j2ee:service=EJB3,module=axessity-beans.jar
  | java.lang.TypeNotPresentException: Type javax.ejb.PostConstruct not present
  | at 
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
  | at 
sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
  | at 
sun.reflect.generics.tree.ClassTyp

[JBoss-user] [EJB 3.0] - Re: Deployment order ejb3 / war

2006-03-31 Thread HenkoMannen
Great! Used the search function of this forum - DOH - and found this topic that 
solved my problem:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75702

The answer is PrefixDeploymentSorter.

/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933982


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Deployment order ejb3 / war

2006-03-31 Thread HenkoMannen
Hi,

I'm using JBoss AS 4.0.3sp1. 

Is it possible to have our standalone .war to have a dependency of being 
deployed _after_ some ejb3 archives or do we have to package the .war into an 
.ear package to be certain of this? As it is now the web application is 
deployed before the ejb package on startup of jboss. 

This issue is quite cruicial for us as our customers need to be able to easily 
change the file area contents of the web application (it needs to be deployed 
as an exploaded archive).

Regards!
/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933973


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Transaction question

2006-03-27 Thread HenkoMannen
Thanks Emmanuel!

The structure of the code is as follows:

A SSFB named UserBean receives the call and passes it from the login method to 
its increaseFailedLogins method if needed. Here the call is interpreted and 
passed forward to the update method of either the PersonBean or the CompanyBean 
(both SLSB:s). 

It works if - and only if - i annotate the update method of the SLSB:s, i.e. it 
does not work when annotating only the increaseFailedLogins method of the SFSB 
because then the values are rollbacked anyway, somehow. (annotating with 
TransactionAttribute(TransactionAttributeType.REQUIRES_NEW))

Is this the expected behavior? I would appreciate if annotating the 
increaseFailedLogins method was enough due to reuse of the SLSB:s, but this is 
good for now.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932823


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Getting the client IP

2006-03-27 Thread HenkoMannen
If you have access and control of the client you can change the interface to 
the EJB and submit the IP from the client.

Use InetAddress.getLocalHost() to get the client IP address.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932814


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Transaction question

2006-03-27 Thread HenkoMannen
Hi,

is it possible to use transaction annotations on a method of a SFSB to make it 
to not be part of the transaction?

The thing is I've got a login functionality that has some built in security 
that prevents login calls for 24 hours for a user that has failed to login more 
than X times in a row. If anything goes wrong in the login method, the 
transaction rollbacks the modified data as it should. But for when the user has 
submitted the wrong password for the username an integer should be incremented 
and a date for the last failed login should be filled in and written to 
persistance storage (db).

As an application exception is thrown from the login method the integer and 
date fields are never filled in due to the transaction rollback. 

As I see it now, the only possible (horrible) solution is to make the client 
(web app) trigger the writing of the incremented data after receiving and 
interpreting the exception. Yikes. There has to be a better solution. 

Am I forced to use Bean Managed Transactions?

Regards!
/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932804


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems with JSP and Tag Libraries in JBoss using Tomca

2006-03-10 Thread HenkoMannen
I have still got problems with compiling java source files from my jsp pages, 
still trying to track down the root causing the problem. 

When translating jsp files including tag libraries, the java source files will 
contain a line with the tag in question being commented out - clarification 
reason, I suppose - like this: (notice the // c:forEarch)

...
  private boolean _jspx_meth_c_forEach_0(javax.servlet.jsp.tagext.JspTag 
_jspx_th_html_select_0, PageContext _jspx_page_context)
  throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
//  c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = 
(org.apache.taglibs.standard.tag.rt.core.ForEachTag) 
_jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent((javax.servlet.jsp.tagext.Tag) 
_jspx_th_html_select_0);
_jspx_th_c_forEach_0.setVar("isp");
...

This is a correct behavior. BUT, something strange happens when translating my 
jsp files. The code is not very nicely formatted but put on just a few lines 
which will cause more than just that tag line to be commented out, which in 
turn will cause the java source file to be incompilable. 

Does anyone have any explanation to why there is no line breaks in my 
translated jsp files? 

Here is an few snippets taken from an incorrectly translated file.

***Beginning of file: (everything is on one line)***
package org.apache.jsp.templates;import javax.servlet.*;import 
javax.servlet.http.*;import javax.servlet.jsp.*;

***Snippet from the content***
out.write("\"http://www.w3.org/TR/html4/loose.dtd\";>\r\n");  
out.write("\r\n");  //  tiles:useAttribute  
org.apache.struts.taglib.tiles.UseAttributeTag _jspx_th_tiles_useAttribute_0 = 
(org.apache.struts.taglib.tiles.UseAttributeTag) 
_jspx_tagPool_tiles_useAttribute_scope_name_nobody.get(org.apache.struts.taglib.tiles.UseAttributeTag.class);

Thanks in advance!
/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929270


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems with JSP and Tag Libraries in JBoss using Tomca

2006-03-03 Thread HenkoMannen
"HenkoMannen" wrote : 
  | The thing is... In the scenes behind the web application ...
  | 

Well... behind the scenes, anyway. :D

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927815


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems with JSP and Tag Libraries in JBoss using Tomca

2006-03-03 Thread HenkoMannen
Thanks for your ideas anyway, cgriffith. 

I have checked my tiles configuration file and the usage of the tiles tags are 
correct. 

The thing is... In the scenes behind the web application I have a business tier 
written using EJB3 that is contacting a product from Juniper called SDX (the 
6.2.1 version of this product). The contact with this SDX software can either 
be configured to be done in a "local" or a "distributed" way, where the 
distributed configuration works through a so called nic proxy to reach a 
Service Engine and the local configuration works directly against this Engine 
through CORBA. 

When using the local configuration the web application works like a charm and 
compiles the JSP pages correctly, but when working with a distributed 
configuration the same JSP pages won't compile. It is really no problem with 
the proxy contact when using any of the configuration types as we can read data 
from the SDX system without any problem. 

It feels really weird that something like this should cause any JSP compilation 
errors... but maybe there is a connection that I can't see, after all. 

I'm thinking of going for JSP precompilation in JBoss IDE 1.5? Does anyone know 
if this is possible today?

/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927814


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems with JSP and Tag Libraries in JBoss using Tomca

2006-03-03 Thread HenkoMannen
Modified all jsp pages to contain uri's exactly matching the uri's in the 
bundled jar's tlds. Removed the tlds in the /WEB-INF/ folder and also commented 
the tld declarations in the web.xml file. 

Still, the same problem occurs. :-/ 

Here is the stacktrace:

14:32:56,062 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Syntax error, insert "}" to complete ClassBody

Generated servlet error:
Syntax error, insert "}" to complete Block

Generated servlet error:
Syntax error, insert "Finally" to complete TryStatement

Generated servlet error:
Syntax error, insert "}" to complete MethodBody


at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at 
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at 
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
at 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at 
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
se.infogate.axessity.web.filters.UTF8EncodingFilter.doFilter(UTF8EncodingFilter.java:35)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
o

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems with JSP and Tag Libraries in JBoss using Tomca

2006-03-03 Thread HenkoMannen
Thank you, cgriffith!

I have too read about this and I'll try it and get back with a result.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927766


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems with JSP and Tag Libraries in JBoss using Tomca

2006-03-03 Thread HenkoMannen
"j2ee_junkie" wrote : Good day Henrik,
  | 
  | It has been a long while since I messed with tag libraries, but I recall 
two options.  If your tag lib jar was stored in WEB-INF/lib and if this jar 
contained the tlds for thos tags, then the war deployer would automatically 
make the tags available to your JSP's.  However, if your jars do not have the 
tlds packaged(supplying them outside the jar such as your case), then you must 
declare the tag libraries in the web.xml file for your app before you can use 
them.  Have you done this?
  | 
  | cgriffith

Thank you for your answer, Junkie! :)

Yes, in fact, the tld:s are residing _both_ in the .jar files and in the 
/WEB-INF/ folder. And yes, they are declared in the web.xml pointing at those 
tlds in the /WEB-INF/ folder. Perhaps this is not the way to do it, to have 
them in both locations?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927763


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Problems with JSP and Tag Libraries in JBoss using Tomcat 5.

2006-03-02 Thread HenkoMannen
Hi,

I am experiencing a really weird situation here. When running a deployed EJB3 
ear application in a JBoss 4.0.3sp1 application using Tomcat service 5.5.9, 
Jasper is unable to compile any JSP file using Tag Libraries. To be more 
precise, when generating the Java source file (looking in the 'work' directory) 
everything in the file after the first occurance of a Tag Library usage is 
commented out (with "//"), causing the Java source to be invalid and outputs an 
error when accessing the page via a browser saying:

"org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Syntax error, insert "}" to complete ClassBody

Generated servlet error:
Syntax error, insert "}" to complete Block

Generated servlet error:
Syntax error, insert "finally" to complete TryStatement

Generated servlet error:
Syntax error, insert "}" to complete MethodBody"

etc... where every error row is a suggestion of steps to take to make the 
source file valid. (of course).

The Tag Library jar files are located in the web application WEB-INF/lib folder 
as they should be. The descriptive Tag Library Definition files (tld:s) are 
located in the WEB-INF folder and every JSP file references these tld files 
directly via this path (WEB-INF/).

Any hints are most appreciated!!

Cheers!
/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927399


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - User not found; hsqldb-ds.xml

2005-11-17 Thread HenkoMannen
Hi all,

I'm using JBoss for my EJB3 application. When starting up JBoss I run into a 
java.sql.SQLException that tells me that the user 'SA' - though configured as 
'sa' in the datasource file - is not found. The datasource file looks like this:


  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  |   
  |   
  |   DefaultDS
  | 
  |   
  | 
  |   
  | 
  |   
  |   
jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB
  | 
  |   
  |   org.hsqldb.jdbcDriver
  | 
  |   
  |   sa
  |   
  | 
  |   
  |   

  | 
  |   
  |   
  | 
  |   
  |   5
  | 
  |   
  |   20
  | 
  |   
  |   
  |   
  |   0
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   HsqlDbRealm
  | 
  |   
  | 
  |   
  |   
  |  Hypersonic SQL
  |   
  | 
  |   
  |   jboss:service=Hypersonic,database=localDB
  |
  | 
  |
  | 
  |
  |
  |  localDB
  |  true
  |
  | 
  | 

And the exception like this:


  | sdx1 /opt/UMC/jboss/server/all/deploy>21:03:14,465 WARN  
[ServiceController] Problem starting service 
jboss:service=Hypersonic,database=localDB
  | java.sql.SQLException: User not found: SA
  | at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
  | at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
  | at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
  | at org.hsqldb.jdbcDriver.connect(Unknown Source)
  | at java.sql.DriverManager.getConnection(DriverManager.java:525)
  | at java.sql.DriverManager.getConnection(DriverManager.java:171)
  | at 
org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)
  | at 
org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)
  | at 
org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:587)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  | 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:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:428)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
  | 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:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: exception conversion to javax.servlet.ServletException

2005-09-13 Thread HenkoMannen
Hi, tremalnaik!

I am experiencing the same behavior as you. Have you found any solution to this 
problem?

/Henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894398


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: application specific configuration data. Where is best

2005-08-20 Thread HenkoMannen
Hi Steve,

found any answers to your question? I'm looking for answers for the exact same 
question, and I must say I'm a bit puzzled about the lack of answers around 
here...

/Henrik

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890924


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: deploy time configuration of EJB's

2005-08-15 Thread HenkoMannen
placebojim: have you come to any conclusion regarding your configuration issue? 
I'm as well looking for answers to this question. I'm having a hard time 
finding a solution. What are the best practices? Where are the complete 
examples? 

Are there any good tutorials or trails for JMX MBeans? From what I've read they 
are the best choice for clustering and high availability of singleton classes, 
right? Are they suitable for reading application configuration properties? 
Should they implement the @Management interface? How are they to be correctly 
deployed? In the .ejb3 or .sar package? In an .ear?

Any help is appreciated!

/Henrik

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890083


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - App Data Loading in EJB 3.0

2005-08-10 Thread HenkoMannen
Hi,

I'm new to EJB and especially EJB 3.0 (but then, who isn't?). I am to develop a 
portable EJB 3.0 application with a web front-end and my question is:

What is the best practise of loading static data from property files 
(.properties, .xml, ...) as well as from a database. Should this be done using 
a stateless session bean? It would be preferrable to avoid unnecessary trips to 
files and db. The data should be initialized in the bussines tier but should 
also be reachable / usable by the web tier.

I have checked out the DataLoader of the DVD Store Demo Application  
(http://www.jboss.com/docs/demos) and that looks pretty interesting. Is this a 
good approach? Would it for example be proper for this class to store values in 
fields once retreived through the DVDManagerBean, or does this break things 
like scalability?

Thanks in advance!
/Henrik

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889195


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user