[JBoss-user] [Installation Configuration] - Re: Log4j problem on jboss3.2.3!!!!

2004-10-11 Thread raffaelecorvino
My problem is an authorization problem. I solve it selecting the all permiss on the 
folder where the log file is created.
I hope to help you, but I had solved this problem two or three mounts ago...
Bye
Raffaele

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Jaas Problem

2004-05-22 Thread raffaelecorvino
Hello all, 
I'm using jboss3.2.3 and Jaas DatabaseLoginModule. My server creates correctly the 
subject but when I try to run a session bean method o cmp method it give me this error:

anonymous wrote : Caused by: java.rmi.ServerException: EJBException:; nested exception 
is:
  | javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
  | Insufficient method permissions, principal=null, method=create, 
interface=HOME, requiredRoles=[MANAGER, REVIEWER, MEMBER, ADMIN], principalRoles=[]
  | at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:347)
  | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:124)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  | at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
  | at org.jboss.ejb.Container.invoke(Container.java:720)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  | at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:534)
  | Caused by: javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
  | Insufficient method permissions, principal=null, method=create, 
interface=HOME, requiredRoles=[MANAGER, REVIEWER, MEMBER, ADMIN], principalRoles=[]
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:230)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81)
  | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
  | ... 21 more
I have this problem just some day and I don't know the solution... I'm very 
unhappy...!!! 

Please help me!!!
Thaks, so much in advance Raffaele

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Problem JAAS-multiple servlet and session....

2004-05-21 Thread raffaelecorvino
Hello all, 
I'm a problem when I call a session bean method. I have configurated all 
(ejb-jar.xml,jboss.xml,web.xml and jboss-web.xml). 
In my application there's a servlet that creates the subject, and then it call a JSP 
that then call other Servlet. What  can i obtain the subject and role???
The server gives me this error: 

17:51:15,012 ERROR [SecurityInterceptor] Insufficient method permissions, 
principal=null, method=create, interface=HOME, requiredRoles=[MANAGER, REVIEWER, 
MEMBER, ADMIN], principalRoles=[] 
17:51:15,013 ERROR [LogInterceptor] EJBException, causedBy: 
java.lang.SecurityException: Insufficient method permissions, principal=null, 
method=create, interface=HOME, requiredRoles=[MANAGER, REVIEWER, MEMBER, ADMIN], 
principalRoles=[] 
at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:229)
 
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81) 
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) 
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
 
at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
 
at org.jboss.ejb.Container.invoke(Container.java:720) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) 
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) 
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) 
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) 
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) 
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) 
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) 
at $Proxy46.create(Unknown Source) 
at ap.com.tesi.servlet.Visualizza.processRequest(Visualizza.java:102) 
at ap.com.tesi.servlet.Visualizza.doGet(Visualizza.java:83) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) 
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 
at 

[JBoss-user] [Security JAAS/JBoss] - session bean-servlet problem

2004-05-20 Thread raffaelecorvino
Hello all,
I'm a problem when I call a session bean method. I have configurated all 
(ejb-jar.xml,jboss.xml,web.xml and jboss-web.xml).
The server gives me this error:

