[JBoss-user] [Persistence & CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?
A Session Facade + Value Object design patterns solves this problem JaimeS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855264#3855264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855264 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Insertin records on One-to-Many relation
Thanks for your reply I'm gona to read the EJB Spec thanks again View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855261#3855261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855261 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Insertin records on One-to-Many relation
Hi I have some problema I have master-detail relationship (one-to-many):a user has a list of roles. I try to insert a record in the user table that contains the collection of ROLES to be inserted in the roles tables but when I execute the home.create only the master (user) table are updated and the detail table don't contains any record belong to the user that I insert. I'm using EJB2 with an CMR defined between the thwo EJB Somebody can tell me how I can insert the master and details records in one call to the Facade Session Bean?? thanks for all JaimeS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854671#3854671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854671 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - JAAS
JBoss version: 3.2.3 (Linux) Tomcat version: 4.1.29 (Linux) Apache version: 1.3.29 (Linux) Java Version: 1.4.2 I have successfully configures Apache-JBoss-Tomcat, but I have the problem when Authenticate with JAAS, with JAAS I don't login two twice in the same session, when I try to login by the second time , this message shows #33 HTTP Status 404 - /monitor.war/j_security_check type Status report message /monitor.war/j_security_check description The requested resource (/monitor.war/j_security_check) is not available. Apache Tomcat / 4.1.29 #33 My questions is how I do to disable the control of JAAS to avoid this error , my application needs to authenticate twice time. in the old version ( JBoss 2.4.4-tomcat 3.2.3 ) I did't have this problem Anybody knows how to resolve this problem Best Regards Jaime Gomez --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] JBoss 3.2.3 - Apache Web Server
Hi People , i have an questions about how config JAAS inside Apache Web Server, in my main page of my web site ( put in Apache ) i want to introduce an username and password , next with an submit to call my application from JBoss ( myapp.war ) but I have problem because I use JAAS ( security problem ) , in conclusion how config JAAS to work Apache and JBoss together thanks Jaime Gomez --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Expanding JBoss JVM memory
How to increase the size of my JVM memory to 512M? I don't sure if this procedure is correct 1.- Set JAVA_OPTS = -Xmx512m 2.- Run JBoss 3.2.3 is it correct this configuration? I work with J2SDK1.4.2 , RedHat 7.2 and JBoss3.2.3 is it the same -Xmx512m and -Xmx512mb ? Jaime Gomez --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem with ORACLE and JBOSS 3.2.3
Hi people I have an application run inside of JBoss 3.2.3 , I use this configuration to Oracle conexion : CampusDB jdbc:oracle:thin:@192.168.72.12:1521:cv oracle.jdbc.driver.OracleDriver campus virtual 5 200 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter _ After two days I have this error , anybody known the problem 2004-03-17 21:37:26,571 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[action]: Serv let.service() for servlet action threw exception javax.servlet.ServletException: SQLException while getting survey result for student : java.sql.SQLException: ORA-04031: unable to allocate 8192 bytes of shared memory ("large pool","u nknown object","sort subheap","sort key") at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:4 86) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) 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(ApplicationFilterChai n.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:1 93) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.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(Stan dardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java: 220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:641) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.jav a:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.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(Stan dardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:641) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve .java:65) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.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.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Stan dardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.
Re: [JBoss-user] [Installation & Configuration] - JBoss / Tomcat / Apache
You need jk2, from the site of jakarta download this tar.gz and compile , currently I use a Apache 1.3.29 with JBoss 3.2.3 , join y jk2 Jaime >>> [EMAIL PROTECTED] 09/03 4:13 >>> Hello. I currently am using the built in http that is used by default with the jboss/tomcat (4.x) integration. I am running jboss 3.2.1 and 3.2.3 on Linux. I would like to utilize apache as the HTTPD server. Is there a howto on this? I have done some searches through the forum and haven't found anything concrete. But I may be searching with the wrong keywords. Any help is appreciated. Thanks. Kevin http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824893#3824893";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824893>Reply to the post --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss-user]Integrate .NET and J2EE
I need to implement an application ( inside LAN Network) with the following features : --CLIENT- Client : VB .NET applicaction Web Client: IExplorer ---SERVER Application Server : JBoss 3.2.3 JSP/Servlet Container : Tomcat Web Server Apache --- The first solution that I found was Web Service ( Client[VB .NET] - Server ) but I read that this is bud solution because there are a lot of traffic in the network with Web Services. Anybody knows any better solution to integrate an Client ( VB .NET ) and server (J2EE) into LAN Network Thank Jaime Gomez --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] Integrate .NET and J2EE
I need to implement an application ( inside LAN Network) with the following features : --CLIENT- Client : VB .NET applicaction Web Client: IExplorer ---SERVER Application Server : JBoss 3.2.3 JSP/Servlet Container : Tomcat Web Server Apache --- The first solution that I found was Web Service ( Client[VB .NET] - Server ) but I read that this is bud solution because there are a lot of traffic in the network with Web Services. Anybody knows any better solution to integrate an Client ( VB .NET ) and server (J2EE) into LAN Network Thank Jaime Gomez --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss-user]how an VB application to call EJB ?
Anybody know how does an VB application call to EJB ?, there any kind of plugin?, I'm interested in to implement a basic example of Visual Basic to call EJB of type session thank for their time Jaime Gomez --- 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=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Integrate Apache Jboss-Tomcat, with SSL, users,IP
People does the connector mod_jk2 work very well with Apache 1.3.24 and tomcat 4.1.29? I have problem when I used Apache - Tomcat, but when use mod_jk , Apache - Tomcat works very well I think that is possible Apache 2 mod_jk2 -- Tomcat 4.1.29 or JBoss 3.2.3 Apache 1.3.x mod_jk -- Tomcat 4.1.29 Apache 1.3.x mod_jk -- JBoss 3.2.3 ? is it true? I try to do this Apache 1.3.x - mod_jk2 -- JBoss 3.2.3 ? is it possible? , theoric is ok but when try to do with the indication of the page http://jboss.org/wiki/ don't work out jaime >>> [EMAIL PROTECTED] 24/02 17:25 >>> Agree! and Support those revamp docs of jboss... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822801#3822801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822801 --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation & Configuration] - Re: IntegrateApache Jboss-Tomcat, with SSL, users,
I did , this is my resumen : Build JK2 1. Requirement * RedHat 9.0 * Jakarta-tomcat-4.1.29 * Jakarta-tomcat-connectors-4.1.29 2. Instalation Install jakarta-tomcat-4.1.29 and jakarta-tomcat-connectors-4.1.29-src where : * CATALINA_HOME = path to jakarta-tomcat-4.1.29 * JTC_HOME = path to jakarta-tomcat-connectors-4.1.29-src 3. Build * cd $JTC_HOME/jk * cp build.properties.samples build.properties * vi build.properties ( change the path of tomcat41.home and apache13.home ) * ant native the compile module will be generated inside the directory $JCT_HOME/jk/build >>> [EMAIL PROTECTED] 24/02 14:42 >>> Have you compiled mod_jk? > From: "JAIME GOMEZ" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 24 Feb 2004 16:20:04 -0500 > To: <[EMAIL PROTECTED]> > Subject: [JBoss-user] [Installation & Configuration] - Re: Integrate Apache > Jboss-Tomcat, with SSL, users,IP > > Peolple, i try to install : Apache 1.3.29 with Jboss3.2.3 but i have > problem when using the jakarta-tomcat-connector-4.1.29 , i don't how to > install the mod_jk2. > > I had been to try with the information of > http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss but when > start the apache , don't read the file worker2.properties > > > hope their help > Jaime > > > > --- > 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=1356&alloc_id=3438&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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_id56&alloc_id438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation & Configuration] - Re: IntegrateApache Jboss-Tomcat, with SSL, users,
yes , i did >>> [EMAIL PROTECTED] 24/02 14:42 >>> Have you compiled mod_jk? > From: "JAIME GOMEZ" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 24 Feb 2004 16:20:04 -0500 > To: <[EMAIL PROTECTED]> > Subject: [JBoss-user] [Installation & Configuration] - Re: Integrate Apache > Jboss-Tomcat, with SSL, users,IP > > Peolple, i try to install : Apache 1.3.29 with Jboss3.2.3 but i have > problem when using the jakarta-tomcat-connector-4.1.29 , i don't how to > install the mod_jk2. > > I had been to try with the information of > http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss but when > start the apache , don't read the file worker2.properties > > > hope their help > Jaime > > > > --- > 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=1356&alloc_id=3438&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Integrate Apache Jboss-Tomcat, with SSL, users,IP
Peolple, i try to install : Apache 1.3.29 with Jboss3.2.3 but i have problem when using the jakarta-tomcat-connector-4.1.29 , i don't how to install the mod_jk2. I had been to try with the information of http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss but when start the apache , don't read the file worker2.properties hope their help Jaime --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] problem with JBoss 3.2.3 - Struts 1.1
Thank, I try , but do you suggest me that I need to copy all jar of my application inside the WEB-INF/ lib of my application? >>> [EMAIL PROTECTED] 20/02 7:46 >>> We run struts based applications under 3.2.3 with no problem. I was always under the impression, though, that all of the struts jar files needed to go in the lib directory under the application's WEB-INF and not in the server's lib directory. (Each application has its own jars). JAIME GOMEZ wrote: >Hi people, I have an application ( with Struts ) which ran vey well in >JBoss-2.4.4-Tomcat- 3.2.3 I , I decided to migrate a JBoss3.2.3 , first >I copied all jar file of struts in the directory >$JBOSS_HOME/server/default/lib and when I deploy mi application ( ear >file ) and start my first web client ( Internet Explorer) in the console >of my JBoss , i saw the following message : > > >2004-02-20 09:36:13,377 INFO [org.jboss.web.localhost.Engine] Error >compiling file: >/home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java >[javac] Compiling 1 source file >[javac] >/home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:161: >cannot resolve symbol >[javac] symbol : method doAfterBody () >[javac] location: class org.apache.struts.taglib.html.HtmlTag >[javac] int evalDoAfterBody = >_jspx_th_html_html_0.doAfterBody(); >[javac] ^ >[javac] >/home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:162: >cannot resolve symbol >[javac] symbol : variable EVAL_BODY_AGAIN >[javac] location: interface javax.servlet.jsp.tagext.BodyTag >[javac] if (evalDoAfterBody != >javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) >[javac] > ^ >[javac] >/home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:173: >handlePageException(java.lang.Exception) in >javax.servlet.jsp.PageContext cannot be applied to >(java.lang.Throwable) >[javac] if (pageContext != null) >pageContext.handlePageException(t); >[javac] ^ >[javac] >/home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:256: >cannot resolve symbol >[javac] symbol : variable EVAL_BODY_AGAIN >[javac] location: interface javax.servlet.jsp.tagext.BodyTag >[javac] if (evalDoAfterBody != >javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) >[javac] > ^ >[javac] 4 errors > . > >I don;t have any idea what happen? any know the solution or any >explanation > >Jaime Gomez > > >--- >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=1356&alloc_id=3438&op=click >___ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] problem with JBoss 3.2.3 - Struts 1.1
Hi people, I have an application ( with Struts ) which ran vey well in JBoss-2.4.4-Tomcat- 3.2.3 I , I decided to migrate a JBoss3.2.3 , first I copied all jar file of struts in the directory $JBOSS_HOME/server/default/lib and when I deploy mi application ( ear file ) and start my first web client ( Internet Explorer) in the console of my JBoss , i saw the following message : 2004-02-20 09:36:13,377 INFO [org.jboss.web.localhost.Engine] Error compiling file: /home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java [javac] Compiling 1 source file [javac] /home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:161: cannot resolve symbol [javac] symbol : method doAfterBody () [javac] location: class org.apache.struts.taglib.html.HtmlTag [javac] int evalDoAfterBody = _jspx_th_html_html_0.doAfterBody(); [javac] ^ [javac] /home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:162: cannot resolve symbol [javac] symbol : variable EVAL_BODY_AGAIN [javac] location: interface javax.servlet.jsp.tagext.BodyTag [javac] if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) [javac] ^ [javac] /home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:173: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] /home/devteam/tools/jboss-3.2.3/server/default/work/MainEngine/localhost/campus.war/logon_jsp.java:256: cannot resolve symbol [javac] symbol : variable EVAL_BODY_AGAIN [javac] location: interface javax.servlet.jsp.tagext.BodyTag [javac] if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) [javac] ^ [javac] 4 errors . I don;t have any idea what happen? any know the solution or any explanation Jaime Gomez --- 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=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] RE: [JBoss-user] RE: [JBoss-user] J2EE en españa
Definitivamente JBoss con Struts en una buena opcion para la parte de presentacion, mi problema radica en la integracion de la parte de presentacion y business. Usando obviamente los disenos de patrones. Yo pensaba tomar como modelo un Framework como EJOSA del proyecto OpenUSS. Realmente yo carezco de experiencia en manejar proyectos com cvs, el cual pretendo aprenderlo lo mas rapido posible para poder integrarme en un proyecto del tipo que mencione en mi email anterior Atte Jaime From: "Marcos Oliva" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [JBoss-user] RE: [JBoss-user] RE: [JBoss-user] J2EE en españa Date: Mon, 2 Jun 2003 12:15:52 -0700 Jaime, Que tal Struts con JBoss ? Struts es basado en el MVC framework e interactua muy bien con JBoss Marcos Oliva -Original Message- From: Jaime Gomez [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:40 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] RE: [JBoss-user] J2EE en españa Hi Jorge y cual es tu experiencia en JBoss, yo he trabajado en la version 2.4.4 y obviamente con EJB1.1 , integrado con la version del Tomcat 3.2.3. Pienso que se deberia hacer un Framework sobre JBoss y Tomcat (desarrollo rapido de J2EE) , pero partiendo de un modelo existente en el mercado. Saludos Jaime >From: Jorge Garcia Perales <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: Lista de Jboss <[EMAIL PROTECTED]> >Subject: Re: [JBoss-user] RE: [JBoss-user] J2EE en españa >Date: 02 Jun 2003 17:11:14 +0200 > >Claro que no hacemos distinción de país. La idea es construir una >comunidad hispana de jboss > >JORGE > >El lun, 02 de 06 de 2003 a las 16:57, Jaime Gomez escribió: > > Hi mi nombre es Jaime y soy de Lima-Peru , ya tengo buen tiempo en esta > > lista por no decir meses, si no haces discriminacion por pais , me >gustaria > > aportar mis ideas,. > > Trabajo en plataformas open source y espero poder intercambiar > > correspondencia si no se llega a mas, Tambien tuve contacto con amigos > > Parguayos. > > Bueno a la espera de tu respuesta > > Atte > > Jaime Gomez Marin, > > > > >From: Enrique Rodríguez <[EMAIL PROTECTED]> > > >Reply-To: [EMAIL PROTECTED] > > >To: <[EMAIL PROTECTED]> > > >Subject: [JBoss-user] RE: [JBoss-user] J2EE en españa > > >Date: Tue, 27 May 2003 11:00:14 +0200 > > > > > >[Spanish] > > >Cualquier interesado en crear un grupo Jboss... que no dude en mandarme > > >un mail.. llevo algún tiempo intentando crear uno en castellano¡¡¡Si > > >conseguimos 10 mails, me pongo a trabajar en ello. > > > > > >[english] > > >Anyone interested on create a Jboss-spanish-group, please send me an > > >email. If I receive at least ten mails, y start to work on int. > > > > > >[EMAIL PROTECTED] > > > > > > > > >-Mensaje original- > > >De: [EMAIL PROTECTED] > > >[mailto:[EMAIL PROTECTED] En nombre de Jorge > > >Garcia Perales > > >Enviado el: martes, 27 de mayo de 2003 9:25 > > >Para: Lista de Jboss > > >Asunto: [JBoss-user] J2EE en españa > > > > > >Hola, > > > > > > Quería presentarme a la lista, sobre todo para el grupo de > > >desarrolladores españoles en Jboss. Me llamo Jorge García y pertenezco >a > > >la empresa Simauria Networks. > > > > > > En Simauria desarrollamos aplicaciones web con software libre > > >basadas > > >en J2EE (tomcat+jboss+postgresql) y acabo de apuntarme a esta lista de > > >distribución. > > > > > > Me gustaría entrar en contacto con los miembros de habla > > >española para > > >saber los movimientos que se realizan alrededor de Jboss en España. >¿Hay > > >alguna lista de distribución de jboss en España?, ¿Existe alguna web > > >interesante? ¿algún foro? si no lo hay podríamos crear uno. ¿Que >os > > >parece? > > > > > > Gracias por su atención > > > > > > jorge > > > > > >-- > > >Atentamente, > > > > > > > > > > > >Jorge García | Simauria Networks > > > > > >[EMAIL PROTECTED] | [EMAIL PROTECTED] > > > Tlf: 615 911 395| http://www.simauria.net > > > > > > C/ Cádiz, 90 pta 6. 46006 Valencia. > > > Tlf: +34 963.44.48.48 - Fax: +34 963.44.48.49 > > > > > > > > >
Re: [JBoss-user] RE: [JBoss-user] J2EE en españa
Hi Jorge y cual es tu experiencia en JBoss, yo he trabajado en la version 2.4.4 y obviamente con EJB1.1 , integrado con la version del Tomcat 3.2.3. Pienso que se deberia hacer un Framework sobre JBoss y Tomcat (desarrollo rapido de J2EE) , pero partiendo de un modelo existente en el mercado. Saludos Jaime From: Jorge Garcia Perales <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Lista de Jboss <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] RE: [JBoss-user] J2EE en españa Date: 02 Jun 2003 17:11:14 +0200 Claro que no hacemos distinción de país. La idea es construir una comunidad hispana de jboss JORGE El lun, 02 de 06 de 2003 a las 16:57, Jaime Gomez escribió: > Hi mi nombre es Jaime y soy de Lima-Peru , ya tengo buen tiempo en esta > lista por no decir meses, si no haces discriminacion por pais , me gustaria > aportar mis ideas,. > Trabajo en plataformas open source y espero poder intercambiar > correspondencia si no se llega a mas, Tambien tuve contacto con amigos > Parguayos. > Bueno a la espera de tu respuesta > Atte > Jaime Gomez Marin, > > >From: Enrique Rodríguez <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: <[EMAIL PROTECTED]> > >Subject: [JBoss-user] RE: [JBoss-user] J2EE en españa > >Date: Tue, 27 May 2003 11:00:14 +0200 > > > >[Spanish] > >Cualquier interesado en crear un grupo Jboss... que no dude en mandarme > >un mail.. llevo algún tiempo intentando crear uno en castellano¡¡¡Si > >conseguimos 10 mails, me pongo a trabajar en ello. > > > >[english] > >Anyone interested on create a Jboss-spanish-group, please send me an > >email. If I receive at least ten mails, y start to work on int. > > > >[EMAIL PROTECTED] > > > > > >-Mensaje original- > >De: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] En nombre de Jorge > >Garcia Perales > >Enviado el: martes, 27 de mayo de 2003 9:25 > >Para: Lista de Jboss > >Asunto: [JBoss-user] J2EE en españa > > > >Hola, > > > > Quería presentarme a la lista, sobre todo para el grupo de > >desarrolladores españoles en Jboss. Me llamo Jorge García y pertenezco a > >la empresa Simauria Networks. > > > > En Simauria desarrollamos aplicaciones web con software libre > >basadas > >en J2EE (tomcat+jboss+postgresql) y acabo de apuntarme a esta lista de > >distribución. > > > > Me gustaría entrar en contacto con los miembros de habla > >española para > >saber los movimientos que se realizan alrededor de Jboss en España. ¿Hay > >alguna lista de distribución de jboss en España?, ¿Existe alguna web > >interesante? ¿algún foro? si no lo hay podríamos crear uno. ¿Que os > >parece? > > > > Gracias por su atención > > > > jorge > > > >-- > >Atentamente, > > > > > > > >Jorge García | Simauria Networks > > > >[EMAIL PROTECTED] | [EMAIL PROTECTED] > > Tlf: 615 911 395| http://www.simauria.net > > > > C/ Cádiz, 90 pta 6. 46006 Valencia. > > Tlf: +34 963.44.48.48 - Fax: +34 963.44.48.49 > > > > > > > > > >--- > >This SF.net email is sponsored by: ObjectStore. > >If flattening out C++ or Java code to make your application fit in a > >relational database is painful, don't do it! Check out ObjectStore. > >Now part of Progress Software. http://www.objectstore.net/sourceforge > >___ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > >--- > >This SF.net email is sponsored by: ObjectStore. > >If flattening out C++ or Java code to make your application fit in a > >relational database is painful, don't do it! Check out ObjectStore. > >Now part of Progress Software. http://www.objectstore.net/sourceforge > >___ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > _ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > --- > This SF.net email is sponsored by:
Re: [JBoss-user] RE: [JBoss-user] J2EE en españa
Hi mi nombre es Jaime y soy de Lima-Peru , ya tengo buen tiempo en esta lista por no decir meses, si no haces discriminacion por pais , me gustaria aportar mis ideas,. Trabajo en plataformas open source y espero poder intercambiar correspondencia si no se llega a mas, Tambien tuve contacto con amigos Parguayos. Bueno a la espera de tu respuesta Atte Jaime Gomez Marin, From: Enrique Rodríguez <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [JBoss-user] RE: [JBoss-user] J2EE en españa Date: Tue, 27 May 2003 11:00:14 +0200 [Spanish] Cualquier interesado en crear un grupo Jboss... que no dude en mandarme un mail.. llevo algún tiempo intentando crear uno en castellano¡¡¡Si conseguimos 10 mails, me pongo a trabajar en ello. [english] Anyone interested on create a Jboss-spanish-group, please send me an email. If I receive at least ten mails, y start to work on int. [EMAIL PROTECTED] -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Jorge Garcia Perales Enviado el: martes, 27 de mayo de 2003 9:25 Para: Lista de Jboss Asunto: [JBoss-user] J2EE en españa Hola, Quería presentarme a la lista, sobre todo para el grupo de desarrolladores españoles en Jboss. Me llamo Jorge García y pertenezco a la empresa Simauria Networks. En Simauria desarrollamos aplicaciones web con software libre basadas en J2EE (tomcat+jboss+postgresql) y acabo de apuntarme a esta lista de distribución. Me gustaría entrar en contacto con los miembros de habla española para saber los movimientos que se realizan alrededor de Jboss en España. ¿Hay alguna lista de distribución de jboss en España?, ¿Existe alguna web interesante? ¿algún foro? si no lo hay podríamos crear uno. ¿Que os parece? Gracias por su atención jorge -- Atentamente, Jorge García | Simauria Networks [EMAIL PROTECTED] | [EMAIL PROTECTED] Tlf: 615 911 395| http://www.simauria.net C/ Cádiz, 90 pta 6. 46006 Valencia. Tlf: +34 963.44.48.48 - Fax: +34 963.44.48.49 --- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Upgrade application from JBoss_2.4.4-Tomcat_3.2.3 to JBoss_2.4.6-Tomcat_4.0.3
I like to migrate my application from JBoss_2.4.4-Tomcat_3.2.3 to JBoss_2.4.6-Tomcat_4.0.3, i based in the petstore 1.1.2 for build my application, which generate ear file, but when i deploy my ear in JBoss_2.4.6-Tomcat_4.0.3 i have the following error message, just in the war file, [13:12:52,593,JRMPContainerInvoker] Bound TheUserGroup to UserGroupHome [13:12:52,593,JRMPContainerInvoker] Bound TheEnrollmentHandler to EnrollmentHandlerHome [13:12:52,593,JRMPContainerInvoker] Bound TheFacade to FacadeHome [13:12:52,593,JRMPContainerInvoker] Bound TheRoles to RolesHome [13:12:52,609,JRMPContainerInvoker] Bound TheAssign to AssignHome [13:12:52,609,JRMPContainerInvoker] Bound TheUsersHandler to UsersHandlerHome [13:12:52,609,ContainerFactory] Deployed application: file:/C:/tools/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default/campus.ear [13:12:52,609,J2eeDeployer] Starting module campus.war [13:12:52,656,EmbeddedCatalinaServiceSX] Cause java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:516) at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:6 52) at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:209) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505) at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459) at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395) at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233) at java.lang.Thread.run(Thread.java:484) [13:12:52,656,J2eeDeployer] Starting campus.war failed! [13:12:52,671,J2eeDeployer] Module campus.war is not running [13:12:52,671,J2eeDeployer] Stopping module campus.ear [13:12:52,671,ContainerFactory] Undeploying:file:/C:/tools/JBoss-2.4.6_Tomcat-4.0.3/jboss/tmp/deploy/Default /campus.ear [13:12:52,671,BaseLocalContainerInvoker] Cleared method maps [13:12:52,671,JRMPContainerInvoker] Cleared method maps [13:12:52,671,BaseLocalContainerInvoker] Cleared method maps [13:12:52,671,JRMPContainerInvoker] Cleared method maps [13:12:52,671,BaseLocalContainerInvoker] Cleared method maps [13:12:52,671,JRMPContainerInvoker] Cleared method maps [13:12:52,671,BaseLocalContainerInvoker] Cleared method maps [13:12:52,671,JRMPContainerInvoker] Cleared method maps [13:12:52,671,BaseLocalContainerInvoker] Cleared method maps [13:12:52,671,JRMPContainerInvoker] Cleared method maps [13:12:52,671,BaseLocalContainerInvoker] Cleared method maps Anybody know what's the problem ? Regards Jaime Gomez --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] I am confused with JAAS
Ok, i find the url for 2.4.4, the URL is : http://localhost:8082/ViewObjectRes//Security%3Aname%3DJaasSecurityManager Thanks Scott for your pacience, I suppose that there is some way to flushAuthenticationCache throught code Jaime - Original Message - From: Scott M Stark To: [EMAIL PROTECTED] Sent: Saturday, October 05, 2002 12:02 PM Subject: Re: [JBoss-user] I am confused with JAAS You have to flush the authentication cache for the jaascampus security domain if you change users permissions and you want the change to be immeadiately reflected. Look at the flushAuthenticationCache operation in the jmx-console. The url to the JaasSecurityManager is: http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.security%3Aservice%3DJaasSecurityManager You pass in the name jaascampus to flush the cached user info for that domain. Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Correo2 To: [EMAIL PROTECTED] Sent: Wednesday, October 02, 2002 7:35 AM Subject: [JBoss-user] I am confused with JAAS Hi people, i developed one small application , which use JAAS for authetication, but i found mistake , and don't know how mend. I thought to used of the following way : I create an admin user, who gestion all user create . When i created a new user, i assigment new privilege . When a finished to create a new user, the authentication that's right, but when i delete the new user , i can still login with its profile, i suppose that the information this user stay in memory, but i don't idea of how delete. i hope their help. I use the enter "jaascampus {"in my auth.conf file, which is : // Put login modules providing authentication and realm mappings// for security domains. simple { // Very simple login module: // any user name is accepted. // password should either coincide with user name or be null, // all users have role "guest", // users with non-null password also have role "user" org.jboss.security.auth.spi.SimpleServerLoginModule required;}; // Used by clients within the application server VM such as// mbeans and servlets that access EJBs.client-login { org.jboss.security.ClientLoginModule required;}; example2 {/* A JDBC based LoginModuleLoginModule options:dsJndiName: The name of the DataSource of the database containing the Principals, Roles tablesprincipalsQuery: 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.auth.spi.DatabaseServerLoginModule required dsJndiName="java:/CampusDB" principalsQuery="select Password from Principals where PrincipalID=?" rolesQuery="select Role, RoleGroup from Roles where PrincipalID=?" unauthenticatedIdentity=nobody ;}; jaascampus {/* A JDBC based LoginModuleLoginModule options:dsJndiName: The name of the DataSource of the database containing the Principals, Roles tablesprincipalsQuery: 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.auth.spi.DatabaseServerLoginModule required dsJndiName="java:/CampusDB" principalsQuery="select clave from usuario where idusuario=?" file://rolesQuery="select rolesusuario, 'Roles' from rolesusuarios where idusuario=?" rolesQuery="select c.nombre, 'Roles' from grupo_usuario a, privilegio b, rol c where c.idrol=b.idrol and b.idgrupo = a.idgrupo and a.idusuario=?" unauthenticatedIdentity=nobody ;}; // The default server login moduleother { // A simple server login module, which can be used when the number // of users is relatively small. It uses two properties files: // users.properties, which holds users (key) and their password (value). // roles.properties, which holds users (key) and a comma-separated list of their roles (value). // The unauthenticatedIdentity property defines the name of the principal // that will be used when a null username and password are presented as is // the ca
Re: [JBoss-user] I am confused with JAAS
Hi Scott It's OK, but i am working with JBoss-2.4.4_Tomcat-3.2.3 and don't find this url in my application or by default in JBOss Regards Jaime >From: "Scott M Stark" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: [JBoss-user] I am confused with JAAS >Date: Sat, 5 Oct 2002 10:02:06 -0700 > >You have to flush the authentication cache for the jaascampus security >domain >if you change users permissions and you want the change to be immeadiately >reflected. Look at the flushAuthenticationCache operation in the >jmx-console. The url to the >JaasSecurityManager is: > >http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.security%3Aservice%3DJaasSecurityManager > >You pass in the name jaascampus to flush the cached user info for that >domain. > > >Scott Stark >Chief Technology Officer >JBoss Group, LLC > > > - Original Message - > From: Correo2 > To: [EMAIL PROTECTED] > Sent: Wednesday, October 02, 2002 7:35 AM > Subject: [JBoss-user] I am confused with JAAS > > > Hi people, i developed one small application , which use JAAS for >authetication, but i found mistake , and don't know how mend. I thought to >used of the following way : > > I create an admin user, who gestion all user create . When i created a >new user, i assigment new privilege . When a finished to create a new user, >the authentication that's right, but when i delete the new user , i can >still login with its profile, i suppose that the information this user stay >in memory, but i don't idea of how delete. i hope their help. I use the >enter "jaascampus {" > in my auth.conf file, which is : > > > // Put login modules providing authentication and realm mappings > // for security domains. > > > simple { > // Very simple login module: > // any user name is accepted. > // password should either coincide with user name or be null, > // all users have role "guest", > // users with non-null password also have role "user" > org.jboss.security.auth.spi.SimpleServerLoginModule required; > }; > > // Used by clients within the application server VM such as > // mbeans and servlets that access EJBs. > client-login { > org.jboss.security.ClientLoginModule required; > }; > > example2 { > /* 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.auth.spi.DatabaseServerLoginModule required > dsJndiName="java:/CampusDB" > principalsQuery="select Password from Principals where >PrincipalID=?" > rolesQuery="select Role, RoleGroup from Roles where PrincipalID=?" > unauthenticatedIdentity=nobody > ; > }; > > jaascampus { > /* 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.auth.spi.DatabaseServerLoginModule required > dsJndiName="java:/CampusDB" > principalsQuery="select clave from usuario where idusuario=?" > file://rolesQuery="select rolesusuario, 'Roles' from rolesusuarios >where idusuario=?" > rolesQuery="select c.nombre, 'Roles' from grupo_usuario a, >privilegio b, rol c where c.idrol=b.idrol and b.idgrupo = a.idgrupo and >a.idusuario=?" > unauthenticatedIdentity=nobody > ; > }; > > // The default server login module > other { > // A simple server login module, which can be used when the number > // of users is relatively small. It uses two properties files: > // users.properties, which holds users (key) and their password >(value). > // roles.properties, which holds users (key) and a comma-separated >list of their roles (value). > // The una
[JBoss-user] Problem with BMP
please i have the follow problem, anyone have any idea about the possible problem. [Glosario] javax.ejb.EJBException [Glosario] at org.jboss.ejb.plugins.BMPPersistenceManager.storeEntity (BMPPersistenceManager.java:352) [Glosario] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchroni zation.beforeCompletion(EntitySynchronizationInterceptor.java:342) [Glosario] at org.jboss.tm.TxCapsule.doBeforeCompletion (TxCapsule.java:1228) [Glosario] at org.jboss.tm.TxCapsule.commit(TxCapsule.java:322) [Glosario] at org.jboss.tm.TransactionImpl.commit (TransactionImpl.java:76) Jaime [Container factory] Deploying:file:/usr/java/JBoss-2.2.2_Tomcat- 3.2.2/jboss/tmp/deploy/Default/edutrab.ear [Container factory] res-jndi-name(jdbc_edutrab)does not start with java:/ and assumeJavaPrefix is true [Verifier] Verifying file:/usr/java/JBoss-2.2.2_Tomcat- 3.2.2/jboss/tmp/deploy/Default/edutrab.ear/ejb1002.jar [Verifier] Bean : Alumno Method : public abstract Alumno findByPrimaryKey(AlumnoBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Bean : Alumno Section: 9.2.9 Warning: The primary key class must override hashCode(). [Verifier] Bean : Matricula Method : public abstract Matricula findByPrimaryKey(MatriculaBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Bean : Matricula Section: 9.2.9 Warning: The primary key class must override equals(). [Verifier] Bean : Matricula Section: 9.2.9 Warning: The primary key class must override hashCode(). [Verifier] Bean : Claves Method : public abstract Claves findByPrimaryKey(ClavesBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Bean : Claves Section: 9.2.9 Warning: The primary key class must override equals(). [Verifier] Bean : Claves Section: 9.2.9 Warning: The primary key class must override hashCode(). [Verifier] Bean : Glosario Method : public abstract Glosario findByPrimaryKey(GlosarioBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Glosario: Verified. [Verifier] Bean : Curso Method : public abstract Curso findByPrimaryKey(CursoBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Curso: Verified. [Verifier] Bean : Area Method : public abstract Area findByPrimaryKey(AreaBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Bean : Area Section: 9.2.9 Warning: The primary key class must override equals(). [Verifier] Bean : Area Section: 9.2.9 Warning: The primary key class must override hashCode(). [Verifier] Bean : Tema Method : public abstract Tema findByPrimaryKey(TemaBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Bean : Tema Section: 9.2.9 Warning: The primary key class must override equals(). [Verifier] Bean : Tema Section: 9.2.9 Warning: The primary key class must override hashCode(). [Verifier] Bean : BolsaTrabajo Method : public abstract BolsaTrabajo findByPrimaryKey (BolsaTrabajoBeanPK) throws RemoteException, FinderException Section: 9.2.8 Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. [Verifier] Bean : BolsaTrabajo Section: 9.2.9 Warning: The primary key class must override equals(). [Verifier] Bean : BolsaTrabajo Section: 9.2.9 Warning: The primary key class must override hashCode(). [Verifier] Bean : Test Method : public abstract Test findByPrimaryKey(TestBeanPK) throws RemoteException
[JBoss-user] problem Jboss and Tomcat
I have the follow problem Error Query : java.lang.ClassCastException: $Proxy1 when invoque one enitity bean , since one aplication client i don't understand the message jaime ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem with Session and Enity Bean
I am test JBoss and POstgres , Setup 2 PCs with WIN95 and 4 terminal MSDOS per PC. Run my program test for realize 20,000 operation of the form follow: 20,000 insert 20,000 query 20,000 modify 20,000 query 20,000 delete when the process finishing the 20,000 query throw the message: 2:49:53 | Error Query :java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: javax.transaction.TransactionRolledbackException: null; nested exception is: java.rmi.NoSuchObjectException; nested exception is: javax.transaction.TransactionRolledbackException: null; nested exception is: java.rmi.NoSuchObjectException 2:49:53 | Error Query :java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: javax.transaction.TransactionRolledbackException: Could not activate; nested exception is: java.io.FileNotFoundException: /usr/local/JBoss-2.2.2_Tomcat-3.2.2/jboss/db/sessions/PacientController/996708976340.ser (No such file or directory); nested exception is: java.rmi.NoSuchObjectException: Could not activate; nested exception is: java.io.FileNotFoundException: /usr/local/JBoss-2.2.2_Tomcat-3.2.2/jboss/db/sessions/PacientController/996708976340.ser (No such file or directory) 2:49:53 | Error Query :java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: javax.transaction.TransactionRolledbackException: Could not activate; nested exception is: java.io.FileNotFoundException: /usr/local/JBoss-2.2.2_Tomcat-3.2.2/jboss/db/sessions/PacientController/996708976340.ser (No such file or directory); nested exception is: java.rmi.NoSuchObjectException: Could not activate; nested exception is: java.io.FileNotFoundException: /usr/local/JBoss-2.2.2_Tomcat-3.2.2/jboss/db/sessions/PacientController/996708976340.ser (No such file or directory) The source of my program is : /// import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.io.IOException; import java.rmi.RemoteException; import java.util.Enumeration; import java.util.Hashtable; import java.util.Properties; import javax.ejb.FinderException; import javax.ejb.RemoveException; import javax.naming.Context; import javax.naming.InitialContext; import javax.rmi.PortableRemoteObject; import testing.ejb.pacient.PacientControllerHome; import testing.ejb.pacient.PacientController; import testing.util.LogFile; import testing.util.CodedNames; import testing.util.PacientDetails; import testing.util.EJBGetter; // public class Testing { private static PacientControllerHome m_pacientControllerHome = null; private static PacientController m_pacientController = null; public static void main(String[] args) { float ini = (new Float(args[0])).floatValue(); float size = (new Float(args[1])).floatValue(); LogFile.openLogFile(args[2]); LogFile.log("** L I N K A P P S E R V E R **"); try { m_pacientControllerHome = EJBGetter.getPacientControllerHome(); m_pacientController = m_pacientControllerHome.create(); } catch (Exception e) { System.err.println("Cannot lookup PacientHome " +e); LogFile.log("Cannot lookup PacientHome " +e); System.exit(2); } // run Testing LogFile.log("**S T A R T T E S T I N G**"); LogFile.log("** S T A R T I N S E R T **"); runTestingInsert(ini,size); LogFile.log("** S T A R T Q U E R Y **"); runTestingQuery(ini,size); LogFile.log("** S T A R T M O D I F Y **"); runTestingModify(ini,size); LogFile.log("** S T A R T Q U E R Y **"); runTestingQuery(ini,size); LogFile.log("** S T A R T D E L E T E **"); runTestingDelete(ini,size); LogFile.log("** E N D T E S T I N G **"); } // static void runTestingInsert(float ini, float size ){ String strcodigo; String strnombre; String strapepat; String strapemat; for (float i=ini; i "
[JBoss-user] User Transaction support for JBoss?
I need know if Jboss support UserTransaction. I can use commit and rollback in my client of the same form that use in JOnas Sal. Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Config of connection Pool for Postgres
Hi people, i need to know how setup the max, min and increase of connection for postgres, i suposse that: the propertie "MaxSize" setup the max size of connection the propertie "MinSize" setup the min size of connection but i don't have idea about how setup the increase here send part of my setup jdbc_postgres jdbc:postgresql:prueba postgres postgres org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl 10 0 I hope their help Jaime "
[JBoss-user] JBoss vs JOnas - Tools of perfomance
Hi, i need to test JBoss and JOnas, i don't know any tools that permit the simulation of client, anybody know how do simulation of load for this Application Server or where i could find ahy tools for testing Sal Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss vs JOnas
Hi, i need to test JBoss and JOnas, i don't know any tools that permit the simulation of client, anybody know how do simulation of load for this Application Server or where i could find ahy tools for testing Sal Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] How by pass security ( TOMCAT - JONAS )
I test the example of JONAS by servlet, but i need to test whitout the box security, what i need to modify in the file of setup ? Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] NamingException killing me softly
ava:1628) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358) [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) [Auto deploy] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332) [Auto deploy] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [Auto deploy] at java.lang.reflect.Method.invoke(Native Method) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Auto deploy] at org.jboss.util.ServiceControl.start(ServiceControl.java:97) [Auto deploy] at java.lang.reflect.Method.invoke(Native Method) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Auto deploy] at org.jboss.Main.(Main.java:217) [Auto deploy] at org.jboss.Main$1.run(Main.java:121) [Auto deploy] at java.security.AccessController.doPrivileged(Native Method) [Auto deploy] at org.jboss.Main.main(Main.java:117) === i'm using JBoss-2.2.2_Tomcat-3.2.2, jdk1.3.1, and win98 and these are my config files jboss-web.xml === Hello ejb/Hello jboss.xml === Hello hello/Hello ejb-jar.xml === JBoss Hello jaime Sample Application Hello EJB Hello org.jbar.test.HelloHome org.jbar.test.Hello org.jbar.test.HelloBean Stateless Bean application.xml === Hello Tutorial hello.war /hello hello.jar web.xml === HelloServlet org.jbar.test.HelloServlet HelloServlet /HelloServlet home.html ejb/Hello Session org.jbar.test.HelloHome org.jbar.test.Hello after two days of this i still don't know what i'm doing wrong i hope somebody can help me here thanks a lot in advance jaime p.s. sorry for the length fo the mail __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss Remote Client
Hi, i create my home and remote interface , but not have connection a my bean , the basic example include inside of JBoss ( Interest ) is O, but only in la same machine where run el server and client, but when i put el client and another machine i have a problem and setup the file my jndi.properties of the way follow: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://200.100.10.50:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces It's posible that i am mistake Sal. Jaime > Hi, > should work, but you need home and remote interfaces for anything you access > on the client machine as well as the jboss/client jar set. > Burkhard > - Original Message - > From: "Jaime Gomez" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, July 16, 2001 11:07 PM > Subject: [JBoss-user] JBoss Remote Client > > > > It's posibble developer application Client/Server for JBoss > > I stay developer one simple aplication , but only connect in the local > > machine where run JBoss. > > Anybody could get a simple example of Client/Server that run over 2 PCs > > Please I need help > > > > my jndi.properties is: > > > > java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory > > java.naming.provider.url=jnp://200.100.10.50:1099 > > java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces > > > > JBoss support Client/Server Application ( no Web Application ) ? > > > > > > Sal. > > Jaime > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > > "
[JBoss-user] JBoss Remote Client
It's posibble developer application Client/Server for JBoss I stay developer one simple aplication , but only connect in the local machine where run JBoss. Anybody could get a simple example of Client/Server that run over 2 PCs Please I need help my jndi.properties is: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://200.100.10.50:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces JBoss support Client/Server Application ( no Web Application ) ? Sal. Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem with jar file client
I have a problem when try to run a jar file client. My jar file include : - ejb.jar - jboss-client.jar - jaas.jar - jbosssx-client.jar - jnp-client.jar - jndi.properties The message is : Exception occurred during event dispatching: java.lang.ClassFormatError: org/jnp/interfaces/NamingContextFactory (Truncated class file) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:45) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:652) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:246) at javax.naming.InitialContext.init(InitialContext.java:222) at javax.naming.InitialContext.(InitialContext.java:178) at Frame1.actionPerformed(Frame1.java:197) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (AbstractButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:378) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:250) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:216) at java.awt.Component.processMouseEvent(Component.java:3715) at java.awt.Component.processEvent(Component.java:3544) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2593) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent (Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) ** But when i run my class with java , the application run without problem Please i hope any help. Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] log4j+JBoss
Title: RE: [JBoss-user] log4j+JBoss You should be able to use log4j the same way as you do for any class. See the examples on the Log4J docs. This is my code on a state-full session bean, //*** IMPORT AS NEEDED ***// import org.apache.log4j.Category; import org.apache.log4j.PatternLayout; import org.apache.log4j.Layout; import org.apache.log4j.FileAppender; import org.apache.log4j.PropertyConfigurator; //** ON MY ejbCreate **// //set logging options try{ Layout layout = new PatternLayout("%d{HH:mm:ss,SSS}%r [%t] %c %x - %m%n"); cat.addAppender(new FileAppender(layout,"C:/temp/your.log",true)); cat.info("Started Log for EJB"); } catch(IOException e){ isDebug = false; }; _______ Paul Jaime [EMAIL PROTECTED] ___ -Original Message- From: Isidoro Fernandez Diaz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 9:03 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] log4j+JBoss Hi! I need to download log4j for JBoss... Can help me anybody? Also I need to learn how to install and to configure log4j for JBoss. Thanks folks. Bye. Isidoro Fernández Díaz mailto:[EMAIL PROTECTED] Software Engineer TELENIUM, The New Millennium Telecom Company Agustín de Foxá, 25, plta. 13 28036 MADRID Tel. +34 91 315 85 62 Fax +34 91 315 63 37 http://www.telenium.es ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user