ClassCastException
Here is the error: java.lang.ClassCastException: javax.naming.NameNotFoundException at MyBeanHome_EntityHomeWrapper10.create(MyBeanHome_EntityHomeWrapper10.java:53 7) at tourney.web.TestServlet.createTourney(TestServlet.java:39) Here is the code that causes the error(-- designates line 39): MyBeanHome mb is successfully created in the init method. Date now = new Date(); MyBean m = null; try { -- m = mb.create("mbName", "mbUserName", "mbString", "mbType", "mbGName", "mbReportType", 2, 10, 0, "mbLater", now, now, now, now); } catch(Exception e) { Exception exception = e; PrintStream errorStream = System.err; exception.printStackTrace(errorStream); } :: the create method's prototype: create( String, String, String, String, String, String, int, int, float, String, Date, Date, Date, Date) I have tried casting the create and many other things. I don't understand where the NameNotFoundException is coming from, the Home interface was already found. Any help would be appreciated. --Carl
Re: How to do this servlet-mapping?
Probably you should use /images/app/ball.gif Balazs I've tried using the servlet-mapping of /app/* and pointing this to the servlet. While this makes requests go to the servlet, if, within that servlet, I try to get a request dispatcher to /app/ball.gif and forward there, I get back into the servlet again , presumably because /app/ball.gif maps to the servlet. This, of course, creates an recursive infinite loop and soon the server dies. One alternative that might work, but seems somehow "wrong" to me is to name every action in the web.xml file, e.g. individually map /app/login, /app/logout, /app/dothis, /app/dothat, etc. and then have /app/* for all other resources. I'd like to avoid this particular solution. Any bright ideas?
Re: Why Entity EJBs?
Hello Juan, What you are seeing is most likely people who have subscribed some time ago forgot about it and now start receiving mail due to the fixed mail problem as of yesterday (see other thread). Could that be it? /Magnus Stenman, the Orion team - Original Message - From: "Juan Lorandi (Chile)" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 1:01 AM Subject: RE: Why Entity EJBs? somebody suscribed a whole lotta of criticalmass people to this list; can't we have a subscribe/unsubscribe confirmation?? JP -Original Message- From: Carla Marcyniuk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 5:53 PM To: Orion-Interest Subject: RE: Why Entity EJBs? Please take me off this list as I have no interest in this conversation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi (Chile) Sent: Tuesday, March 20, 2001 12:11 PM To: Orion-Interest Subject: RE: Why Entity EJBs? I'm using EJB 1.1 CMP; It gives me as much DB independence as I need. I have to rewrite some finders when porting from DB to DB; hopefully EQL will remove this burden too. Orion performs caching of instances, check out exclusive-write-access and validity-timeout atrributes for entity-deployment tag in orion-ejb-jar.xml. However, if you have a distributed environment, cache's like the one in Orion are a threat to data integrity-- so they *must* be deactivated. Also, an orion-dependant feature, the boolean isModified(), which in WLS is called boolean isDirty(), plus a correct use of declarative transactions allow to minimize the impact on the DB. I believe CMP is the way to go, but it is very much server-dependant. The (apparent) poor performance of CMP is due to the need for this solution to address many things we all want from the server, such as data integrity, distribution across hosts of the business logic, declarative transactions and security. There's a price inherent to all this features, and the larger the spec, the higher the price we all must pay, basically, by leveling down. MS's single vendor approach actually levels up, but when they don't have the answers pre-packaged, all crumbles down and somehow we(as developers) must pay for the loses. Eventually, the servers *will* perform as expected, but until the spec matures, we will be stuck with some minor problems. I'm now living in Chile, and the budgets are pretty tight here, but still, the customer'd rather pay for an extra box to scale up than to pay extra to the programmers to do a more optimized job and scale out. I'm aware that this is vastly simplifying the issue, but the point still stands. Perhaps the true problem is that we, all the J2EE developer community, are pushing it too far *and* too broad. This is what happened with CORBA, leaving us with very little common ground. Some servers implement mor of the spec, some less. Some scale(but forbid Singleton's, for instance) and some don't. And there is no single way of making two OTS from two different vendors to cooperate. CORBA was even taller than the Everest, so nobody climbed it. Of course, I also have those rush moments where I wonder why I quitted my older job, but that's definitely not the time to contribute to anything. My 2c, JP -Original Message- From: Jeff Schnitzer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 1:31 PM To: Orion-Interest Subject: RE: Why Entity EJBs? I also am questioning entity beans, after 5 months of intensive development with them. If you run Hypersonic in server mode and watch the sql output to the console, it should be readily apparent why... CMP produces *WAY* too many queries for fine-grained entity beans. The biggest problem is finder methods. Since all beans are lazy-loaded, iterating through the finder results of 1000 beans will produce 1001 SQL calls. There isn't any reason specwise that beans cannot be eager-loaded, but few (if any) appservers seem to support this. Does anyone know if there is any support for eager-loading of finder results in Orion? There doesn't appear to be from the documentation. I'm really disappointed in the entity bean concept. CMP should give us faster development times, faster code (with caching), and database independence, but at the moment we get *none* of the above. By stating in the blueprints that entity beans should only model course-grained objects and _not_ "one row of the table" they are effectively saying DO NOT USE CMP, because what is a CMP bean if not one row of a table? I noticed that most of the new J2EE patterns Sun recently posted are aimed at BMP. Sun's schizophrenia on this really pisses me off;
Friends!!!!
hi Friends, enjoy this Friendship Greeting Card!!! CH.Srinivas Babu
Setting up a secure site using SSL
Hi I have been following the how-to "Setting up a secure site using ssl" on Win2k + jdk 1.3 + Orion 1.4.0 I made steps 1 and 2 from this how-to, but when I started Orion server, i received following error: Error starting HTTP-server: Unable to initialize SSLServerSocketFactory 'com.evermind.ssl.JSSESSLServerSocketFactory': Invalid keystore format I generated the keystore successfully. The my.site.cer file (keystore) is in $/orion/config folder. Here is secure-web-site.xml: web-site host="[ALL]" secure="true" display-name="Default Orion WebSite" !-- The default web-app for this site, bound to the root -- ssl-config keystore="my.site.cer" keystore-password="123456" / default-web-app application="default" name="defaultWebApp" / !-- Uncomment this to activate the news app -- !-- web-app application="news" name="news-web" root="/news" / -- !-- Access Log, where requests are logged to -- access-log path="../log/default-web-access.log" / /web-site Also, i have modified server.xml as shown in SSL-how-to. where can be the problem? thank you Marian Ventuneac [EMAIL PROTECTED] __ Do you want a free e-mail for life ? Get it at http://www.personal.ro/
RE: Friends!!!!
What the hell are you talking about :) -Original Message- From: srinivas [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 10:28 To: Orion-Interest Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Ramesh Naidu M.; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Friends hi Friends, enjoy this Friendship Greeting Card!!! CH.Srinivas Babu .
Re: Bug in deployment descriptor?!
Hi Nevin, Databases will have their own list of keywords that you can't use as attribute names and "password" is generaly one of them. The database schema contains this list and its behaviour is such that the illegal keywords will be appended by the "_" character. Check out $ORIONDIR/config/database-schemas for your particular database. Cheers Ray --- Nevin Ng [EMAIL PROTECTED] wrote: Hi, I wonder if you have met this situation before, I trying to deploy an entity bean with one of the field named "password". I have write the corresponding orion-ejb-jar.xml for the persistence mapping within database. Everything seems fine, the xml in the application-deployment directory is correct. Until the whole deployment is done, which orion compiled all the generated files, the seems to be correct orion-ejb-jar.xml has been updated with the "password" field mapping becomes "password_". Is this a bug or just my problem?! I have tried all the ways and nothing can stop orion change the from "password" to "password_"! When I change the mapping to something else such as "blahblahblah" its ok, but not "password". I really confused about this strange behavior Regards, Nevin Ng __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
bad timestamp confusion
Just like other people in the newsgroup, I am receiving a bad timestamp error once in a while with Postgres 7.0. I looked in the newsgroup and saw some possible solutions, but I am a bit confused. How can I solve this problem for ever in case of a DateTime field ??? Someone talked about using java.sql.Date instead of java.util.Date, the other about getting the last postgres jdbc driver I got the last postgres driver from the postgres site, so what should I do ?? I was thinking about just using Strings to store Date format info. What about this ? And what should I do when I get such an error. Filling the database all over again helps. But what, when I have everyting ready online ?? Regards, Eddie
How To: orion shows selfmade openssl client certificates
Problem: Client Certificates made by openssl, are not listed in the certificate dialog box of the browser (especially IE). Reason: ¯¯¯ If you contact the secure Orionserver with Client-Authentication needed, you get a list of allowed DN-Strings in the Form: --- Acceptable client certificate CA names /C=DE/ST=Germany/L=Koeln/O=ixmid Software Technologie GmbH/OU=Certificate Authority/CN=ixmid [EMAIL PROTECTED] /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte/OU=Certificate Services/CN=Personal Freemail RSA 2000.8.30 --- you can verify this with: openssl s_client -connect localhost:443 -prexit The Browser (specially: IE) searches for all Client Certficates with this Issuers In your local Client Certificate you will find an Issuer-entry like E = [EMAIL PROTECTED] CN = factory.ixmid.com OU = Certficate Factory O = ixmid Software Technologie GmbH L = Koeln S = NRW C = DE So you get an mismatch between "E=" and "Email=" and the browser can't find your client certificate All Thawte/Verisign-Certificates work, because these issuers doesn't have an "Email"-entry. Simple Solution: Your CA shouldn't have an Email-entry. Make a new CA without it. Better Solution: orion should reply the "Acceptable client certificate CA names" with E= instead of Email= I hope this helps. Matthias Schmitt --- ixmid Software Technologie GmbH [EMAIL PROTECTED] http://www.ixmid.com Eichendorffstr. 32 50825 Köln
FW: postman
Title: FW: postman -Original Message- From: Amit Cahanovich [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 2:54 PM To: Adi Turgeman; Blabash (E-mail); Litman (E-mail); Ronit (E-mail); Shiri (E-mail); Uri (E-mail) Subject: FW: postman -Original Message- From: Ran Shasha Sent: Wednesday, March 21, 2001 2:49 PM To: Adi Turgeman; Amit Cahanovich; Amram Zada; Asaf Dagai; Ayala Ratzon; Bat-Ela Levi; Daniel Hughes-Games; Eran Bek; Maayan Hilbuch; Sagit Bitran; Shani Shacham; Tzafrir Moskovitch; Yonit Sosner Subject: FW: postman ran s. tel:09-7763076 -Original Message- From: Eitan Pinkert Sent: Wednesday, March 21, 2001 1:55 PM To: Ran Shasha; Nirit Ben Yoseph; 'Allan'; 'Clarice Kirszerg'; Dafna Dina Nuss; 'Gabi'; 'Meril'; 'Moishik'; 'shlomi margalit'; 'Yoav' Subject: FW: postman -Original Message- From: Keren Bdolach [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 1:42 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: FW: postman
RE: Friends!!!!
Are you talking about the friendship greeting card where everyone gets a $1000 US savings bond? If so, most of us didn't get it in the first mailing. Could you please resend it? -Original Message- From: John Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 5:36 AM To: Orion-Interest Subject: RE: Friends What the hell are you talking about :) -Original Message- From: srinivas [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 10:28 To: Orion-Interest Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Ramesh Naidu M.; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Friends hi Friends, enjoy this Friendship Greeting Card!!! CH.Srinivas Babu .
Re: Bug in deployment descriptor?!
Thanks Mikko (san?) :P - Original Message - From: "Mikko Kurki-Suonio" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 2:31 PM Subject: Re: Bug in deployment descriptor?! On Wed, 21 Mar 2001, Nevin Ng wrote: I wonder if you have met this situation before, I trying to deploy an entity bean with one of the field named "password". I have write the corresponding orion-ejb-jar.xml for the persistence mapping within database. Everything seems fine, the xml in the application-deployment directory is correct. Until the whole deployment is done, which orion compiled all the generated files, the seems to be correct orion-ejb-jar.xml has been updated with the "password" field mapping becomes "password_". Is this a bug or just my problem?! It's supposed to act this way, because "password" is in the "disallowed field names" list. You should only need to care about this if you've pregenerated the tables manually (and the forbidden list is in fact in error). //Mikko
RE: Setting up a secure site using SSL
It looks like you need to change the line ssl-config keystore="my.site.cer" keystore-password="123456" / Unless you happened to name the keystore the same as your cert file. if you used the line from the how to "keytool -genkey -keyalg "RSA" -keystore keystore -storepass 123456 -validity 360 " to create the Keystore Then you need to change the line to ssl-config keystore="keystore" keystore-password="123456" / Hope this Helps Rich -Original Message- From: Ventuneac Marian-Romeo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 5:30 AM To: Orion-Interest Subject: Setting up a secure site using SSL Hi I have been following the how-to "Setting up a secure site using ssl" on Win2k + jdk 1.3 + Orion 1.4.0 I made steps 1 and 2 from this how-to, but when I started Orion server, i received following error: Error starting HTTP-server: Unable to initialize SSLServerSocketFactory 'com.evermind.ssl.JSSESSLServerSocketFactory': Invalid keystore format I generated the keystore successfully. The my.site.cer file (keystore) is in $/orion/config folder. Here is secure-web-site.xml: web-site host="[ALL]" secure="true" display-name="Default Orion WebSite" !-- The default web-app for this site, bound to the root -- ssl-config keystore="my.site.cer" keystore-password="123456" / default-web-app application="default" name="defaultWebApp" / !-- Uncomment this to activate the news app -- !-- web-app application="news" name="news-web" root="/news" / -- !-- Access Log, where requests are logged to -- access-log path="../log/default-web-access.log" / /web-site Also, i have modified server.xml as shown in SSL-how-to. where can be the problem? thank you Marian Ventuneac [EMAIL PROTECTED] __ Do you want a free e-mail for life ? Get it at http://www.personal.ro/
Setting up a secure site using SSL
I forgot in the first reply that you need either the Absolute or Relative path to the keystore It looks like you need to change the line ssl-config keystore="my.site.cer" keystore-password="123456" / Unless you happened to name the keystore the same as your cert file. if you used the line from the how to "keytool -genkey -keyalg "RSA" -keystore keystore -storepass 123456 -validity 360 " to create the Keystore Then you need to change the line to ssl-config keystore="./keystore" keystore-password="123456" / Hope this Helps Rich -Original Message- From: Ventuneac Marian-Romeo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 5:30 AM To: Orion-Interest Subject: Setting up a secure site using SSL Hi I have been following the how-to "Setting up a secure site using ssl" on Win2k + jdk 1.3 + Orion 1.4.0 I made steps 1 and 2 from this how-to, but when I started Orion server, i received following error: Error starting HTTP-server: Unable to initialize SSLServerSocketFactory 'com.evermind.ssl.JSSESSLServerSocketFactory': Invalid keystore format I generated the keystore successfully. The my.site.cer file (keystore) is in $/orion/config folder. Here is secure-web-site.xml: web-site host="[ALL]" secure="true" display-name="Default Orion WebSite" !-- The default web-app for this site, bound to the root -- ssl-config keystore="my.site.cer" keystore-password="123456" / default-web-app application="default" name="defaultWebApp" / !-- Uncomment this to activate the news app -- !-- web-app application="news" name="news-web" root="/news" / -- !-- Access Log, where requests are logged to -- access-log path="../log/default-web-access.log" / /web-site Also, i have modified server.xml as shown in SSL-how-to. where can be the problem? thank you Marian Ventuneac [EMAIL PROTECTED] __ Do you want a free e-mail for life ? Get it at http://www.personal.ro/
applicationClientInitialContextFactory problem
I am trying to use authentication based on principals.xml I am in an applet, and run the following: env = new Hashtable(); env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.ApplicationClientInitialContextFactory"); String purl = "ormi://" + getCodeBase().getHost() + "/cems-pm"; env.put(javax.naming.Context.PROVIDER_URL, purl); context = new InitialContext(env); Orion prompts with a login window. If I enter an incorrect user/pwd, I catch a security exception. I re-run the same code assuming orion will prompt again with login window. It does not, I catch a security exception with invalid user/pwd, which is the original wrong entry. Is this a bug, or am I supposed to reset something in my environment? My context == null so I cannot work with it. I need to be able to reprompt the user for correct user/pwd and get a correct context. Any help is appreciated, thanx Mike -- ## Michael Weissman e-mail: [EMAIL PROTECTED] Clarent Corporation 303-734-5003 Fax 303-734-4244 1221 W. Mineral Ave. Littleton, Co 80120 In the land of the dark, the ship of the sun is drawn by the grateful dead -- Egyptian Book of the Dead ##
Is there a solution to JAXP 1.1? ORION WON'T START!!!
I searched the list, and people have experienced this problem (like myself), but no word from Orion. Ideas? If you try to get Orion working with this latest release from Sun, Orion won't start: G:\orionjava -jar orion.jar java.lang.NoSuchMethodError at org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139) at org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.j ava:463) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499) at org.apache.crimson.parser.Parser2.parse(Parser2.java:304) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1 79) at com.evermind.xml.e.getJavaxDocument(JAX) at com.evermind.xml.XMLUtils.getDocument(JAX) at com.evermind.xml.XMLConfig.ay(JAX) at com.evermind.xml.XMLConfig.ay(JAX) at com.evermind.server.g6.run(JAX) at java.lang.Thread.run(Unknown Source) at com.evermind.util.f.run(JAX) I don't think it's a hard thing to fix and it is a critical bug if you need the latest stuff. Did anybody figure this out? Regards, -arnox
RE: What versions of Postgres are people using?
I'm using Postgresql 7.0.3 on RH7 with pleasant results (except the JDBC driver's timstamp issue). I don't serialize any objects as BLOBs though. Why do you want to do this? Jeff -Original Message- From: Julian Richardson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 7:28 AM To: Orion-Interest Subject: What versions of Postgres are people using? Hi, Following on from my earlier questions about alternatives to Hypersonic, a few people recommended Postgres. Well, I'd been meaning to try Postgres generally for a long time anyway, so downloaded the latest version from the site (703) and installed it. Orion wouldn't run with it, complaining about lack of binary object support (fair enough given that looking inthe JDBC source reveals that it's not implemented in 703!). Thing is, I was talking to the guy who wrote the Postgres drivers and it sounds like there was no stream support in 6.5 either; this is new in 7.1 (which isn't released yet). But Orion must require the use of somthing like this to store serialized data, surely? So what are the people on the list who use Postgres actually using? Have you patched the JDBC drivers to work, or did someone release patched 6.5 drivers for Postgres which everyone's installed? Or have you modified Orion to serialize data using some other mechanism to the default? I imagine most people on the list are using 6.5 rather than 7.0.3? Confusing, to say the least... cheers Jules
RE: bad timestamp confusion
Take a look at this message I posted in January: http://www.mail-archive.com/orion-interest@orionserver.com/msg08677.html If you patch the JDBC driver to read whatever format your dates are coming back as (you should see the actual formatted date string in the exception message), you should be ok. You might first check the CVS copy of the JDBC driver to see if it works; with any luck patches have already been made. Storing dates as strings just seems like a bad idea. It's nice to be able to do date math in SQL queries when you want to analyze your data. Jeff -Original Message- From: Eddie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 4:55 AM To: Orion-Interest Subject: bad timestamp confusion Just like other people in the newsgroup, I am receiving a bad timestamp error once in a while with Postgres 7.0. I looked in the newsgroup and saw some possible solutions, but I am a bit confused. How can I solve this problem for ever in case of a DateTime field ??? Someone talked about using java.sql.Date instead of java.util.Date, the other about getting the last postgres jdbc driver I got the last postgres driver from the postgres site, so what should I do ?? I was thinking about just using Strings to store Date format info. What about this ? And what should I do when I get such an error. Filling the database all over again helps. But what, when I have everyting ready online ?? Regards, Eddie
Re: Is there a solution to JAXP 1.1? ORION WON'T START!!!
I did enter a request for support of JAXP 1.1 in Bugzilla yesterday (ID 369). Magnus Stenman declared it soon thereafter as an invalid request as their latest internal builds already use JAXP 1.1. It will be released with the next version (1.4.8). Karl Avedal mailed me yesterday that this release can be expected in a few days. Ate Douma - Original Message - From: "Arno Grbac" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 18:12 Subject: Is there a solution to JAXP 1.1? ORION WON'T START!!! I searched the list, and people have experienced this problem (like myself), but no word from Orion. Ideas? If you try to get Orion working with this latest release from Sun, Orion won't start: G:\orionjava -jar orion.jar java.lang.NoSuchMethodError at org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139) at org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.j ava:463) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499) at org.apache.crimson.parser.Parser2.parse(Parser2.java:304) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1 79) at com.evermind.xml.e.getJavaxDocument(JAX) at com.evermind.xml.XMLUtils.getDocument(JAX) at com.evermind.xml.XMLConfig.ay(JAX) at com.evermind.xml.XMLConfig.ay(JAX) at com.evermind.server.g6.run(JAX) at java.lang.Thread.run(Unknown Source) at com.evermind.util.f.run(JAX) I don't think it's a hard thing to fix and it is a critical bug if you need the latest stuff. Did anybody figure this out? Regards, -arnox
FW: [hsql-user] New Project Formed at SourceForge
For those interested in Hypersonic SQL, here is some encouragement from their user mailing lists. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 1:28 PM To: [EMAIL PROTECTED] Subject: [hsql-user] New Project Formed at SourceForge Thanks to everyone who emailed me with encouragement! It looks like there are more than a few people who want to see the project live... I have set up a new project at SourceForge for the HSQL Database Engine (Our new name). It will take a bit to get it set up, but it is at http://sourceforge.net/projects/hsqldb/. I'm working on the source code, trying to incorporate what changes I had made, and what patches people have sent me. If you've got any patches you would like to submit, email them to me directly until I get a little further along with setting up the SourceForge page. I'm going to concentrate more on the code until we have something to release, then I'll do more with the site. I would also like to see if anyone wants to volunteer as a second Admin. I don't want to see the project be without a leader again if I should lose interest, and having several people involved makes that less likely. ___ hsql-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/hsql-user
RE: bad timestamp confusion
The problem seemed to have gone away when I tried the PostgreSQL 7.1b5 driver. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie Sent: Wednesday, March 21, 2001 4:55 AM To: Orion-Interest Subject: bad timestamp confusion Just like other people in the newsgroup, I am receiving a bad timestamp error once in a while with Postgres 7.0. I looked in the newsgroup and saw some possible solutions, but I am a bit confused. How can I solve this problem for ever in case of a DateTime field ??? Someone talked about using java.sql.Date instead of java.util.Date, the other about getting the last postgres jdbc driver I got the last postgres driver from the postgres site, so what should I do ?? I was thinking about just using Strings to store Date format info. What about this ? And what should I do when I get such an error. Filling the database all over again helps. But what, when I have everyting ready online ?? Regards, Eddie
Re: bad timestamp confusion
Thanks Jeff, H, I am a bit confused, again. I went searching for the correct postgres jdbc driver, and don't know exactly where to get the last version and source (I thought I did). I seached on http://jdbc.postgresql.org/download/ but is that the correct site ? and where can I get the source as I can't find it. I searched on http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/interfaces/jdbc/, but there I only have a complete three and don't realy know what to download. Regards, Ed Bras - Original Message - From: Jeff Schnitzer [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 8:08 PM Subject: RE: bad timestamp confusion Take a look at this message I posted in January: http://www.mail-archive.com/orion-interest@orionserver.com/msg08677.html If you patch the JDBC driver to read whatever format your dates are coming back as (you should see the actual formatted date string in the exception message), you should be ok. You might first check the CVS copy of the JDBC driver to see if it works; with any luck patches have already been made. Storing dates as strings just seems like a bad idea. It's nice to be able to do date math in SQL queries when you want to analyze your data. Jeff -Original Message- From: Eddie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 4:55 AM To: Orion-Interest Subject: bad timestamp confusion Just like other people in the newsgroup, I am receiving a bad timestamp error once in a while with Postgres 7.0. I looked in the newsgroup and saw some possible solutions, but I am a bit confused. How can I solve this problem for ever in case of a DateTime field ??? Someone talked about using java.sql.Date instead of java.util.Date, the other about getting the last postgres jdbc driver I got the last postgres driver from the postgres site, so what should I do ?? I was thinking about just using Strings to store Date format info. What about this ? And what should I do when I get such an error. Filling the database all over again helps. But what, when I have everyting ready online ?? Regards, Eddie
EJB Clustering HOWTO
Hello, all. I posted 1 month ago today pleading for information on EJB Clustering in Orion... otherwise my company was moving on to another app server. My original message is here: http://www.mail-archive.com/orion-interest@orionserver.com/msg10299.html Well we moved on (to WebLogic -yuch) but I've kept my tabs on the mailing list, in hope of a progression. Magnus wrote the following in reply: http://www.mail-archive.com/orion-interest@orionserver.com/msg10329.html And he mentions an EJB Clustering HOWTO -- or something along those lines... to be released in "roughly a week or so"... I have to admit that I smirked when I originally read that estimate.. because that was the same thing said for the ORIGINAL Clustering document that I (and Kevin Duffey) repeatedly requested. Weeks turned into months. But I'm curious, what is the status on this? What's the latest ETA on the new and improved clustering HOWTO? WebLogic is giving us Headaches, and we want to come home ;) Dylan Parker
killing a session
how do u kill a session ?? :D The contents of this email are confidential. If you are not the intended recipient, you must not disclose, copy or use the contents in any way. If you have received this email in error, please delete it and notify us immediately by return email. It is the recipient's responsibility to screen this message and any attachments for computer viruses. Any views expressed in this email are not to be taken as the views of the company or any related business entity unless expressly stated to the contrary.
ASP config + clustering
dear all, is there a way to get the server.xml defined application "name" attribute? after following a previous post, i can get the application.xml display-name value but this is not quite what i need. the plan is to be able to deploy multiple copies of the same application for different clients, and have an initServlet read in the application name to determine where the config files live. e.g. client1 = read in \\someMachine\config\client1\config.xml client2 = read in \\someMachine\config\client2\config.xml this way, if i have to cluster client1, then there's only ever a single copy of their config information on the network and i don't have to duplicate it per orion installation. i'm also thinking of putting the web-site.xml files for each client in their own config directory to further reduce duplication of config details that would appear if you do clustering. i'd also like to avoid having to alter servlet initialisation parameters or anything in application.xml when deploying the app for a new client, but would consider these as a last resort. thanks, greg.
RE: bad timestamp confusion
There are instructions for obtaining the latest source tree via anonymous CVS here: http://www.postgresql.org/devel-corner/docs/postgres/cvs.html Just get the whole thing :-) There are instructions for building the JDBC driver in the README file in the directory you found. Good luck, Jeff -Original Message- From: Eddie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 1:56 PM To: Orion-Interest Subject: Re: bad timestamp confusion Thanks Jeff, H, I am a bit confused, again. I went searching for the correct postgres jdbc driver, and don't know exactly where to get the last version and source (I thought I did). I seached on http://jdbc.postgresql.org/download/ but is that the correct site ? and where can I get the source as I can't find it. I searched on http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/interfaces/j dbc/, but there I only have a complete three and don't realy know what to download. Regards, Ed Bras - Original Message - From: Jeff Schnitzer [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 8:08 PM Subject: RE: bad timestamp confusion Take a look at this message I posted in January: http://www.mail-archive.com/orion-interest@orionserver.com/msg0 8677.html If you patch the JDBC driver to read whatever format your dates are coming back as (you should see the actual formatted date string in the exception message), you should be ok. You might first check the CVS copy of the JDBC driver to see if it works; with any luck patches have already been made. Storing dates as strings just seems like a bad idea. It's nice to be able to do date math in SQL queries when you want to analyze your data. Jeff -Original Message- From: Eddie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 4:55 AM To: Orion-Interest Subject: bad timestamp confusion Just like other people in the newsgroup, I am receiving a bad timestamp error once in a while with Postgres 7.0. I looked in the newsgroup and saw some possible solutions, but I am a bit confused. How can I solve this problem for ever in case of a DateTime field ??? Someone talked about using java.sql.Date instead of java.util.Date, the other about getting the last postgres jdbc driver I got the last postgres driver from the postgres site, so what should I do ?? I was thinking about just using Strings to store Date format info. What about this ? And what should I do when I get such an error. Filling the database all over again helps. But what, when I have everyting ready online ?? Regards, Eddie
RE: killing a session
HttpSession ses = request.getSession(true); ses.invalidate(); Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Fernando DeLeon Sent: Wednesday, March 21, 2001 6:28 PM To: Orion-Interest Subject: killing a session how do u kill a session ?? :D
Save principal.xml
Hi. I try to use the XMLUserManager. I can read my principal.xml and get all the groups and all the users from my principal.xml. I create new users and add them. They does exists but only in memory. But now I want to save the new users. Nothing happens when I call manager.store(). principal.xml is the same. Anyone has any idea what I do wrong and how I should do. XMLUserManager manager = (XMLUserManager)context.getAttribute("user.manager"); if(manager instanceof XMLUserManager) System.out.println("OK!"); Group gr = manager.getGroup("p_users"); User user = manager.createUser( req.getParameter("j_username"), req.getParameter("j_password")); user.addToGroup(gr); manager.update(); manager.store(); // This does nothing!! Best regards Tomas __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/