17:51:15,012 ERROR [SecurityInterceptor] Insufficient method permissions, 
principal=null, method=create, interface=HOME, requiredRoles=[MANAGER, REVIEWER, 
MEMBER, ADMIN], principalRoles=[]
17:51:15,013 ERROR [LogInterceptor] EJBException, causedBy:
java.lang.SecurityException: Insufficient method permissions, principal=null, 
method=create, interface=HOME, requiredRoles=[MANAGER, REVIEWER, MEMBER, ADMIN], 
principalRoles=[]
at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:229)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
at org.jboss.ejb.Container.invoke(Container.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy46.create(Unknown Source)
at ap.com.tesi.servlet.Visualizza.processRequest(Visualizza.java:102)
at ap.com.tesi.servlet.Visualizza.doGet(Visualizza.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 

[JBoss-user] [Security JAAS/JBoss] - Re: Problem JAAS-JBOSS

2004-05-19 Thread raffaelecorvino
Thanks very much morenito!!

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

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


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Problem JAAS-JBOSS

2004-05-18 Thread raffaelecorvino
Thanks,Scott Stark.
I don't solve my problem. I've read jaashowto and I follow it. I've the same problem 
when I use org.jboss.security.auth.spi.UsersRolesLoginModule and also when I use 
org.jboss.security.auth.spi.DatabaseServerLoginModule. It' s very strange!?
I use a custom server configuration, 
my file login-confi.xml is:
 !DOCTYPE policy (View Source for full doctype...) 
- !--  The JBoss server side JAAS login config file for the examples 
  -- 
- 
- application-policy name=workflow1
- 
- !-- 
 A properties file LoginModule that supports CallerPrincipal mapping
 LoginModule options:
 

  -- 
  login-module code=org.jboss.security.ClientLoginModule flag=required / 
- login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule 
flag=required
  module-option name=unauthenticatedIdentityanonymous/module-option 
  /login-module
  
  /application-policy
- application-policy name=workflow2
- 
- !-- 
 A JDBC based LoginModule
 LoginModule options:
 dsJndiName: The name of the DataSource of the database containing the 
Principals, Roles tables
 principalsQuery: The prepared statement query equivalent to:
select Password from Principals where PrincipalID=?
 rolesQuery: The prepared statement query equivalent to:
select Role, RoleGroup from Roles where PrincipalID=?
 unauthenticatedIdentity: the principal assigned to callers without any 
authentication info
 

  -- 
  login-module code=org.jboss.security.ClientLoginModule flag=required / 
- login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule 
flag=required
  module-option name=dsJndiNamejava:/DefaultDS/module-option 
  module-option name=principalsQueryselect Password from Principals where 
PrincipalID=?/module-option 
  module-option name=rolesQueryselect Role from Roles where 
PrincipalID=?/module-option 
  /login-module
  
  /application-policy
- !--  The security domain for the HSQLDB 
  -- 
- application-policy name=HsqlDbRealm
- 
- login-module code=org.jboss.resource.security.ConfiguredIdentityLoginModule 
flag=required
  module-option name=principalsa/module-option 
  module-option name=userNamesa/module-option 
  module-option name=password / 
  module-option 
name=managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=DefaultDS/module-option
 
  /login-module
  
  /application-policy
  ;

my auth.config in server conf is:
// The JBoss server side JAAS login config file for the examples

workflow1 {
// A properties file LoginModule that supports CallerPrincipal mapping

org.jboss.security.ClientLoginModule  required
   ;
org.jboss.security.auth.spi.UsersRolesLoginModule required
unauthenticatedIdentity=nobody
;
};

workflow2 {
/* A JDBC based LoginModule
LoginModule options:
dsJndiName: The name of the DataSource of the database containing the Principals, 
Roles tables
principalsQuery: The prepared statement query equivalent to:
select Password from Principals where PrincipalID=?
rolesQuery: The prepared statement query equivalent to:
select Role, RoleGroup from Roles where PrincipalID=?
*/
org.jboss.security.ClientLoginModule  required
   ;

org.jboss.security.auth.spi.DatabaseServerLoginModule required
dsJndiName=java:/DefaultDS
principalsQuery=select Password from Principals where PrincipalID=?
rolesQuery=select Role from Roles where PrincipalID=?
unauthenticatedIdentity=nobody
;
};

other {

   // jBoss LoginModule
   org.jboss.security.ClientLoginModule  required
   ;

   // Put your login modules that need jBoss here
};

my client config is:
workflow1 {
// A properties file LoginModule that supports CallerPrincipal mapping

org.jboss.security.ClientLoginModule  required
   ;
org.jboss.security.auth.spi.UsersRolesLoginModule required
;
};

workflow2 {
/* A JDBC based LoginModule
LoginModule options:
dsJndiName: The name of the DataSource of the database containing the Principals, 
Roles tables
principalsQuery: The prepared statement query equivalent to:
select Password from Principals where PrincipalID=?
rolesQuery: The prepared statement query equivalent to:
select Role, RoleGroup from Roles where PrincipalID=?
*/
org.jboss.security.ClientLoginModule  required
   ;

org.jboss.security.auth.spi.DatabaseServerLoginModule required
;
};

other {

   // jBoss LoginModule
   org.jboss.security.ClientLoginModule  required
   ;

   // Put your login modules that need jBoss here
};
 I put file users.properities and roles.properties in jar file and in directory server 
and client but I've ever the same error. 

My client code .java is:
public class LoginClient {


private ap.com.tesi.session.LoginAccessHome getHome() throws 
NamingException {
return (ap.com.tesi.session.LoginAccessHome) getContext().lookup(
ap.com.tesi.session.LoginAccessHome.JNDI_NAME);
}

[JBoss-user] [Security JAAS/JBoss] - Re: Problem JAAS-JBOSS

2004-05-18 Thread raffaelecorvino
I forget to inser the error. When I run the client, it give me:
Exception in thread main java.lang.SecurityException: Impossibile trovare una 
configurazione di login
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at javax.security.auth.login.Configuration$3.run(Configuration.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at 
javax.security.auth.login.Configuration.getConfiguration(Configuration.java:215)
at javax.security.auth.login.LoginContext$1.run(LoginContext.java:170)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.init(LoginContext.java:167)
at javax.security.auth.login.LoginContext.(LoginContext.java:404)
at ap.com.tesi.client.LoginClient.testBean(LoginClient.java:65)
at ap.com.tesi.client.LoginClient.main(LoginClient.java:147)
Caused by: java.io.IOException: Impossibile trovare una configurazione di login
at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:95)
... 15 more.
I'm using Jboss 3.2.3.
Thanks for yours helps!!!
Raf

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

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


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Problem JAAS-JBOSS

2004-05-16 Thread raffaelecorvino
Hello all,
I try to integrate JAAS module to autentihcate user, but I have a problem.
I use the login-module org.jboss.security.auth.spi.UserRolesLoginModule, the server 
deploy correctly, but when I run client application I have an error:
java.io.IOException: Impossibile trovare una configurazione di login
at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:95)
... 15 more
Can Anyone help me please??
Thanks in advance
Raf

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

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


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-04-04 Thread raffaelecorvino
Hello all,
 I think to have my servlet problem, but...
I heve this problem when i test it:

2004-04-04 09:44:23,128 INFO  [STDOUT] Entering AccessController.processRequest()
2004-04-04 09:44:23,129 INFO  [STDOUT] In valdateLogin
2004-04-04 09:44:23,129 INFO  [STDOUT]
 Entering AccessController.loginUser()
2004-04-04 09:44:23,129 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, 
method=public abstract au.com.tusc.session.StoreAccess 
au.com.tusc.session.StoreAccessHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:205)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:98)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
at org.jboss.ejb.Container.invoke(Container.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy116.create(Unknown Source)
at au.com.tusc.servlet.AccessController.loginUser(AccessController.java:196)
at 
au.com.tusc.servlet.AccessController.processRequest(AccessController.java:114)
at au.com.tusc.servlet.AccessController.doGet(AccessController.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 

[JBoss-user] [HTTPD, Servlets JSP] - servlet-jboss3.2.3 Problem

2004-04-01 Thread raffaelecorvino
Hello all,
I try to run a servlet on my server. it don't deploy correctly, and i think that thr 
tomcat server is ready. What I configure it???
Help me please 
Thanks in advance
Raf

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-31 Thread raffaelecorvino
Hello all,
i solve my prevuis problem. Thanks all.
Now i 'm a problem about servlet in chapter 8. When I deploy it, the server give me an 
error about service.sar( The server don't run it correctly). I run the server in 
default configuration. Have I run it all configuration? Have I configure any file 
first to run servlet?
Please Help me.
Thanks in advance
Raffaele

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-31 Thread raffaelecorvino
Hello all,
i solve my prevuis problem. Thanks all.
Now i 'm a problem about servlet in chapter 8. When I deploy it, the server give me an 
error about service.sar( The server don't run it correctly). I run the server in 
default configuration. Have I run it all configuration? Have I configure any file 
first to run servlet?
Please Help me.
Thanks in advance
Raffaele

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-27 Thread raffaelecorvino

Hello all,
I solve in part my previus problem (error in code), but now I have a new problem:
Looking up the queue
Creating the connection now...

org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: 
(java.net.UnknownHostException: raffaele: raffaele)
at org.jboss.mq.Connection.authenticate(Connection.java:883)
at org.jboss.mq.Connection.(Connection.java:238)
at org.jboss.mq.Connection.(Connection.java:315)
at org.jboss.mq.SpyConnection.(SpyConnection.java:60)
at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116)
at au.com.tusc.client.RequestMDBClient.testMDBBean(RequestMDBClient.java:53)
at au.com.tusc.client.RequestMDBClient.main(RequestMDBClient.java:77)
Caused by: java.net.UnknownHostException: raffaele: raffaele
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:169)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.(Socket.java:309)
at java.net.Socket.(Socket.java:153)
at javax.net.DefaultSocketFactory.createSocket(DashoA6275)
at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563)
at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507)
at org.jboss.mq.il.oil.OILServerIL.authenticate(OILServerIL.java:289)
at org.jboss.mq.Connection.authenticate(Connection.java:876)
... 6 more


