[JBoss-user] [Security & JAAS/JBoss] - Re: How to enable 3 login parameters
Hi, So you are saying there are no configuration files to enable this and we have to find a way to include the customer name in the username if we want to use J2EE standard specified container based security? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942008#3942008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942008 --- 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] [Security & JAAS/JBoss] - Re: How to enable 3 login parameters
Hi, It?s just surprising that Jboss does not have the built in functionality to have more than one login parameter. If there is only a username and password login option, then you can get into the hotmail scenario where you can't find the username you want. If you use a company name as well, the usernames only needs to be unique within a company name, but can be the same across different company names. I hope one of the Jboss developers will answer. Rgds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941924#3941924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941924 --- 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] [Security & JAAS/JBoss] - How to enable 3 login parameters
Hi, We need help on how to enable three login parameters i.e username: companyname: password: Which configuration files allow this or must one override the JBoss modules? For the databaseloginmodule you can change it to allow 3 login parameters but the second security verification called 'client-login', seems to have been written to only handle a single username and a single credential which up to now has been the password. Any help greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941911#3941911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941911 --- 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] [Tomcat, HTTPD, Servlets & JSP] - Re: How to get Jboss to recognize JAD and J2ME JAR MIME Type
Thanks for your the response. We are using the Jboss embedded Tomcat servlet container, any idea how to add the non standard mime types to the web.xml? a. For the JAD file type, the MIME type needs to be set to text/vnd.sun.j2me.app-descriptor. b. For the JAR file type, the MIME type needs to be set to application/java-archive. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939775#3939775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939775 --- 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] [Tomcat, HTTPD, Servlets & JSP] - How to get Jboss to recognize JAD and J2ME JAR MIME Types
We need to allow users to download via http a Jad and Jar file from Jboss. The Jar is a j2me file that will be downloaded to a mobile phone. We need to ensure that Jboss Web server recognizes JAD and JAR files: a. For the JAD file type, the MIME type needs to be set to text/vnd.sun.j2me.app-descriptor. b. For the JAR file type, the MIME type needs to be set to application/java-archive. How do you set this up in Jboss? Any help appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939641#3939641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939641 --- 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] [Performance Tuning] - Is JBoss certified with Jrocket or the IBM JVM?
Dear Jboss, We would like to know if Jboss is certified with Jrocket as its supposed to speed x86 machines? Please come back with an answer so the Jboss community can then know if they can use instead of Sun's JVM, Jrocket or the IBM JVM. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930568#3930568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930568 --- 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] [Performance Tuning] - Jboss without rebooting for 15 days I've lost over 1.5 GB of
Hi, I've now been running Jboss without rebooting for 15 days and decided to reboot as I've lost over 1.5 GB of memory. Memory has gone from 572196 to 1956684 on reboot. I'm using the standard run.conf. # Specify options to pass to the Java VM. # if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-server -Xms128m -Xmx128m" fi java version "1.4.2_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03) Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode) Jboss version: jboss-4.0.1sp1 Do you have any advise on how to set the options to the VM to prevent losing so much memory?? After taking down Jboss after 15 days before a reboot I had: # vmstat 1 10 procs ---memory-- ---swap-- -io --system-- cpu r b swpd free buff cache si sobibo incs us sy id wa 0 0 0 572196 224760 94420000 0 93 4 1 0 99 0 0 0 0 572196 224760 94420000 0 0 101020 0 0 100 0 0 0 0 572196 224760 94420000 0 0 100416 0 0 100 0 0 0 0 572196 224760 94420000 056 100826 0 0 100 0 0 0 0 572196 224760 94420000 0 0 100412 0 0 100 0 0 0 0 572196 224760 94420000 0 0 100514 0 0 100 0 0 0 0 572196 224760 94420000 0 0 100412 0 0 100 0 0 0 0 572196 224760 94420000 0 0 100520 0 0 100 0 0 0 0 572196 224760 94420000 0 4 100517 0 0 100 0 0 0 0 572196 224760 94420000 0 0 100514 0 0 100 0 After reboot before bringing up Jboss: vmstat 1 10 procs ---memory-- ---swap-- -io --system-- cpu r b swpd free buff cache si sobibo incs us sy id wa 0 0 0 1956684 9324 47096004311 50431 1 0 98 1 0 0 0 1956748 9324 4709600 0 0 100614 0 0 100 0 0 0 0 1956748 9324 4709600 0 0 100714 0 0 100 0 0 0 0 1956828 9324 4709600 0 0 100514 0 0 100 0 0 0 0 1956828 9324 4709600 0 0 100512 0 0 100 0 0 0 0 1956828 9332 4708800 036 100620 0 0 100 0 0 0 0 1956828 9332 4708800 0 0 100510 0 0 100 0 0 0 0 1956956 9332 4708800 0 0 100412 0 0 100 0 0 0 0 1956956 9332 4708800 0 0 100510 0 0 100 0 0 0 0 1957020 9332 4708800 0 0 100414 0 0 100 0 After reboot and re-starting Jboss: vmstat 1 10 procs ---memory-- ---swap-- -io --system-- cpu r b swpd free buff cache si sobibo incs us sy id wa 0 0 0 1647004 12352 157688006431 50531 4 0 95 1 0 0 0 1647004 12352 15768800 0 0 100762 0 0 100 0 0 0 0 1647020 12352 15768800 096 102458 0 0 100 0 0 0 0 1647020 12352 15768800 0 0 100556 0 0 100 0 0 0 0 1647020 12352 15768800 0 0 100458 0 0 100 0 0 0 0 1647020 12360 15768000 056 100865 0 0 99 0 0 0 0 1647036 12360 15768000 0 0 100454 0 0 100 0 0 0 0 1646972 12360 15768000 0 400 107260 0 0 100 0 0 0 0 1646972 12360 15768000 0 0 100658 0 0 100 0 0 0 0 1646972 12360 15768000 0 0 100558 0 0 100 0 Any help appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926627#3926627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926627 --- 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] [JNDI/Naming/Network] - How to Alias the JNDI name
Goal: Have one stateless session bean with a JNDI name and two aliiases to it. Acc http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch3.chapter.html#d0e10124 3.2.6.2. The org.jboss.naming.NamingAlias MBean The NamingAlias MBean is a simple utility service that allows you to create an alias in the form of a JNDI javax.naming.LinkRef from one JNDI name to another. This is similar to a symbolic link in the UNIX file system. To an alias you add a configuration of the NamingAlias MBean to the jboss-service.xml configuration file. The configurable attributes of the NamingAlias service are as follows: FromName: The location where the LinkRef is bound under JNDI. ToName: The to name of the alias. This is the target name to which the LinkRef refers. The name is a URL, or a name to be resolved relative to the InitialContext, or if the first character of the name is a dot (.), the name is relative to the context in which the link is bound. The following example provides a mapping of the JNDI name QueueConnectionFactory to the name ConnectionFactory. ConnectionFactory QueueConnectionFactory So I added to server/default/conf/jboss-service.xml 34402_EN 34402 34402_ID 34402_EN If I look at http://localhost:8080/jmx-console/HtmlAdaptor?action=displayMBeans jboss * database=localDB,service=Hypersonic * fromName=34402,service=NamingAlias * fromName=34402_EN,service=NamingAlias Probllem: I can't connect to connect to the alias JNDI names? Using: ctx = new InitialContext(); obj = ctx.lookup(jndiName); or ctx = new InitialContext(); obj = ctx.lookupLink(jndiName); Any help how to achieve me goal appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874095#3874095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874095 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: help mysql with JAAS Howto
Hi, Look at the URL below for MySQL. Based on this it's working. http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857098#3857098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857098 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - help mysql with JAAS Howto
Hi, I does anyone know how to get mysql to work with JAAS? I'm testing with the Howto and it does not work? Any help appreciated 1) I added the details to the database - this worked and I can see the details in the mysql database. 2) I added into the mysql-ds.xml in /usr/local/jboss-3.2.6/server/default/deploy TestDefaultDS jdbc:mysql://localhost:3306/test com.mysql.jdbc.Driver user pass MysqlDbRealm 3)I added to login-config.xml in /usr/local/jboss-3.2.6/server/default/conf java:/TestDefaultDS select Password from Principals where PrincipalID=? select Role, RoleGroup from Roles where PrincipalID=? sa user pass jboss.jca:service=LocalTxCM,name=TestDefaultDS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856505#3856505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856505 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Latest JAAS HowTo not working with Jboss3.2.6
Thanks the first example now work. The second example now fails for the same reason as seen below, how would you recommend fixing it? Thanks 2004-11-23 22:18:14,654 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.6 (build: CVSTag=JBoss_3_2_6 date=200410140106)] Started in 48s:94ms 2004-11-23 22:18:27,382 INFO [STDOUT] JaasLoginFilter, login as: java 2004-11-23 22:18:27,526 INFO [STDOUT] PublicSessionBean.ejbCreate() called 2004-11-23 22:18:27,527 INFO [STDOUT] PublicSessionBean.noop 2004-11-23 22:18:27,528 INFO [STDOUT] PublicSessionBean.noop, callerPrincipal=caller_java 2004-11-23 22:18:27,557 INFO [STDOUT] JaasLoginFilter, logout 2004-11-23 22:18:37,311 INFO [STDOUT] JaasLoginFilter, login as: java 2004-11-23 22:18:37,317 INFO [STDOUT] PublicSessionBean.echo, arg=Hello 2004-11-23 22:18:37,317 INFO [STDOUT] PublicSessionBean.echo, callerPrincipal=caller_java 2004-11-23 22:18:37,318 INFO [STDOUT] PublicSessionBean.echo, isCallerInRole('EchoUser')=true 2004-11-23 22:18:37,327 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: e1wij0cu-5 2004-11-23 22:18:37,327 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void org.jboss.docs.jaas.howto.PrivateSessionBean.ejbCreate() throws javax.ejb.CreateException 2004-11-23 22:18:37,327 INFO [STDOUT] PrivateSessionBean.ejbCreate() called 2004-11-23 22:18:37,328 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-rmi-invoker 2004-11-23 22:18:37,330 INFO [STDOUT] PublicSessionBean.echo, created PrivateSession 2004-11-23 22:18:37,342 INFO [STDOUT] PrivateSessionBean.echo, arg=Hello 2004-11-23 22:18:37,342 INFO [STDOUT] PrivateSessionBean.echo, callerPrincipal=caller_java 2004-11-23 22:18:37,343 INFO [STDOUT] PrivateSessionBean.echo, isCallerInRole('InternalUser')=false 2004-11-23 22:18:37,344 INFO [STDOUT] JaasLoginFilter, logout 2004-11-23 22:18:40,127 INFO [STDOUT] JaasLoginFilter, login as: java 2004-11-23 22:18:40,129 INFO [STDOUT] PublicSessionBean.noop 2004-11-23 22:18:40,130 INFO [STDOUT] PublicSessionBean.noop, callerPrincipal=caller_java 2004-11-23 22:18:40,131 INFO [STDOUT] JaasLoginFilter, logout 2004-11-23 22:18:50,168 ERROR [org.jboss.ejb.plugins.SecurityInterceptor] Authentication exception, principal=caller_java 2004-11-23 22:18:50,169 DEBUG [org.jboss.ejb.plugins.LogInterceptor] SecurityException in method: public abstract org.jboss.docs.jaas.howto.Session org.jboss.docs.jaas.howto.SessionHome.create() throws java.rmi.RemoteException,javax.ejb.CreateException java.lang.SecurityException: Authentication exception, principal=caller_java at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:155) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:74) 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:729) 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) 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:55) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy67.create(Unknown Source) at org.jboss.docs.jaas.howto.EJBServlet.createBean(EJBServlet.java:171) at org.jboss.docs.jaas.howto.EJBServlet.callEcho(EJBServlet.java:72) at org.jboss.docs.jaas.howto.EJBServlet.processRequest(EJBServlet.java:31) at org.jboss.docs.jaas.howto.EJBServlet.doGet(EJBServlet.java:40) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at jav
[JBoss-user] [Security & JAAS/JBoss] - Latest JAAS HowTo not working with Jboss3.2.6
Dear JAAS Team, I installed the JAAS HowTO by downloading the latest version and tried to run it with Jboss 3.2.6 and the first example -1. Invoke PublicSession.echo() as java, echoman [PASS] The first example fails I've included the logs from Jboss Apache Tomcat/5.0.28 and then the log from the Jboss console. Any help appreciated as I followed the instructions in the Howto and this should work? 1) Jboss Apache Tomcat/5.0.28 : HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Failed to call SecuredEJB.echo org.jboss.docs.jaas.howto.EJBServlet.callEcho(EJBServlet.java:74) org.jboss.docs.jaas.howto.EJBServlet.processRequest(EJBServlet.java:31) org.jboss.docs.jaas.howto.EJBServlet.doGet(EJBServlet.java:41) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) root cause javax.servlet.ServletException: Failed to call SecuredEJB.echo org.jboss.docs.jaas.howto.EJBServlet.createBean(EJBServlet.java:178) org.jboss.docs.jaas.howto.EJBServlet.callEcho(EJBServlet.java:68) org.jboss.docs.jaas.howto.EJBServlet.processRequest(EJBServlet.java:31) org.jboss.docs.jaas.howto.EJBServlet.doGet(EJBServlet.java:41) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) root cause java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Authentication exception, principal=caller_java org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:369) org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:124) org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319) org.jboss.ejb.Container.invoke(Container.java:729) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) org.jboss.mx.server.Invocation.invoke(Invocation.java:82) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) $Proxy45.create(Unknown Source) org.jboss.docs.jaas.howto.EJBServlet.createBean(EJBServlet.java:173) org.jboss.docs.jaas.howto.EJBServlet.callEcho(EJBServlet.java:68) org.jboss.docs.jaas.howto.EJBServlet.processRequest(EJBServlet.java:31) org.jboss.docs.jaas.howto.EJBServlet.doGet(EJBServlet.java:41) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. Apache Tomcat/5.0.28 2) THE JBOSS LOG GIVES THE FOLLOWING ERROR: 21:51:57,340 INFO [Server] JBoss (MX MicroKernel) [3.2.6 (build: CVSTag=JBoss_3 _2_6 date=200410140106)] Started in 39s:647ms 21:52:59,637 INFO [STDOUT] JaasLoginFilter, login as: java 21:52:59,800 INFO [STDOUT] PublicSessionBean.ejbCreate() called 21:52:59,802 INFO [STDOUT] PublicSessionBean.echo, arg=Hello 21:52:59,802 INFO [STDOUT] PublicSessionBean.echo, callerPrincipal=caller_java 21:52:59,803 INFO [STDOUT] PublicSessionBean.echo, isCallerInRole('EchoUser')=t rue 21:52:59,812 INFO [STDOUT] PrivateSessionBean.ejbCreate() called 21:52:59,815 INFO [STDOUT] PublicSessionBean.echo, created PrivateSession 21:52:59,826 INFO [STDOUT] PrivateSessionBean.echo, arg=H
[JBoss-user] [Advanced Documentation] - Re: How up to date is the Pay-for documentation?
Hi, I've downloaded the free docs for jboss 3.2.6 , but how can you get a copy of the examples? I've also paid for the Pay-for documentation and no jboss docs with examples have been sent through for jboss 3.2.6. When will the examples and docs for jboss 3.2.6 be sent throught to your paid customers? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855829#3855829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855829 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - compile failed Duke Bank from javax.swing.JOptionPane
Anyone had a similar problem that they resolved? I've installed j2ee-1_3-doc-tutorial-draft5.zip - the current 1.3 tut from Sun then I installed jbossj2ee-src.zip and edited build.properties to change jboss.home=/usr/local/jboss-3.2.3 The Struts files were already in the bank/jar from the bossj2ee-src.zip [bank]# ant -f jboss-build.xml compile Buildfile: jboss-build.xml prepare: compile: [javac] Compiling 55 source files to /home/hillel/jbossdocs/j2eetutorial/bank/build [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$8': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$8.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:178: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac] returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$7': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$7.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:162: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$4': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$4.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:122: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$3': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$3.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:106: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$1': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$1.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:78: error: Can't find method `showInputDialog(Lcom/sun/ebank/a ppclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] 5 errors BUILD FAILED file:/home/hillel/jbossdocs/j2eetutorial/bank/jboss-build.xml:49: Compile failed ; see the compiler error output for details. Total time: 2 seconds View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840201#3840201 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840201 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - JBossBook_323.zip Examples don't compile
I've just got the latests docs and installed JBossBook_323.zip I changed the examples/build.xml file - changing the jboss.dist to /usr/local/jboss-3.2.3 Then I ran the examples according to the pdf [examples]$ ant -Dchap=chap6 -Dex=1p2p run-example Buildfile: build.xml validate: [java] ImplementationTitle: JBoss [WonderLand] [java] WARNING: requested version: 3.2 does not match the run.jar version: JBoss (http://www.jboss.org/) [java] ImplementationVendor: 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445) [java] ImplementationVersion: JBoss.org [java] SpecificationTitle: JBoss [java] SpecificationVendor: 3.2.3 [java] SpecificationVersion: JBoss (http://www.jboss.org/) [java] JBoss version is: JBoss (http://www.jboss.org/) [java] Java Result: 1 fail_if_not_valid: init: [echo] Using jboss.dist=/usr/local/jboss-3.2.3 compile-src: config: [echo] Preparing chap12 configuration fileset [copy] Copying 1 file to /usr/local/jboss-3.2.3/server/chap12/conf compile-src: [echo] Generating xdoclet source [ejbdoclet] [INFO] start - -Running [ejbdoclet] [INFO] start - -Running [ejbdoclet] [INFO] start - -Running [ejbdoclet] [INFO] start - -Running [ejbdoclet] [INFO] start - -Running [ejbdoclet] [INFO] start - -Running [echo] Generating wsdl client compile: [javac] Compiling 139 source files to /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/output/classes [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/test/util/ejb/RemoteTestException.java:60: warning: The class `java.io.PrintStream' has been deprecated. [javac] public void printStackTrace(java.io.PrintStream ps) [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/test/util/ejb/RemoteAssertionFailedError.java:59: warning: The class `java.io.PrintStream' has been deprecated. [javac] public void printStackTrace(java.io.PrintStream ps) [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3b/ExClient.java:0: error: cannot find file for class javax.security.auth.callback.CallbackHandler [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3b/ExClient.java:5: error: Class or interface `javax.security.auth.login.LoginContext' not found in import. [javac]import javax.security.auth.login.LoginContext; [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3b/ExClient.java:46: error: Type `LoginContext' not found in the declaration of the local variable `lc'. [javac] LoginContext lc = new LoginContext("srpHAReadOnlyJNDI", handler); [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3a/ExClient.java:6: error: Class or interface `javax.security.auth.login.LoginContext' not found in import. [javac]import javax.security.auth.login.LoginContext; [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3a/ExClient.java:42: error: Type `LoginContext' not found in the declaration of the local variable `lc'. [javac] LoginContext lc = new LoginContext("srpHA", handler); [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3/ExClientSetup.java:7: error: Class or interface `javax.security.auth.login.LoginContext' not found in import. [javac]import javax.security.auth.login.LoginContext; [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3/ExClient.java:5: error: Class or interface `javax.security.auth.login.LoginContext' not found in import. [javac]import javax.security.auth.login.LoginContext; [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3/ExClient.java:27: error: Type `LoginContext' not found in the declaration of the local variable `lc'. [javac] LoginContext lc = new LoginContext("srp", handler); [javac] ^ [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex2/JndiUserAndPass.java:0: error: cannot find file for class javax.security.auth.spi.LoginModule [javac] /home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex2/ExClient.java:4: erro
[JBoss-user] [Advanced Documentation] - Can't build JMS example chapter 4 example 1, any help apprec
[examples-2.4.5]$ ant -Dchap=4 -Dex=1 run-example Buildfile: build.xml validate: fail_if_not_valid: init: [echo] Using jboss.dist=/usr/local/jboss-3.2.3 compile: [javac] Compiling 1 source file to /home/hillel/jbossdocs/JBossBook-2.4.6/examples-2.4.5/build/classes run-example: run-example1: [echo] classpath=/usr/local/jboss-3.2.3/client/jbossall-client.jar:/usr/local/jboss-3.2.3/client/jboss-j2ee.jar:/usr/local/jboss-3.2.3/client/jboss-jaas.jar:/usr/local/jboss-3.2.3/client/jbossmq-client.jar:/usr/local/jboss-3.2.3/client/jbosssx-client.jar:/usr/local/jboss-3.2.3/client/jboss-client.jar:/usr/local/jboss-3.2.3/client/jnp-client.jar:/usr/local/jboss-3.2.3/client/log4j.jar:/usr/local/jboss-3.2.3/client/concurrent.jar:/usr/local/jboss-3.2.3/client/jacorb.jar:/usr/local/jboss-3.2.3/server/default/lib/jboss.jar:/home/hillel/jbossdocs/JBossBook-2.4.6/examples-2.4.5/build/classes:/home/hillel/jbossdocs/JBossBook-2.4.6/examples-2.4.5/src/resources [java] Begin sendRecvAsync [java] Exception in thread "main" javax.naming.NoInitialContextException: Can't find property: java.naming.factory.initial [java]at javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable) (/lib/ssa/libgcj.so.4.0.0) [java]at javax.naming.InitialContext.getDefaultInitCtx() (/lib/ssa/libgcj.so.4.0.0) [java]at javax.naming.InitialContext.getURLOrDefaultInitCtx(java.lang.String) (/lib/ssa/libgcj.so.4.0.0) [java]at javax.naming.InitialContext.lookup(java.lang.String) (/lib/ssa/libgcj.so.4.0.0) [java]at org.jboss.chap4.ex1.SendRecvClient.setupPTP() (Unknown Source) [java]at org.jboss.chap4.ex1.SendRecvClient.sendRecvAsync(java.lang.String) (Unknown Source) [java]at org.jboss.chap4.ex1.SendRecvClient.main(java.lang.String[]) (Unknown Source) [java] Java Result: 1 BUILD SUCCESSFUL Total time: 0 seconds Any ideas what this error means? Any help appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840057#3840057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840057 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user