Re: [jboss-user] problem in starting jboss AS 5.1.0.GA

2014-12-28 Thread Jari Fredriksson
> \Git\bin";"C:\Program was unexpected at this time. > C:\apps\Jboss\jboss-5.1.0.GA\bin> set > "PATH=;C:\Windows\system32;C:\Windows;C:\ > Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Fil > es\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth > Sof

Re: [jboss-user] JBoss 5.1.0: classLoader is not connected to a domain (probably undeployed?) for class java.lang.Math

2012-06-19 Thread Jari Fredriksson
On 19.6.2012 17:10, Jari Fredriksson wrote: > > Hello list. > > My setup is a Liferay CE 6.0.6 on JBoss AS 5.1.0. I have a strange error > in my process causing some headache. > > java.lang.Math... but I googled a bit with this error and found similar > reports with ot

[jboss-user] JBoss 5.1.0: classLoader is not connected to a domain (probably undeployed?) for class java.lang.Math

2012-06-19 Thread Jari Fredriksson
Hello list. My setup is a Liferay CE 6.0.6 on JBoss AS 5.1.0. I have a strange error in my process causing some headache. java.lang.Math... but I googled a bit with this error and found similar reports with other standard JDK classes too, so it not the class, but something with JBoss. Any ideas

Re: [jboss-user] JBOSS / LifeRay

2012-02-29 Thread Jari Fredriksson
1.3.2012 1:51, Percy Barboza kirjoitti: > Hi > > I am evaluating best practices for JBOSS / LifeRay setup. > Am using the default jboss location as /var/lib/jboss > On going through the LifeRay documentation its says that liferay home > should be one level above jboss home. > > Anyone have any id

Re: [jboss-user] [Security] - JAAS - more data about the user

2009-11-22 Thread Jari Fredriksson
On 21.11.2009 20:56, ndario wrote: > So far I developed webapps with User object in session that holds username, > full name, role name etc. > > Now I setup declarative security using LoginModule and all is well but all I > have from current user is it's principal which is username only. > >

Re: [jboss-user] [EJB 3.0 Users] - Re: how to handle hibernate exceptions in ejb3

2009-11-07 Thread Jari Fredriksson
7.11.2009 13:09, grdzeli_kaci kirjoitti: > can anybody help on this ? > > i have big problem with this :( > If you code for Ejb3/JPA, you should catch what Ejb3 javadoc tells there will be thrown. I'm pretty sure the Hibernate's own exception types will subclass those standard types, and will

Re: [jboss-user] [EJB 3.0] - Re: Unit test EJB3 Exception

2009-03-25 Thread Jari Fredriksson
> Oops, my bad... Local interfaces can be cast directly: > > MyLocal local = (MyLocal) ctx.lookup("MyBean/local"); > > Probably a "narrow" would even result in error. > > By the way, with EJB3, the "narrow" is even for remote > interfaces no longer required, direct casting is > possible. Maybe

Re: [jboss-user] Help with JNDI datasource for JPA?

2008-12-10 Thread Jari Fredriksson
> I'm trying to set up a JNDI datasource that will be used by a JPA > application. Everything seems to go along fine until the JPA system > attempts to find the name to bind to. Then I get the following exception: > > 13:41:11,144 ERROR [AbstractKernelController] Error installing to Start: > name

Re: [jboss-user] persistence.xml and datasource

2008-12-06 Thread Jari Fredriksson
> Hello! > > Jboss likes to name jdbc-datasources like java://DefaultDS > > I would like to use name like jdbc/MyDatasource in my > persistence.xml > > That is so the definition would be portable across > application servers out there. I'm sure there must a > simple way to declare and alias for

[jboss-user] persistence.xml and datasource

2008-11-25 Thread Jari Fredriksson
Hello! Jboss likes to name jdbc-datasources like java://DefaultDS I would like to use name like jdbc/MyDatasource in my persistence.xml That is so the definition would be portable across application servers out there. I'm sure there must a simple way to declare and alias for persistence.xml