Please anyone help me?
Thanks in advance.
Raffaele


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827714#3827714;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-26 Thread raffaelecorvino
Hello all
I have  a problem about Chaptre 7. The server deploiy correctly the application, but 
when I run the test client, the client console give me this orrible error:

Looking up the factory
log4j:ERROR Failed to create directory structure: /log
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: /log/boot.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at 
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.(LogManager.java:113)
at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
at org.jboss.logging.Logger.(Logger.java:78)
at org.jboss.logging.Logger.getLogger(Logger.java:291)
at org.jnp.interfaces.NamingContext.(NamingContext.java:102)
at 
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.tusc.client.RequestMDBClient.getContext(RequestMDBClient.java:38)
at au.com.tusc.client.RequestMDBClient.testMDBBean(RequestMDBClient.java:51)
at au.com.tusc.client.RequestMDBClient.main(RequestMDBClient.java:79)
Looking up the queue
java.lang.ClassCastException
at au.com.tusc.client.RequestMDBClient.testMDBBean(RequestMDBClient.java:54)
at au.com.tusc.client.RequestMDBClient.main(RequestMDBClient.java:79)

Can Anyone help me, please???
 Thanks in advance very much 
raffaele



a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827560#3827560;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Not connecting to Hypersonic Database

2004-03-26 Thread raffaelecorvino
You have to configure hsqldb-ds.xml in sever-deploy directory. I hope to help you.
Good luck 

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827561#3827561;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-26 Thread raffaelecorvino
Hello,
Maybe have I to configure log4j.xml?
Please can anyone advice me?
Thanks


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827583#3827583;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Log4j problem on jboss3.2.3!!!!

2004-03-26 Thread raffaelecorvino
Hello all 
I have a problem about Chaptre 7 of tutorial Enclipse-Lomboz-jboss. I run a JMS 
example. The server deploiy correctly the application, but when I run the test client, 
the client console give me this orrible error: 

Looking up the factory 
log4j:ERROR Failed to create directory structure: /log 
log4j:ERROR setFile(null,false) call failed. 
java.io.FileNotFoundException: /log/boot.log (No such file or directory) 
at java.io.FileOutputStream.open(Native Method) 
at java.io.FileOutputStream.(FileOutputStream.java:179) 
at java.io.FileOutputStream.(FileOutputStream.java:102) 
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272) 
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) 
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) 
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123) 
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) 
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) 
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) 
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
 
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) 
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432) 
at 
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 
at org.apache.log4j.LogManager.(LogManager.java:113) 
at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63) 
at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320) 
at org.jboss.logging.Logger.(Logger.java:78) 
at org.jboss.logging.Logger.getLogger(Logger.java:291) 
at org.jnp.interfaces.NamingContext.(NamingContext.java:102) 
at 
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)
 
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) 
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) 
at javax.naming.InitialContext.init(InitialContext.java:219) 
at javax.naming.InitialContext.(InitialContext.java:195) 
at au.com.tusc.client.RequestMDBClient.getContext(RequestMDBClient.java:38) 
at au.com.tusc.client.RequestMDBClient.testMDBBean(RequestMDBClient.java:51) 
at au.com.tusc.client.RequestMDBClient.main(RequestMDBClient.java:79) 
Looking up the queue 
java.lang.ClassCastException 
at au.com.tusc.client.RequestMDBClient.testMDBBean(RequestMDBClient.java:54) 
at au.com.tusc.client.RequestMDBClient.main(RequestMDBClient.java:79) 

I'm using jboss3.2.3. 
Can Anyone help me, please??? 
Thanks in advance very much 
raffaele 


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827608#3827608;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-26 Thread raffaelecorvino
Hello, 
Maybe can I modified the log4j.proprieties in run.jar ???
Can Anyone help me please

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827619#3827619;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-26 Thread raffaelecorvino
hello all,
@Kblood
did you have my same problem when you have studied exercise of chapter 7?

Please Anyone help me?
Thanks very much in advance.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827673#3827673;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-23 Thread raffaelecorvino
Thanks vert much Kblood, I solve my problem. :))

@farid:
Are you sure to have correctly configure server?
Have you use the Tusc Tutorial Jboss-lomboz and Eclipse? If the previus are all yes, 
insert you configuration file, I try to help you.

bye Raf

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827032#3827032;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-23 Thread raffaelecorvino
@farid59
What jboss' version are you using? in the previus post, you say jboss 3.2.1 but your 
configuration file is jboss323.server and not jboss3.2.1. If you are using jboss-3.2.1 
the file.server is completly different!!! 
you quote this message:







${serverRootDirectory}
${serverRootDirectory}/server/all/deploy
${serverRootDirectory}/server/all/deploy
${serverRootDirectory}/server/all/deploy
org.jnp.interfaces.NamingContextFactory
jnp://${serverAddress}:1099
org.jboss.Main
${serverRootDirectory}/bin

-c all
org.jboss.Shutdown
${serverRootDirectory}/bin

${serverAddress} ${serverPort}

JDK_TOOLS
${classPathVariableName}/bin/run.jar
${classPathVariableName}/bin/shutdown.jar
${classPathVariableName}/client/jboss-j2ee.jar
${classPathVariableName}/server/all/lib/javax.servlet.jar
${classPathVariableName}/lib/concurrent.jar
${classPathVariableName}/lib/gnu-regexp.jar
${classPathVariableName}/lib/jboss-system.jar
${classPathVariableName}/lib/commons-httpclient.jar
${classPathVariableName}/lib/getopt.jar
${classPathVariableName}/lib/jboss-boot.jar
${classPathVariableName}/lib/jboss-common.jar
${classPathVariableName}/lib/jboss-jmx.jar
${classPathVariableName}/lib/log4j-boot.jar
${classPathVariableName}/lib/jdom.jar
${classPathVariableName}/lib/webdavlib.jar
${classPathVariableName}/lib/xercesImpl.jar
${classPathVariableName}/lib/xml-apis.jar
${classPathVariableName}/server/all/lib/jboss.jar
${classPathVariableName}/server/all/lib/jsse.jar
${classPathVariableName}/server/all/lib/jboss-jaas.jar
${classPathVariableName}/server/all/lib/jboss-j2ee.jar
${classPathVariableName}/server/all/lib/jts.jar
${classPathVariableName}/server/all/lib/jsse.jar
${classPathVariableName}/server/all/lib/jboss-management.jar
${classPathVariableName}/server/all/lib/jbossmqha.jar
${classPathVariableName}/server/all/lib/jbossmq.jar
${classPathVariableName}/server/all/lib/jbosssx.jar
${classPathVariableName}/server/all/lib/jpl-pattern.jar
${classPathVariableName}/server/all/lib/jpl-util.jar
${classPathVariableName}/server/all/lib/jbossha.jar
${classPathVariableName}/server/all/lib/jnpserver.jar
${classPathVariableName}/server/all/lib/javagroups-2.0.jar
${classPathVariableName}/server/all/lib/jboss-transaction.jar
${classPathVariableName}/server/all/lib/bcel.jar
${classPathVariableName}/server/all/lib/jboss-jsr77.jar
${classPathVariableName}/server/all/lib/log4j.jar
${classPathVariableName}/server/all/lib/hsqldb.jar
${classPathVariableName}/server/all/lib/hsqldb-plugin.jar


${classPathVariableName}/client/jboss-j2ee.jar
${classPathVariableName}/client/jnp-client.jar
${classPathVariableName}/client/jboss-client.jar
${classPathVariableName}/client/jboss-common-client.jar
${classPathVariableName}/client/jbosssx-client.jar
${classPathVariableName}/client/log4j.jar
${classPathVariableName}/client/jnet.jar
${classPathVariableName}/client/jboss-jaas.jar



You controll also you classpath.
Good luck!!!
Raffaele
  

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827066#3827066;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-22 Thread raffaelecorvino
hello all,
@Farid59: quote my message (Posted: Thu Mar 18, 2004 05:28 AM ) in this page, because 
I think you have problem about your configuration.

I have a problem when my client have to access my database ( in the chapter 4 and 5 of 
tutorial), and the server give me this error message:

17:39:49,594 INFO  [STDOUT] Entering StoreAccessBean
17:39:49,595 INFO  [STDOUT] Leaving StoreAccessBean
17:39:49,596 INFO  [STDOUT] Entering StoreAccessDAOImpl.loginUser()
17:39:49,598 ERROR [STDERR] java.sql.SQLException: General error in statement [select 
userid from storeaccess where username='ANDY' and password'PASSWD']
17:39:49,600 ERROR [STDERR] at org.hsqldb.Trace.getError(Unknown Source)
17:39:49,601 ERROR [STDERR] at org.hsqldb.Result.(Unknown Source)
17:39:49,602 ERROR [STDERR] at org.hsqldb.jdbcConnection.executeHSQL(Unknown 
Source)
17:39:49,602 ERROR [STDERR] at org.hsqldb.jdbcConnection.execute(Unknown Source)
17:39:49,603 ERROR [STDERR] at org.hsqldb.jdbcStatement.fetchResult(Unknown Source)
17:39:49,604 ERROR [STDERR] at org.hsqldb.jdbcStatement.executeQuery(Unknown 
Source)
17:39:49,605 ERROR [STDERR] at 
org.hsqldb.jdbcPreparedStatement.executeQuery(Unknown Source)
17:39:49,611 ERROR [STDERR] at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:304)
17:39:49,612 ERROR [STDERR] at 
au.com.tusc.dao.StoreAccessDAOImpl.loginUser(StoreAccessDAOImpl.java:50)
17:39:49,613 ERROR [STDERR] at 
au.com.tusc.session.StoreAccessSession.loginUser(StoreAccessSession.java:54)
17:39:49,614 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
17:39:49,614 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:39:49,615 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:39:49,616 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
17:39:49,617 ERROR [STDERR] at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
17:39:49,617 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
17:39:49,619 ERROR [STDERR] at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
17:39:49,620 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
17:39:49,620 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
17:39:49,621 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
17:39:49,622 ERROR [STDERR] at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
17:39:49,623 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
17:39:49,623 ERROR [STDERR] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
17:39:49,624 ERROR [STDERR] at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
17:39:49,625 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:700)
17:39:49,626 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
17:39:49,626 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:39:49,627 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:39:49,628 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
17:39:49,629 ERROR [STDERR] at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
17:39:49,630 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
17:39:49,630 ERROR [STDERR] at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
17:39:49,631 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
17:39:49,632 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:39:49,633 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:39:49,633 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
17:39:49,634 ERROR [STDERR] at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
17:39:49,635 ERROR [STDERR] at 
sun.rmi.transport.Transport$1.run(Transport.java:148)
17:39:49,638 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native 
Method)
17:39:49,639 ERROR [STDERR] at 
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
17:39:49,640 ERROR [STDERR] at 

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-22 Thread raffaelecorvino
In previus message I forget:
Thanks in advanece

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827006#3827006;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-20 Thread raffaelecorvino
Thanks darranl.
 I have set the default configuration. But also now when I run the client, it doesn't 
access to database tabel, and it give me userid null.
Can you help me, please?
Thanks very much for your previus help.
raffaele
 

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826661#3826661;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-19 Thread raffaelecorvino
Hello
I understand because my client (in execise chap 4 and 5) is wrong, because I don't 
configure Hypersonic database by file myStoreSchema.script, myStorSchema.data and 
myStoreSchemaDrop.script. I put this file in jboss3.2.3's  Hypresonic directory, but 
when I go to http://localhost:8080/jmx-console/index.jsp, under subheading jboss 
there's not service=Hypersonic and I can't execute SQL Statement. Please can anyone 
help me?
thanks very much in advance.
raffaele

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826510#3826510;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-17 Thread raffaelecorvino
Hello,
@Vishal:
I don't understand besause in the exercise  of Cap 3, when I run the application 
client the server answer me: userID null and not U2. Maybe It depends by database 
configuration? the same happened in cap 4 excercise.
Please can you help me?
Thanks in advance 


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826196#3826196;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-16 Thread raffaelecorvino
Hello, all
To wmakasa, I'm using the same eclipse 3M7 version but Lomboz is M7, but I haven't 
this problem. What file.server are you using?

To Vishal
I look for a tutorial about xdoclet, please can you advice me a good tutorial about it?
I'm studing Content Management about Jboss, where can I take some information about 
it? Are there articles?
Thanks very much in advance
raffaele

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825916#3825916;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-15 Thread raffaelecorvino
Thanks very much vishal. I solve my problem.
Thanks again!!!:))
Raffaele

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825733#3825733;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-14 Thread raffaelecorvino
Hello, 
I have a problem when I try to run client test in exercise of J2EE-Jboss and Eclipse. 
I'm using Jboss3.2.3-eclipse3.0M7and Lomboz M7. Here the error:
[java] javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.1; nested 
exception is:
 [java] java.net.SocketException: Network is unreachable]
 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
 [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
 [java] at com.titan.clients.Client_1.main(Client_1.java:19)
 [java] Caused by: java.rmi.ConnectIOException: Exception creating connection to: 
192.168.0.1; nested exception is:
 [java] java.net.SocketException: Network is unreachable
 [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:580)
 [java] at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
 [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
 [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
 [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
 [java] ... 3 more
 [java] Caused by: java.net.SocketException: Network is unreachable
 [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
 [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
 [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
 [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
 [java] at java.net.Socket.connect(Socket.java:452)
 [java] at java.net.Socket.connect(Socket.java:402)
 [java] at java.net.Socket.(Socket.java:309)
 [java] at java.net.Socket.(Socket.java:124)
 [java] at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
 [java] at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
 [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
 [java] ... 8 more
Can Anyone help me, please?
raffaele

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825535#3825535;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Jboss3.2.3-Eclipse3M07-LombozM7

2004-03-08 Thread raffaelecorvino
hello,
I solve the previus problem, but now I have a new problem: when I try to run 
jboss3.2.3 by Eclipse3M7 with plugin LombozM7 (SO linux Mandrake 9.1), I have this 
error:
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: /home/raffaele/jboss-3.2.3/server/default/log/boot.log 
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at 
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.(LogManager.java:113)
at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
at org.jboss.logging.Logger.(Logger.java:78)
at org.jboss.logging.Logger.getLogger(Logger.java:267)
at 
javax.management.NotificationBroadcasterSupport.(NotificationBroadcasterSupport.java:29)
at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:141)
at org.jboss.system.server.ServerImpl.init(ServerImpl.java:126)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
12:04:38,772 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:04:38,776 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: 
CVSTag=JBoss_3_2_3 date=200311301445)
12:04:38,777 INFO  [Server] Home Dir: /home/raffaele/jboss-3.2.3
12:04:38,777 INFO  [Server] Home URL: file:/home/raffaele/jboss-3.2.3/
12:04:38,777 INFO  [Server] Library URL: file:/home/raffaele/jboss-3.2.3/lib/
12:04:38,779 INFO  [Server] Patch URL: null
12:04:38,779 INFO  [Server] Server Name: default
12:04:38,780 INFO  [Server] Server Home Dir: /home/raffaele/jboss-3.2.3/server/default
12:04:38,780 INFO  [Server] Server Home URL: 
file:/home/raffaele/jboss-3.2.3/server/default/
12:04:38,781 INFO  [Server] Server Data Dir: 
/home/raffaele/jboss-3.2.3/server/default/data
12:04:38,781 INFO  [Server] Server Temp Dir: 
/home/raffaele/jboss-3.2.3/server/default/tmp
12:04:38,782 INFO  [Server] Server Config URL: 
file:/home/raffaele/jboss-3.2.3/server/default/conf/
12:04:38,782 INFO  [Server] Server Library URL: 
file:/home/raffaele/jboss-3.2.3/server/default/lib/
12:04:38,782 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:04:38,786 INFO  [Server] Starting General Purpose Architecture (GPA)...
12:04:39,199 INFO  [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc.
12:04:39,200 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2-b28,Sun 
Microsystems Inc.
12:04:39,200 INFO  [ServerInfo] OS-System: Linux 2.4.21-0.13mdk,i386
12:04:39,253 INFO  [ServiceController] Controller MBean online
12:04:39,356 INFO  [MainDeployer] Started jboss.system:service=MainDeployer
12:04:39,530 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]
12:04:39,530 INFO  [JARDeployer] Started jboss.system:service=JARDeployer
12:04:39,615 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]
12:04:39,625 INFO  [SARDeployer] Started jboss.system:service=ServiceDeployer
12:04:39,626 INFO  [Server] Core system initialized
12:04:39,664 INFO  [MainDeployer] Starting deployment of package: 
file:/home/raffaele/jboss-3.2.3/server/default/conf/jboss-service.xml
12:04:39,667 ERROR [MainDeployer] Could not make local copy for 
file:/home/raffaele/jboss-3.2.3/server/default/conf/jboss-service.xml
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1314)
at java.io.File.createTempFile(File.java:1402)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:993)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:674)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at 

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-08 Thread raffaelecorvino
Thanks Smilidon. Now I have problem when eclipse try to run jboss3.2.3, and it gives 
me this error:
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: /home/raffaele/jboss-3.2.3/server/default/log/boot.log 
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at 
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.(LogManager.java:113)
at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
at org.jboss.logging.Logger.(Logger.java:78)
at org.jboss.logging.Logger.getLogger(Logger.java:267)
at 
javax.management.NotificationBroadcasterSupport.(NotificationBroadcasterSupport.java:29)
at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:141)
at org.jboss.system.server.ServerImpl.init(ServerImpl.java:126)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
12:04:38,772 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:04:38,776 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: 
CVSTag=JBoss_3_2_3 date=200311301445)
12:04:38,777 INFO  [Server] Home Dir: /home/raffaele/jboss-3.2.3
12:04:38,777 INFO  [Server] Home URL: file:/home/raffaele/jboss-3.2.3/
12:04:38,777 INFO  [Server] Library URL: file:/home/raffaele/jboss-3.2.3/lib/
12:04:38,779 INFO  [Server] Patch URL: null
12:04:38,779 INFO  [Server] Server Name: default
12:04:38,780 INFO  [Server] Server Home Dir: /home/raffaele/jboss-3.2.3/server/default
12:04:38,780 INFO  [Server] Server Home URL: 
file:/home/raffaele/jboss-3.2.3/server/default/
12:04:38,781 INFO  [Server] Server Data Dir: 
/home/raffaele/jboss-3.2.3/server/default/data
12:04:38,781 INFO  [Server] Server Temp Dir: 
/home/raffaele/jboss-3.2.3/server/default/tmp
12:04:38,782 INFO  [Server] Server Config URL: 
file:/home/raffaele/jboss-3.2.3/server/default/conf/
12:04:38,782 INFO  [Server] Server Library URL: 
file:/home/raffaele/jboss-3.2.3/server/default/lib/
12:04:38,782 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:04:38,786 INFO  [Server] Starting General Purpose Architecture (GPA)...
12:04:39,199 INFO  [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc.
12:04:39,200 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2-b28,Sun 
Microsystems Inc.
12:04:39,200 INFO  [ServerInfo] OS-System: Linux 2.4.21-0.13mdk,i386
12:04:39,253 INFO  [ServiceController] Controller MBean online
12:04:39,356 INFO  [MainDeployer] Started jboss.system:service=MainDeployer
12:04:39,530 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]
12:04:39,530 INFO  [JARDeployer] Started jboss.system:service=JARDeployer
12:04:39,615 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]
12:04:39,625 INFO  [SARDeployer] Started jboss.system:service=ServiceDeployer
12:04:39,626 INFO  [Server] Core system initialized
12:04:39,664 INFO  [MainDeployer] Starting deployment of package: 
file:/home/raffaele/jboss-3.2.3/server/default/conf/jboss-service.xml
12:04:39,667 ERROR [MainDeployer] Could not make local copy for 
file:/home/raffaele/jboss-3.2.3/server/default/conf/jboss-service.xml
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1314)
at java.io.File.createTempFile(File.java:1402)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:993)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:674)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at 

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-07 Thread raffaelecorvino
Hello,
Can I use Eclipse-SDK3.0M7 and Lomboz 3m7, with Jboss 3.2.3? 
Thanks in advance.
Raffaele


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824577#3824577;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Exception in thread

2004-03-07 Thread raffaelecorvino
Thanks, I solve this problem!

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824655#3824655;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Jboss3.2.3-Eclipse3M07-LombozM7

2004-03-07 Thread raffaelecorvino
Can I use jboss3.2.3 with eclipse3M7 and LombozM7? In the tutorial I have, the autor 
use jboss3.2.1. I have changed the lomboz plugins to use jboss3.2.3 but I don't Know 
it is correct.
Can anyone help me?
Thanks in advance
raffaele

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824656#3824656;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: java.lang.NoClassDefFoundError Please Help

2004-03-05 Thread raffaelecorvino
Hi, 
Does client console give this error to you?
If yes, check classpath.
Good luck.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824330#3824330;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-03-05 Thread raffaelecorvino
Congratulation, the tutorial is very good, I have read!!!

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824335#3824335;View 
the original post/a

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Jbuilder or Enclipse on Jboss?

2004-03-03 Thread raffaelecorvino
Can I use Jbuilder o Enclipse on Jboss3.2.3 to create jar file?Where do I look for a 
good tutorial on Jboss?
Raffaele.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823954#3823954;View 
the original post/a

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Jbuilder or Enclipse on Jboss?

2004-03-03 Thread raffaelecorvino
thanks

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824042#3824042;View 
the original post/a

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Exception in thread

2004-02-25 Thread raffaelecorvino
my deployment files are:
ejb-jar.xml:
 ?xml version=1.0 encoding=UTF-8 ? 
  !DOCTYPE ejb-jar (View Source for full doctype...) 
- ejb-jar
  JBoss Hello World Application 
  display-nameHello World EJB/display-name 
- enterprise-beans
- 
  ejb-nameHelloWorld/ejb-name 
  prova.main.bean.HelloWorldHome 
  prova.main.bean.HelloWorld 
  ejb-classprova.main.bean.HelloWorldBean/ejb-class 
  session-typeStateless/session-type 
  transaction-typeBean/transaction-type 
  
  /enterprise-beans
  /ejb-jar

jboss.xml:
 ?xml version=1.0 encoding=UTF-8 ? 
  !DOCTYPE jboss (View Source for full doctype...) 
- 
- enterprise-beans
- 
  ejb-nameHelloWorld/ejb-name 
  jndi-nameHelloWorld/jndi-name 
  configuration-nameStandard Stateless SessionBean/configuration-name 
  
  /enterprise-beans
  
I'm using Ant to create jar file:
build.xml:
?xml version=1.0 ? 
- !-- Esempio: Hello World
  -- 
- 
   
   
   
   
   
   
- !--  Build classpath 
  -- 
- 
- 
   
  
   
- !--  So that we can get jndi.properties for InitialContext 
  -- 
   
  
   
- !-- Provo a compilare
  -- 
- 
- 
   
  
  
- !-- Costruisco la dirctory
  -- 
- 
   
   
  
- 
- 
- 
   
  
- 
   
  
  
   
  
- !-- Provo ad eseguire
  -- 
- 
- 
   
  
  
- 
- 
   
  
  
- 
   
   
  
- 
   
  
  
when the client run, it give me this error:

Exception in thread main java.lang.NoClassDefFoundError: 
/home/raffaele/Documents/esempio1/main/CountClient

Please, can anyone help me?

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Exception in thread main java.lang.NoClassDefFoundError

2004-02-24 Thread raffaelecorvino
When I runthe Client, it give me this error:
Exception in thread main java.lang.NoClassDefFoundError: 
/home/raffaele/Documents/esempio1/main/CountClient

Please,Can Anyone help me???
Thanks in advance.
Raffaele.

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss problem

2004-02-23 Thread raffaelecorvino
Execuse me!!!
Thanks

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss problem

2004-02-23 Thread raffaelecorvino
Please Can Anyone give me a tutorial about Jboss, and deployment file?Please help me?
Thanks in advance!!!
 

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss problem

2004-02-22 Thread raffaelecorvino
I have now a new problem:
2:17:19,447 INFO  [MainDeployer] Starting deployment of package: 
file:/home/raffaele/jboss-3.2.3/server/default/deploy/HelloWorld.jar
12:17:19,701 ERROR [MainDeployer] could not create deployment: 
file:/home/raffaele/jboss-3.2.3/server/default/deploy/HelloWorld.jar
org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean 
HelloWorld: expected one persistence-type tag
at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:252)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
12:17:56,722 INFO  [STDOUT] Fri Feb 20 12:17:56 CET 2004 - SnmpPortal.Receiver.run: 
AsnEncodingException: Invalid ASN.1 length

Thanks in advance.


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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user