orion 1.4.8 bug
I have several ejb 2.0 beans. I get the following error when deploying them (did not exist in 1.4.7): Error in application hermes: Error loading package at file:/opt/orion/applications/hermes/administratorEjb.jar, abstract-schema-name not specified for entity 'TheCompanySettings', it must be specified for EJB 2.0 style CMP beans Yet in the ejb 2.0 dtd it states that abstract-schema-name does not need to exist. Any one else have this problem? do I need to fill out a bugzilla. mattba
Re: Castor and Orion (transactions)
Rick, First thing you need to do is make sure your EJB implements the SessionSynchronization interface. That is, the class declaration for your EJB class should include "implements SessionSynchronization". The second thing you're going to need to do is change your EJB from stateless to stateful. Session synchronization isn't allowed on stateless EJBs. This makes sense, because without any state, your transaction callbacks wouldn't know what data to operate on. - Original Message - From: "Rick Yoder" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, April 23, 2001 7:24 PM Subject: Castor and Orion (transactions) > > I'm attempting to use Castor as my persistence layer > inside Orion. In order for Castor to work properly, > it needs to be informed of the transaction boundaries. > The way it does this is by implementing the > javax.transaction.Synchronization and registering > with the transactons when they started. It does this > with code similar to the following: > > InitialContext ctx = new InitialContext(); > javax.transaction.TransactionManager tm = > (javax.transaction.TransactionManager)ctx.lookup("java:comp/UserTransaction" ); > javax.transaction.Transaction tx = tm.getTransaction(); > tx.registerSynchronization(); > > This code appears to be working as I've added some debug code > to Castor to make sure the call to registerSynchronization() is > returning. However, Orion is never calling any of the > Synchronization methods, so Castor is never persiting any > of the data. My question is: > > 1. Is this a bug in Orion? > 2. Is there an Orion configuration parameter that I have to >set to tell it to call back the registerred Synchronization >instances? > 3. Is this the proper way to register with Orion to be notified >of transaction bounndaries? I know there is the >javax.ejb.SessionSynchronization interface for Session >beans to be notified of Transaction boundaries, however >there is no way right now for me to do this inside Castor. > > A few more notes on my implementation: > - I am using Stateless Session Beans > - Each method of the bean is setup to use Container managed > transactions with a TX_REQUIRED attribute. I know that I Orion > is creating the transaction, because the registerSynchronization > code above is working. > > Any help would be appreciated for as of now, I do not know how to > use Castor with Orion. > > Thanks, > Rick Yoder >
Castor and Orion (transactions)
I'm attempting to use Castor as my persistence layer inside Orion. In order for Castor to work properly, it needs to be informed of the transaction boundaries. The way it does this is by implementing the javax.transaction.Synchronization and registering with the transactons when they started. It does this with code similar to the following: InitialContext ctx = new InitialContext(); javax.transaction.TransactionManager tm = (javax.transaction.TransactionManager)ctx.lookup("java:comp/UserTransaction"); javax.transaction.Transaction tx = tm.getTransaction(); tx.registerSynchronization(); This code appears to be working as I've added some debug code to Castor to make sure the call to registerSynchronization() is returning. However, Orion is never calling any of the Synchronization methods, so Castor is never persiting any of the data. My question is: 1. Is this a bug in Orion? 2. Is there an Orion configuration parameter that I have to set to tell it to call back the registerred Synchronization instances? 3. Is this the proper way to register with Orion to be notified of transaction bounndaries? I know there is the javax.ejb.SessionSynchronization interface for Session beans to be notified of Transaction boundaries, however there is no way right now for me to do this inside Castor. A few more notes on my implementation: - I am using Stateless Session Beans - Each method of the bean is setup to use Container managed transactions with a TX_REQUIRED attribute. I know that I Orion is creating the transaction, because the registerSynchronization code above is working. Any help would be appreciated for as of now, I do not know how to use Castor with Orion. Thanks, Rick Yoder
Re: Orion CLASSPATH
I beleive that orion.jar has a classpath set in the manifest file. Take a look at "manifest.mf" in the orion jar. Mike - Original Message - From: "Kemp Randy-W18971" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, April 23, 2001 12:00 PM Subject: RE: Orion CLASSPATH > I believe it is internally setting it. When I transported the Orion and > Orion Primer examples (www.jollem.com) to Jboss (www.jboss.org) as a > learning exercise, I had to define the package settings externally in my > classpath for jboss. For Orion, I didn't have to do this, but I don't know > what's really going on under the hood. > > -Original Message- > From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 23, 2001 11:30 AM > To: Orion-Interest > Subject: Orion CLASSPATH > > > Hello all! > > Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it > is building > its own or adding to mine simply because it knows how to find certain > jars that I have not specified anywhere. > > Any info appreciated... > > -- > > Geoffrey W. MarshallDirector of Development > --- > t e r r a s c o p ephone (415) 951-4944 > 54 Mint St #110 direct (415) 625-0349 > San Francisco, CA 94103 fax (415) 625-0306 > --- >
RE: Orion CLASSPATH
The orion jar is using the jar extension mechanism. If you look at orion.jar's manifest, you'll see what jars are being added to the classpath automatically. You can read more about the jar extension mechanism on Sun's site. Andre -Original Message- From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 10:30 AM To: Orion-Interest Subject: Orion CLASSPATH Hello all! Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it is building its own or adding to mine simply because it knows how to find certain jars that I have not specified anywhere. Any info appreciated... -- Geoffrey W. MarshallDirector of Development --- t e r r a s c o p ephone (415) 951-4944 54 Mint St #110 direct (415) 625-0349 San Francisco, CA 94103 fax (415) 625-0306 ---
Re: Orion CLASSPATH
Hello Geoffrey, from the orion.jar manifest, the classpath is: xerces.jar ejb.jar jndi.jar jdbc.jar jta.jar parser.jar jaxp.jar xalan.jar tools.jar jsse.jar jnet.jar jcert.jar activation.jar mail.jar saxon.jar After that comes (globally) $(ORIONHOME)/lib and inside each app $(APPHOME)/$(EJB-MODULES) $(APPHOME)/$(WEB-MODULES)/WEB-INF/lib $(APPHOME)/$(WEB-MODULES)/WEB-INF/classes The order in the EJB-MODULES and WEB-MODULES is something I haven't defined yet. Hope this help. Monday, April 23, 2001, 12:29:31 PM, you wrote: GM> Hello all! GM> Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it GM> is building GM> its own or adding to mine simply because it knows how to find certain GM> jars that I have not specified anywhere. GM> Any info appreciated... GM> -- GM> Geoffrey W. MarshallDirector of Development GM> --- GM> t e r r a s c o p ephone (415) 951-4944 GM> 54 Mint St #110 direct (415) 625-0349 GM> San Francisco, CA 94103 fax (415) 625-0306 GM> --- -- Best regards, Rafaelmailto:[EMAIL PROTECTED]
Re: Orion CLASSPATH
At 09:29 23.04.2001 , you wrote: >Hello all! > >Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it >is building >its own or adding to mine simply because it knows how to find certain jars >that I have not specified anywhere. > >Any info appreciated... do yourself a favour and read up on jars and manifest headers, especially the class-path header (which orion uses). IMHO you are shooting yourself in the foot not knowing or using it. in most cases working with a classpath is plain bs especially in development environments where you frequently use different combinations/versions of libs. HTH. regards, robert >-- > >Geoffrey W. MarshallDirector of Development >--- >t e r r a s c o p ephone (415) 951-4944 >54 Mint St #110 direct (415) 625-0349 >San Francisco, CA 94103 fax (415) 625-0306 >--- > (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Problem accessing EJB from client
Hi, I am successfully accessing my Session Bean from my servlets (servlet and EJB are packaged in an EAR). Context ctx = new InitialContext(); Object ref = ctx.lookup("UserManager"); UserManagerHome home = (UserManagerHome)PortableRemoteObject.narrow (ref,user.ejb.UserManagerHome.class); UserManager userManager = home.create(); I would like now to access the EJB another client (another JVM). My client is initialized like this: ht.putContext.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory"); ht.put(Context.PROVIDER_URL, "ormi://localhost/"); ht.put(Context.SECURITY_PRINCIPAL, "admin"); ht.put(Context.SECURITY_CREDENTIALS, "admin"); Context ctx = new InitialContext( ht ); But when I do: Object ref = ctx.lookup("UserManager"); I have : [junit] BEFORE LOOKUP [junit] javax.naming.NameNotFoundException: UserManager not found [junit] at com.evermind.server.rmi.RMIContext.lookup(JAX) [junit] at javax.naming.InitialContext.lookup(InitialContext.java:350) Is there something obvious I am missing ?? Thanks, Olivier
RE: Orion CLASSPATH
Have a look at META-INF/MANIFEST.MF inside orion.jar, and you'll see Orion's classpath. Orion uses its own set of classloaders, which have nice features like automatically picking up any jar/zips from orion/lib, so you just drop things in there and they work. On Mon, 23 Apr 2001, Kemp Randy-W18971 wrote: > I believe it is internally setting it. When I transported the Orion and > Orion Primer examples (www.jollem.com) to Jboss (www.jboss.org) as a > learning exercise, I had to define the package settings externally in my > classpath for jboss. For Orion, I didn't have to do this, but I don't know > what's really going on under the hood. > > -Original Message- > From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 23, 2001 11:30 AM > To: Orion-Interest > Subject: Orion CLASSPATH > > > Hello all! > > Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it > is building > its own or adding to mine simply because it knows how to find certain > jars that I have not specified anywhere. > > Any info appreciated... > > -- > > Geoffrey W. MarshallDirector of Development > --- > t e r r a s c o p ephone (415) 951-4944 > 54 Mint St #110 direct (415) 625-0349 > San Francisco, CA 94103 fax (415) 625-0306 > --- > >
RE: Is EJBMaker Worth it?
Its an interesting debate -- should you make someone take the longer way to get a better foundation, or get them moving to be productive more quickly. I suppose it really depends on your goal. Of course, personally I prefer using vi over any IDE and I think IDEs annoying, limiting, and not worth the time it takes to load them. In addition, I wouldn't hire someone who only knows an IDE in any kind of lead role. But I don't think the EJBMaker really falls into the definition of an IDE (sure its got a GUI front end, but how is it an Integrated Development Environment?). Its more or less a shortcut around some drudgery involved in making CMP EJBs that any monkey could do - Putting together getter/setters, building a rudimentary ejb-jar.xml, et al. It still requires understanding EJBs and it still requires putting together code. What it does for you is analogous to 'Find and Replace', anyone could do it by hand but the computer could do it for you. -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 6:19 AM To: Orion-Interest Subject: RE: Is EJBMaker Worth it? I agree.When training new Java programmers, I start them out on Textpad. IDE's provide great shortcuts, but do not help you understand the language. Alot of programmers change jobs frequently, so locking yourself into an IDE is not a very good idea. Our solution = Textpad + Ant + Command Prompt + MS Visual SourceSafe Regards, Tom Pridham http://www.oakscape.com -Original Message- From: Chad Stansbury [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 21, 2001 10:08 AM To: Orion-Interest Subject: Re: Is EJBMaker Worth it? I think this is generally true for experienced developers. I tend to steer clear of all the Java IDEs since I'm at the stage in my career where debuggers aren't necessary... and I'd rather code than waste my time learning an IDE that probably won't be around in 2 or 3 years (they tend to become obsolete rather quickly nowadays). For me, Ant + TextPad + DOS prompt + WinCVS is very potent combination. Chad Stansbury - Original Message - From: Josh P. Motto <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 4:48 PM Subject: Re: Is EJBMaker Worth it? > I had the same experience as you - so I > copy-and-paste everything right into the DD... > it's a lot faster for me than trying to figure > out what the GUI tool is doing to my files... > > --- Joe Fair <[EMAIL PROTECTED]> wrote: > > I've been working with EJBMaker for several > > hours now, > > and I can't help but think that it would have > > been > > faster to do it by hand. Does anyone else have > > an > > encouraging experience? > > Thanks, > > Joe > > > > > __ > > Do You Yahoo!? > > Yahoo! Auctions - buy the things you want at > > great prices > > http://auctions.yahoo.com/ > > > > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > >
RE: Orion CLASSPATH
I believe it is internally setting it. When I transported the Orion and Orion Primer examples (www.jollem.com) to Jboss (www.jboss.org) as a learning exercise, I had to define the package settings externally in my classpath for jboss. For Orion, I didn't have to do this, but I don't know what's really going on under the hood. -Original Message- From: Geoffrey Marshall [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 11:30 AM To: Orion-Interest Subject: Orion CLASSPATH Hello all! Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it is building its own or adding to mine simply because it knows how to find certain jars that I have not specified anywhere. Any info appreciated... -- Geoffrey W. MarshallDirector of Development --- t e r r a s c o p ephone (415) 951-4944 54 Mint St #110 direct (415) 625-0349 San Francisco, CA 94103 fax (415) 625-0306 ---
RE: JSP server configuration
Alby and Randy, Alby, the ISP is set up not to 'proxy' or filter the .jsps. You may put them in your normal '/public' or 'hatever' directories, and use the appserver by specifying the port it responds to. The ':8080' notation is necessary for the .jsps to work. I know this causes problems for some of your customers, but it is the way the ISP is set up and only they can change it, especially using this configuration. Randy, you hit the nail on the head; in your case, the appserver was set up to expect .jsp and binariy apps to be in a specific directory or directories (or maybe NOT in a specific directory, ie. 'HTML' was for static HTML pages). Now for some info: 1. JSPs are servlet code, embedded in HTML ... you need to tell the app server that executes them what to do...most servers allow you to do this in only a limited number of directories or by specifying a specific port, separate from the httpd. JSP are different from ASP and HTML. OTOH, in-line ASP on an IIS server needs to be in a directory configured to run it as an ASP script. (Same with mod-perl and PHP on NT, too, BTW). 2. The :8080 that Alby puts after her URL is supposed to redirect requests for pages to the appserver. If you try to run those pages in the webserver, unless it is properly configured (see the notes on using Apache as a front end for Orion in http://orionsupport.com) it will treat the JSPs as binaries (especially in NT) and send the message to the client-browser, initating a download. There are two ways to configure the webserver to pass the JSP to the appserver: in-line modules (in IIS/NT this is possibly called an ISAPI filter, depending on your setup) or a proxy mod (or using a separate port, but there we are again!). Your ISP needs to instruct you better and send you more information on their setups. You need to better research the technologies you are using, in order to ask the right questions and understand the answers. dedmike > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp > Randy-W18971 > Sent: Monday, April 23, 2001 9:08 AM > To: Orion-Interest > Subject: RE: JSP server configuration > > > Hello, Alby. > I recently ran into a similar problem, when I tried to set up > LiteWebServer (www.gefionsoftware.com) for our DreamWeaver > Ultradev developers to use for testing JSP pages. It all boils > down to the directory used (context directory). If the directory > is set up for just HTML, it will cause the jsp application to > download. If it is set up for JSP, it will execute it. > For example, in lite web server, there is a directory called > HTML. If I place the JSP pages there, it causes the application > to prompt for a download. > For the JSP directory, I created one called Oracle under > HTML/examples/JSP/Oracle, and the application works fine. > Why this is happening, I don't know. Perhaps some more > seasoned JSP experts can enlighten us. > > -Original Message- > From: Alby Peter Panikulangara [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 23, 2001 7:43 AM > To: Orion-Interest > Subject: JSP server configuration > > > Hi, > > I am new to jsp. recently i tried to put my website with as isp > in US, they > offers jsp & servlet support in NT server with IIS & Netscape > Server.For jsp > they advised me to use the url like > http://websiteurl:8080/test.jsp, in this > case the file executes fine, but if i type http://websiteurl/test.jsp the > file is getting dowloaded to the pc. This is the case same with servlets. > > i would like to know how to rectify this configuration problem. > > with regards > Alby > >
RE: JSP tags
Johan, There is the ifinrole tag from the orion utils package. That's quick and easy, and are no scripts with this. www.orionserver.com/tags/utiltags Logged in as <%=request.getRemoteUser()%> Username: Password: Regards, The elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Johan Fredriksson Sent: Monday, April 23, 2001 2:39 AM To: Orion-Interest Subject: Re: JSP tags That is not acceptable to me ( well to me it is, but not our designers...) Prime directive : No scripts at all in a jsp page. My next question is therefore: Can a tag write jsp-code? Probably not... Hmmm, what about a TEI with an object bound to the page that either throws or not throws an exception? I'll try that, and if anyone has any better suggestion I'm very interested in those. Johan - Original Message - From: "Frank Eggink" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 1:43 PM Subject: RE: JSP tags > Johan, > > Guess you could throw the exception using a scripting element in the page. > > <% > if (yourBean.isNotAccessible()) { > throw new NoAccessException(""); > } > %> > > FE > > On Friday, April 20, 2001 4:23 PM, Johan Fredriksson > [SMTP:[EMAIL PROTECTED]] wrote: > > I'm trying to do a login check from within a tag. Checking the session > for a userid and then checking the required permits to that page. > > > > If it is a match my doEndTag returns EVAL_PAGE, if required permission is > missing, SKIP_PAGE is returned. > > > > This works, ie the user gets a blank page when not sufficient rights is > assoc with the user for that page. But I'd like to throw a > NoAccessException instead and let Orion handle that one with an errorpage. > > > > Tag newbie as I am, I cannot figure out how to throw that exception from > the tag and still be a correct tag. Just complains about not being > compatible with doEndTag() (TagSupport) > > > > Is there a way to get around this? > > > > Johan > > > > > > << File: ATT8.html >>
RE: JSP Tags in an XSL Template?
Since you suggest Cocoon, I'm hoping you have experience installing it as a filter? I'm having trouble doing so. I've closely followed the directions in http://www.orionsupport.com/articles/cocoon.html and get the message below when I try to hit the index.xml page from the samples directory of the Cocoon distribution. I'm using Orion 1.4.5 on Windows 2000 and have tried to use both Cocoon 1.8 and Cocoon 1.8.2 with the same results. Please help this desperate newbie. Thanks, Charlie --- Error message from Cocoon when hitting http://localhost:90/samples/index.xml --- Error found handling the request. java.lang.RuntimeException: Error creating filter: class is not found at org.apache.cocoon.framework.Manager.create(Manager.java:106) at org.apache.cocoon.framework.Manager.create(Manager.java:78) at org.apache.cocoon.producer.ProducerFactory.getProducer(ProducerFactory.java: 86) at org.apache.cocoon.Engine.handle(Engine.java:332) at org.apache.cocoon.Cocoon.service(Cocoon.java:167) at com.orionsupport.cocoon.CocoonServlet.service(CocoonServlet.java:73) at javax.servlet.http.HttpServlet.service(HttpServlet.java:329) at com.evermind.server.http.ea.doFilter(JAX) at com.orionsupport.cocoon.CocoonFilter.doFilter(CocoonFilter.java:65) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.d3.forward(JAX) at com.orionsupport.cocoon.CocoonFilter.doFilter(CocoonFilter.java:72) at com.evermind.server.http.ey.xv(JAX) at com.evermind.server.http.ey.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Walnes Sent: Friday, April 20, 2001 9:24 AM To: Orion-Interest Subject: RE: JSP Tags in an XSL Template? A nice solution to what you are trying to achieve is to use the Transform Tag-Library available at http://epesh.com/transformtags.jsp. This allows you to include XSL transformations retrieving both the XML and XSL from a variety of sources, including inline. Because the XSL is inline on the page, you can use JSP scriptlets and tags. An alternative method is to install Cocoon as a servlet filter.. when it's used as a filter, it allows XML/XSL to be produced by any processor (static file, servlet, JSP, XSP, PHP, etc). This should solve your problem. -Joe Walnes
RE: What is a relevant question?
But is it a thought just popping into the head, or an attempt to find the best approach to a problem, surveying all the different solutions people have used? Personally, I like the Jar approach the best, and it does work well on Solaris. And nobody twists anyone's arm into responding. -Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 8:56 AM To: Orion-Interest Subject: RE: What is a relavent question? I'm sorry, but I (and many others of these 'less-than-professional' programmers you're talking about) feel (rightly or wrongly) that people should not post whenever a thought pops in their heads. That seems like a very lazy approach to problem solving that puts serious doubts on their credentials as a 'professional' anything. EVERYONE has questions that they do not immediately know the answer to. Often, the answer can be found with one or two minutes of searching and investigating. I'd much rather someone spend that time than the 3 minutes it takes for them to write the email, and the hundreds of collective minutes wasted by other people responding (yes, posts like this included!) There is a line between what is OK to ask and what is not. Granted, it's blurry, but I'd like to think that it just requires a little bit of common sense to sense. How to zip things is on the wrong side of that line, serious undocumented quirks with rh7 and java are on the right side. "if you have something stupid to say, don't say anything at all!" :) Trying this tongue biting thing again, Hani On Mon, 23 Apr 2001, Thomas Pridham wrote: > Very good post. I try to help out as much as I can, but I also need > assistance from time to time. No one should be afraid to post on this list, > no matter how many times the question has been addressed (i.e. How do I > update to the latest version?). I am growing tired of the > less-than-professional-programmers that provide smart-ass remarks / flames > to people's genuine questions. > > I do feel one solution would be to use a Bulletin Board instead of a mailing > list. That way, the questions could be placed into categories and you > wouldn't have to read a ton of email. Just my opinion > > "If you don't have anything nice to say, don't say anything at all!" :) > > Regards, > Tom Pridham > > > -Original Message- > From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 10:59 AM > To: Orion-Interest > Subject: What is a relavent question? > > > This question did occur to me, and Socrates would have a field day with it. > Since this list has everyone from visitors, EJB beginners, EJB server > builders, and anyone in between, what is a relavent question? More > importantly, what is a relavent answer? To me, any question related to > Orion or EJB is relavent. Now there are various positions on giving > answers. Some may say to read the EJB specs Sun put out for answers. > Others will say to read the books on EJB. Some would say to use the search > engines. Still others, like myself, will give answers if we know it. Why do > we do this? To add more EJB folks to the fold, and because we enjoy doing > it. Now I can get off on a tangent sometimes, and there are times that is > good, like trying to present some ideas to help Orion become more popular. > And yes, I also like open source, if it is good or has potential. I run > Apache in production, but I also run Oracle. To zip or not to zip, that is > the question? And many kind folks answered that question. And I, in turn > may someday answer that question. > So what is an irrelavent question? > In all the 190 Stooge shorts, how many contained pie fights? Five > How does the Dali Lama start his day? He meditates for two hours before > listening to the BBC. > Why were people called Mat Hatters in Alice In Wonderland? Because they > made hats using mercury and the fumes drived them made. > Who are my EJB heroes? The folks at Orion, Jboss, and Enhydra, because > they are making affordable EJB servers to make this technology available to > everyone. > Why does Einstein not know his phone number? Because he thought it was > irrelavent information and could look it up in the phone book. > >
Orion CLASSPATH
Hello all! Can anyone tell me what Orion is doing with the CLASSPATH. I suspect it is building its own or adding to mine simply because it knows how to find certain jars that I have not specified anywhere. Any info appreciated... -- Geoffrey W. MarshallDirector of Development --- t e r r a s c o p ephone (415) 951-4944 54 Mint St #110 direct (415) 625-0349 San Francisco, CA 94103 fax (415) 625-0306 ---
RE: What is a relavent question?
I do agree, research should be done before posting a question..but some of the really-green programmers don't even know how or where to do this -- I remember what that was like. You are right about the line being blurry is it a newbie asking a question that has them stumped OR is it a lazy programmer not willing to do some research first? Sometimes it's hard to tell... If it truly is a lazy programmer, then turn on the flame-thrower !! :) -Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 9:56 AM To: Orion-Interest Subject: RE: What is a relavent question? I'm sorry, but I (and many others of these 'less-than-professional' programmers you're talking about) feel (rightly or wrongly) that people should not post whenever a thought pops in their heads. That seems like a very lazy approach to problem solving that puts serious doubts on their credentials as a 'professional' anything. EVERYONE has questions that they do not immediately know the answer to. Often, the answer can be found with one or two minutes of searching and investigating. I'd much rather someone spend that time than the 3 minutes it takes for them to write the email, and the hundreds of collective minutes wasted by other people responding (yes, posts like this included!) There is a line between what is OK to ask and what is not. Granted, it's blurry, but I'd like to think that it just requires a little bit of common sense to sense. How to zip things is on the wrong side of that line, serious undocumented quirks with rh7 and java are on the right side. "if you have something stupid to say, don't say anything at all!" :) Trying this tongue biting thing again, Hani On Mon, 23 Apr 2001, Thomas Pridham wrote: > Very good post. I try to help out as much as I can, but I also need > assistance from time to time. No one should be afraid to post on this list, > no matter how many times the question has been addressed (i.e. How do I > update to the latest version?). I am growing tired of the > less-than-professional-programmers that provide smart-ass remarks / flames > to people's genuine questions. > > I do feel one solution would be to use a Bulletin Board instead of a mailing > list. That way, the questions could be placed into categories and you > wouldn't have to read a ton of email. Just my opinion > > "If you don't have anything nice to say, don't say anything at all!" :) > > Regards, > Tom Pridham > > > -Original Message- > From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 10:59 AM > To: Orion-Interest > Subject: What is a relavent question? > > > This question did occur to me, and Socrates would have a field day with it. > Since this list has everyone from visitors, EJB beginners, EJB server > builders, and anyone in between, what is a relavent question? More > importantly, what is a relavent answer? To me, any question related to > Orion or EJB is relavent. Now there are various positions on giving > answers. Some may say to read the EJB specs Sun put out for answers. > Others will say to read the books on EJB. Some would say to use the search > engines. Still others, like myself, will give answers if we know it. Why do > we do this? To add more EJB folks to the fold, and because we enjoy doing > it. Now I can get off on a tangent sometimes, and there are times that is > good, like trying to present some ideas to help Orion become more popular. > And yes, I also like open source, if it is good or has potential. I run > Apache in production, but I also run Oracle. To zip or not to zip, that is > the question? And many kind folks answered that question. And I, in turn > may someday answer that question. > So what is an irrelavent question? > In all the 190 Stooge shorts, how many contained pie fights? Five > How does the Dali Lama start his day? He meditates for two hours before > listening to the BBC. > Why were people called Mat Hatters in Alice In Wonderland? Because they > made hats using mercury and the fumes drived them made. > Who are my EJB heroes? The folks at Orion, Jboss, and Enhydra, because > they are making affordable EJB servers to make this technology available to > everyone. > Why does Einstein not know his phone number? Because he thought it was > irrelavent information and could look it up in the phone book. > >
Re: JSP server configuration
Thats a matter of your isp to map the jsp/servlet to another directory not accessible from http://websiteurl/. There are probably two apps running on the same server, whereas your .jsp files should be run under http://websiteurl:8080/ and your other content under the "standard" server. Use a index.html that opens default.jsp under websiteurl:8080. Johan - Original Message - From: "Alby Peter Panikulangara" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, April 23, 2001 2:43 PM Subject: JSP server configuration > Hi, > > I am new to jsp. recently i tried to put my website with as isp in US, they > offers jsp & servlet support in NT server with IIS & Netscape Server.For jsp > they advised me to use the url like http://websiteurl:8080/test.jsp, in this > case the file executes fine, but if i type http://websiteurl/test.jsp the > file is getting dowloaded to the pc. This is the case same with servlets. > > i would like to know how to rectify this configuration problem. > > with regards > Alby >
RE: JSP server configuration
Without the :8080 extension, IIS is trying to process the request. Since it doesn't understand the *.jsp file type, it is processing it as a download. Regards, Tom Pridham -Original Message- From: Alby Peter Panikulangara [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 8:43 AM To: Orion-Interest Subject: JSP server configuration Hi, I am new to jsp. recently i tried to put my website with as isp in US, they offers jsp & servlet support in NT server with IIS & Netscape Server.For jsp they advised me to use the url like http://websiteurl:8080/test.jsp, in this case the file executes fine, but if i type http://websiteurl/test.jsp the file is getting dowloaded to the pc. This is the case same with servlets. i would like to know how to rectify this configuration problem. with regards Alby
RE: What is a relavent question?
I'm sorry, but I (and many others of these 'less-than-professional' programmers you're talking about) feel (rightly or wrongly) that people should not post whenever a thought pops in their heads. That seems like a very lazy approach to problem solving that puts serious doubts on their credentials as a 'professional' anything. EVERYONE has questions that they do not immediately know the answer to. Often, the answer can be found with one or two minutes of searching and investigating. I'd much rather someone spend that time than the 3 minutes it takes for them to write the email, and the hundreds of collective minutes wasted by other people responding (yes, posts like this included!) There is a line between what is OK to ask and what is not. Granted, it's blurry, but I'd like to think that it just requires a little bit of common sense to sense. How to zip things is on the wrong side of that line, serious undocumented quirks with rh7 and java are on the right side. "if you have something stupid to say, don't say anything at all!" :) Trying this tongue biting thing again, Hani On Mon, 23 Apr 2001, Thomas Pridham wrote: > Very good post. I try to help out as much as I can, but I also need > assistance from time to time. No one should be afraid to post on this list, > no matter how many times the question has been addressed (i.e. How do I > update to the latest version?). I am growing tired of the > less-than-professional-programmers that provide smart-ass remarks / flames > to people's genuine questions. > > I do feel one solution would be to use a Bulletin Board instead of a mailing > list. That way, the questions could be placed into categories and you > wouldn't have to read a ton of email. Just my opinion > > "If you don't have anything nice to say, don't say anything at all!" :) > > Regards, > Tom Pridham > > > -Original Message- > From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 10:59 AM > To: Orion-Interest > Subject: What is a relavent question? > > > This question did occur to me, and Socrates would have a field day with it. > Since this list has everyone from visitors, EJB beginners, EJB server > builders, and anyone in between, what is a relavent question? More > importantly, what is a relavent answer? To me, any question related to > Orion or EJB is relavent. Now there are various positions on giving > answers. Some may say to read the EJB specs Sun put out for answers. > Others will say to read the books on EJB. Some would say to use the search > engines. Still others, like myself, will give answers if we know it. Why do > we do this? To add more EJB folks to the fold, and because we enjoy doing > it. Now I can get off on a tangent sometimes, and there are times that is > good, like trying to present some ideas to help Orion become more popular. > And yes, I also like open source, if it is good or has potential. I run > Apache in production, but I also run Oracle. To zip or not to zip, that is > the question? And many kind folks answered that question. And I, in turn > may someday answer that question. > So what is an irrelavent question? > In all the 190 Stooge shorts, how many contained pie fights? Five > How does the Dali Lama start his day? He meditates for two hours before > listening to the BBC. > Why were people called Mat Hatters in Alice In Wonderland? Because they > made hats using mercury and the fumes drived them made. > Who are my EJB heroes? The folks at Orion, Jboss, and Enhydra, because > they are making affordable EJB servers to make this technology available to > everyone. > Why does Einstein not know his phone number? Because he thought it was > irrelavent information and could look it up in the phone book. > >
RE: JSP server configuration
Hello, Alby. I recently ran into a similar problem, when I tried to set up LiteWebServer (www.gefionsoftware.com) for our DreamWeaver Ultradev developers to use for testing JSP pages. It all boils down to the directory used (context directory). If the directory is set up for just HTML, it will cause the jsp application to download. If it is set up for JSP, it will execute it. For example, in lite web server, there is a directory called HTML. If I place the JSP pages there, it causes the application to prompt for a download. For the JSP directory, I created one called Oracle under HTML/examples/JSP/Oracle, and the application works fine. Why this is happening, I don't know. Perhaps some more seasoned JSP experts can enlighten us. -Original Message- From: Alby Peter Panikulangara [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 7:43 AM To: Orion-Interest Subject: JSP server configuration Hi, I am new to jsp. recently i tried to put my website with as isp in US, they offers jsp & servlet support in NT server with IIS & Netscape Server.For jsp they advised me to use the url like http://websiteurl:8080/test.jsp, in this case the file executes fine, but if i type http://websiteurl/test.jsp the file is getting dowloaded to the pc. This is the case same with servlets. i would like to know how to rectify this configuration problem. with regards Alby
Orion CMP Primer - example not loading properly
Hi, I am using Orion application server 1.4.5. I am trying to deploy the"Addressbook" example. It seems to deploy without a glitch but when I try to view the page, I get a "You are not authorized to view this page". I have attached a screen shot. It would be great if you can help me out or give me some hints. Thanks.
Re: What is a relavent question?
> I do feel one solution would be to use a Bulletin Board instead of a mailing > list. That way, the questions could be placed into categories and you > wouldn't have to read a ton of email. Just my opinion > > "If you don't have anything nice to say, don't say anything at all!" :) Hmm, yes, it's Trite-Aphorisms-R-Us. At any rate, OrionSupport is undergoing a sea change at the moment to support this kind of need. -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
Re: Is EJBMaker Worth it?
Its is only a matter of time to pick up the skill of using a tool as simple EJBMaker. Moreover it is usefull for making instant ENTITY BEANS. Once u get the feel of how to use it effectively, You would definitely appreciate the ease of the tool. Santosh -Original Message- From: Thomas Pridham <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Date: Monday, April 23, 2001 6:57 PM Subject: RE: Is EJBMaker Worth it? >I agree.When training new Java programmers, I start them out on Textpad. >IDE's provide great shortcuts, but do not help you understand the language. >Alot of programmers change jobs frequently, so locking yourself into an IDE >is not a very good idea. > >Our solution = Textpad + Ant + Command Prompt + MS Visual SourceSafe > >Regards, >Tom Pridham >http://www.oakscape.com > > >-Original Message- >From: Chad Stansbury [mailto:[EMAIL PROTECTED]] >Sent: Saturday, April 21, 2001 10:08 AM >To: Orion-Interest >Subject: Re: Is EJBMaker Worth it? > > >I think this is generally true for experienced developers. I tend to steer >clear of all the Java IDEs since I'm at the stage in my career where >debuggers aren't necessary... and I'd rather code than waste my time >learning an IDE that probably won't be around in 2 or 3 years (they tend to >become obsolete rather quickly nowadays). > >For me, Ant + TextPad + DOS prompt + WinCVS is very potent combination. > >Chad Stansbury > >- Original Message - >From: Josh P. Motto <[EMAIL PROTECTED]> >To: Orion-Interest <[EMAIL PROTECTED]> >Sent: Friday, April 20, 2001 4:48 PM >Subject: Re: Is EJBMaker Worth it? > > >> I had the same experience as you - so I >> copy-and-paste everything right into the DD... >> it's a lot faster for me than trying to figure >> out what the GUI tool is doing to my files... >> >> --- Joe Fair <[EMAIL PROTECTED]> wrote: >> > I've been working with EJBMaker for several >> > hours now, >> > and I can't help but think that it would have >> > been >> > faster to do it by hand. Does anyone else have >> > an >> > encouraging experience? >> > Thanks, >> > Joe >> > >> > >> __ >> > Do You Yahoo!? >> > Yahoo! Auctions - buy the things you want at >> > great prices >> > http://auctions.yahoo.com/ >> > >> >> >> __ >> Do You Yahoo!? >> Yahoo! Auctions - buy the things you want at great prices >> http://auctions.yahoo.com/ >> >> > >
RE: smp w/jdk
None of the workarounds at the time I tested it were successful (the one you point out was one of them). It made the JVM work for a slightly longer time thought. I am waiting for the next RC. Regards, Erik Bogghed > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker > Sent: den 20 april 2001 18:05 > To: Orion-Interest > Subject: RE: smp w/jdk > > > Erik, > > This is very ugly. I have two more support calls with Sun on my support > contract. I will call them to see what's happening with this bug. How they > could release a product that has such a serious bug is beyond me. There > seems to be a workaround, though: > > in Bash, try setting the environmental variable as follows: > _JAVA_SR_SIGNUM=16 > export _JAVA_SR_SIGNUM > > Regards, > > the elephantwalker > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Erik Bogghed > Sent: Friday, April 20, 2001 8:24 AM > To: Orion-Interest > Subject: RE: smp w/jdk > > > > My experience is that almost all 1.3.* variants (Sun, IBM, Blackdown) > breaks under heavy load on Linux (Redhat 7). It's a recognized bug and > is said to be fixed (even thought I found out that that was not the case) > in 1.3.1 RC1. > > See http://developer.java.sun.com/developer/bugParade/bugs/4355769.html > for some info about this. > > The only JVM I tested that did not break under heavy load was JRockit. > To simulate the load I used several instances of Apache JMeter. > > I ended up using Blackdowns 1.2.2. > > Regards, > > Erik Bogghed > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker > > Sent: den 20 april 2001 06:07 > > To: Orion-Interest > > Subject: smp w/jdk > > > > > > I just noticed that the readme for Sun's 1.3.0.02 recommends against smp > > kernels on Linux. > > > > Is that an issue? I haven't noticed a problem, had anybody else > noticed a > > problem with Linux and Sun's jvm with the smp kernel? > > > > Regards, > > > > The elephantwalker > > >
RE: What is a relavent question?
Very good post. I try to help out as much as I can, but I also need assistance from time to time. No one should be afraid to post on this list, no matter how many times the question has been addressed (i.e. How do I update to the latest version?). I am growing tired of the less-than-professional-programmers that provide smart-ass remarks / flames to people's genuine questions. I do feel one solution would be to use a Bulletin Board instead of a mailing list. That way, the questions could be placed into categories and you wouldn't have to read a ton of email. Just my opinion "If you don't have anything nice to say, don't say anything at all!" :) Regards, Tom Pridham -Original Message- From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 10:59 AM To: Orion-Interest Subject: What is a relavent question? This question did occur to me, and Socrates would have a field day with it. Since this list has everyone from visitors, EJB beginners, EJB server builders, and anyone in between, what is a relavent question? More importantly, what is a relavent answer? To me, any question related to Orion or EJB is relavent. Now there are various positions on giving answers. Some may say to read the EJB specs Sun put out for answers. Others will say to read the books on EJB. Some would say to use the search engines. Still others, like myself, will give answers if we know it. Why do we do this? To add more EJB folks to the fold, and because we enjoy doing it. Now I can get off on a tangent sometimes, and there are times that is good, like trying to present some ideas to help Orion become more popular. And yes, I also like open source, if it is good or has potential. I run Apache in production, but I also run Oracle. To zip or not to zip, that is the question? And many kind folks answered that question. And I, in turn may someday answer that question. So what is an irrelavent question? In all the 190 Stooge shorts, how many contained pie fights? Five How does the Dali Lama start his day? He meditates for two hours before listening to the BBC. Why were people called Mat Hatters in Alice In Wonderland? Because they made hats using mercury and the fumes drived them made. Who are my EJB heroes? The folks at Orion, Jboss, and Enhydra, because they are making affordable EJB servers to make this technology available to everyone. Why does Einstein not know his phone number? Because he thought it was irrelavent information and could look it up in the phone book.
RE: Is EJBMaker Worth it?
I agree.When training new Java programmers, I start them out on Textpad. IDE's provide great shortcuts, but do not help you understand the language. Alot of programmers change jobs frequently, so locking yourself into an IDE is not a very good idea. Our solution = Textpad + Ant + Command Prompt + MS Visual SourceSafe Regards, Tom Pridham http://www.oakscape.com -Original Message- From: Chad Stansbury [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 21, 2001 10:08 AM To: Orion-Interest Subject: Re: Is EJBMaker Worth it? I think this is generally true for experienced developers. I tend to steer clear of all the Java IDEs since I'm at the stage in my career where debuggers aren't necessary... and I'd rather code than waste my time learning an IDE that probably won't be around in 2 or 3 years (they tend to become obsolete rather quickly nowadays). For me, Ant + TextPad + DOS prompt + WinCVS is very potent combination. Chad Stansbury - Original Message - From: Josh P. Motto <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 4:48 PM Subject: Re: Is EJBMaker Worth it? > I had the same experience as you - so I > copy-and-paste everything right into the DD... > it's a lot faster for me than trying to figure > out what the GUI tool is doing to my files... > > --- Joe Fair <[EMAIL PROTECTED]> wrote: > > I've been working with EJBMaker for several > > hours now, > > and I can't help but think that it would have > > been > > faster to do it by hand. Does anyone else have > > an > > encouraging experience? > > Thanks, > > Joe > > > > > __ > > Do You Yahoo!? > > Yahoo! Auctions - buy the things you want at > > great prices > > http://auctions.yahoo.com/ > > > > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > >
RE: smp w/jdk
We've concluded that the HotSpot server mode is unusable on our RedHat 6.2 SMP system with Sun 1.3.1rc1. Performance tests that run in under 15 seconds in client mode are still running after half an hour with -server. The test also throws occasional CreateExceptions that don't happen with other JVMs. It's hard to compare platforms, but under W98 and JDK 1.3.0 server mode tests complete, but are noticeably slower than the default client JVM. It'd be interesting to try this with the 2.4 kernel, but our single RH 7.1 machine is both a single CPU, and dedicated to running a java source website, www.gjt.org. BTW I haven't run any throughput tests, but 7.1 feels *fast*. Kirk Yarina At 01:47 PM 4/20/01 -0700, you wrote: >I *HAVE* seen problems with the HotSpot server under SMP with the Linux 6.2 >kernel. > >Under heavily loaded conditions, the JVM would 'pause' for somewhere in the >range of 30 to 60 seconds. This would occur more frequently when the load >was higher. After struggling with many potentially solutions it was >eventually solved by running in interpreted more (-Xint). > >-Original Message- >From: elephantwalker [mailto:[EMAIL PROTECTED]] >Sent: Friday, April 20, 2001 9:05 AM >To: Orion-Interest >Subject: RE: smp w/jdk > > >Erik, > >This is very ugly. I have two more support calls with Sun on my support >contract. I will call them to see what's happening with this bug. How they >could release a product that has such a serious bug is beyond me. There >seems to be a workaround, though: > >in Bash, try setting the environmental variable as follows: >_JAVA_SR_SIGNUM=16 >export _JAVA_SR_SIGNUM > >Regards, > >the elephantwalker > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of Erik Bogghed >Sent: Friday, April 20, 2001 8:24 AM >To: Orion-Interest >Subject: RE: smp w/jdk > > > >My experience is that almost all 1.3.* variants (Sun, IBM, Blackdown) >breaks under heavy load on Linux (Redhat 7). It's a recognized bug and >is said to be fixed (even thought I found out that that was not the case) >in 1.3.1 RC1. > >See http://developer.java.sun.com/developer/bugParade/bugs/4355769.html >for some info about this. > >The only JVM I tested that did not break under heavy load was JRockit. >To simulate the load I used several instances of Apache JMeter. > >I ended up using Blackdowns 1.2.2. > >Regards, > >Erik Bogghed > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker > > Sent: den 20 april 2001 06:07 > > To: Orion-Interest > > Subject: smp w/jdk > > > > > > I just noticed that the readme for Sun's 1.3.0.02 recommends against smp > > kernels on Linux. > > > > Is that an issue? I haven't noticed a problem, had anybody else noticed a > > problem with Linux and Sun's jvm with the smp kernel? > > > > Regards, > > > > The elephantwalker > >
JSP server configuration
Hi, I am new to jsp. recently i tried to put my website with as isp in US, they offers jsp & servlet support in NT server with IIS & Netscape Server.For jsp they advised me to use the url like http://websiteurl:8080/test.jsp, in this case the file executes fine, but if i type http://websiteurl/test.jsp the file is getting dowloaded to the pc. This is the case same with servlets. i would like to know how to rectify this configuration problem. with regards Alby
RE: .zip files and solaris
Well now, Joseph, this time you didn't notice the irony. Perhaps I should have added a ;) . What I meant is that Angshuman Dasgupta could learn something from this mailing list. Marcel > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B. > Ottinger > Sent: Monday, April 23, 2001 11:53 AM > To: Orion-Interest > Subject: Re: .zip files and solaris > > > ..except he (or she!) is wrong; jar xf myzipfile.zip works > FINE, although it > doesn't preserve time stamps. :) Try it and see! > > On Sat, Apr 21, 2001 at 09:30:37PM +0200, Marcel Schutte wrote: > > That's the beauty of newsgroups and mailing lists: you can > actually learn > > something from them. > > > > Marcel > > > > - Original Message - > > From: "Angshuman Dasgupta" <[EMAIL PROTECTED]> > > To: "Orion-Interest" <[EMAIL PROTECTED]> > > Sent: Saturday, April 21, 2001 8:32 PM > > Subject: RE: .zip files and solaris > > > > > > > That'll NEVER work for a zip > > > > > > > > > -Original Message- > > > From: Tim Endres [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, April 21, 2001 10:17 PM > > > To: Orion-Interest > > > Cc: Kemp Randy > > > Subject: Re: .zip files and solaris > > > > > > > > > jar xvf file.jar > > > > > > > > > > In development, I work with Orion on both Solaris and > > > > Windows 2000. But there must be an easier way of > > > > dealing with Orion and Jboss zip files. I use winzip > > > > to unzip them in Windows, and FTP the unzipped version > > > > to Solaris. Is there any third party software to > > > > unzip a zip file on solaris? Tar and tar.gz are easy. > > > > What does everyone use for Orion on solaris? I > > > > haven't addressed this question to my Unix > > > > administration folks yet, and I thought I would try > > > > here first. > > > > > > > > __ > > > > Do You Yahoo!? > > > > Yahoo! Auctions - buy the things you want at great prices > > > > http://auctions.yahoo.com/ > > > > > > > > > > > > > > > > -- > --- > Joseph B. Ottinger [EMAIL PROTECTED] > http://epesh.com/ IT Consultant >
Re: What is a relavent question?
I agree with you that if you know the answer please respond. No question is too dumb. Sometimes I ask question about how to solve a certain thing for instance using a tag-lib and throwing exceptions. This is not an Orion question but an Interest question. Unless this is if (Orion && Interest) I guess I've used it wrong. However this should not be a list where we discuss what kind of list this is and where we tell people off because it's monday and I've spent a few minutes reading a posting which was not relevant to me. Can we please keep it a Q/A list? Johan - Original Message - From: "Kemp Randy-W18971" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001 4:59 PM Subject: What is a relavent question? > This question did occur to me, and Socrates would have a field day with it. > Since this list has everyone from visitors, EJB beginners, EJB server > builders, and anyone in between, what is a relavent question? More > importantly, what is a relavent answer? To me, any question related to > Orion or EJB is relavent. Now there are various positions on giving > answers. Some may say to read the EJB specs Sun put out for answers. > Others will say to read the books on EJB. Some would say to use the search > engines. Still others, like myself, will give answers if we know it. Why do > we do this? To add more EJB folks to the fold, and because we enjoy doing > it. Now I can get off on a tangent sometimes, and there are times that is > good, like trying to present some ideas to help Orion become more popular. > And yes, I also like open source, if it is good or has potential. I run > Apache in production, but I also run Oracle. To zip or not to zip, that is > the question? And many kind folks answered that question. And I, in turn > may someday answer that question. > So what is an irrelavent question? > In all the 190 Stooge shorts, how many contained pie fights? Five > How does the Dali Lama start his day? He meditates for two hours before > listening to the BBC. > Why were people called Mat Hatters in Alice In Wonderland? Because they > made hats using mercury and the fumes drived them made. > Who are my EJB heroes? The folks at Orion, Jboss, and Enhydra, because > they are making affordable EJB servers to make this technology available to > everyone. > Why does Einstein not know his phone number? Because he thought it was > irrelavent information and could look it up in the phone book.
RE: On large programming teams [RE: A Swedish Idea]
Yes, and the pun is that you get something after one month, but it is not a baby you would like to have. On Saturday, April 21, 2001 4:13 PM, Kemp Randy-W18971 [SMTP:[EMAIL PROTECTED]] wrote: > > Yes! A wonderful book I read many years ago. There used to be a saying I > heard, which management practices universally. If a woman can produce a > baby in nine months, then nine women can produce a baby in one month. > The only problem with Gates is that he has no real competition. Linux is > probably the closest, and they don't really have a cutting share of Bill's > market. > > -Original Message- > From: Frank Eggink > To: Orion-Interest > Sent: 4/21/01 7:01 AM > Subject: On large programming teams [RE: A Swedish Idea] > > The following is one of the classic readings on programming at large. 25 > years old and I > can still recommend it: > > "The Mythical Man-Month" from F.P. Brooks jr. > > Yes, it's even 26 years old and talks about OS/360, some odd system > which is now out > performed by your 100$ marketvalue Pentium I machine, but programming is > done by > humans which haven't much changed over the last 25 years. > > On the experience I have had so far with large projects I can only agree > with him. Changing > one of his 'laws' slightly: > > "Adding more programmers to a product makes the product worse". > > > So far I have not found evidence against this law ;-) > > FE > > On Thursday, April 19, 2001 3:06 PM, Jay Armstrong > [SMTP:[EMAIL PROTECTED]] wrote: > > Generally, I agree with the comment about Micro$oft quality of code, > though > > I've seen some pretty horrible code from outside the US, too. :) > > > > Bill Gates may be from the US, but Micro$oft employees come from all > over > > the world. Visit Redmond, WA, USA and you'll see for yourself. > > > > At 09:50 AM 4/19/01 +0200, you wrote: > > >And Micro$oft programmers are from...? > > > > > >I suppose that the country they're from produce the shittiest code of > em all > > >:) > > > > > >Johan > > >- Original Message - > > >From: "Joseph B. Ottinger" <[EMAIL PROTECTED]> > > >To: "Orion-Interest" <[EMAIL PROTECTED]> > > >Sent: Wednesday, April 18, 2001 4:20 PM > > >Subject: Re: A Swedish Idea > > > > > > > > >> Personally, I'm becoming more and more convinced that not only is > Sweden > > >> full of lousy programmers, but they're all lousy in congruent ways > just to > > >> make the rest of the world's jobs harder. > > >> > > >> I say we all start using Bavarian products, if only because > Bavarian names > > >> seem to have a better vowel/consonant ratio. > > >> > > >> Say, Randy... what country are YOU from? (That's the leading > indicator for > > >> quality of code...) > > >> > > >> On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote: > > >> > Now this may be a dumb idea, and I am just thinking up > brainstorms to > > >promote Orion, but it occurred to me that both Mysql and Orion are in > > >Sweden. Now I don't know how big Sweden is, but perhaps a meeting > between > > >the two teams could find ways to mutually promote or bridge the two > > >products. Just a thought. Speaking of Sweden, since Rickard O. > from Jboss > > >lives there, does anyone know of Magnus or Karl have meet him? In > once > > >sense, but Jboss and Orion are trying to make this EJB technology > available > > >to more people. > > >> > > >> -- > > >> --- > > >> Joseph B. Ottinger [EMAIL PROTECTED] > > >> http://epesh.com/ IT Consultant > > > > > > > > > > > > > >
Re: .zip files and solaris
On the other hand it works the other way around... Use jar to compress and ftp that, jar to uncompress... It's really not the filesize that is a problem, but the amount of files. - Original Message - From: "Angshuman Dasgupta" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 8:32 PM Subject: RE: .zip files and solaris > That'll NEVER work for a zip > > > -Original Message- > From: Tim Endres [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 21, 2001 10:17 PM > To: Orion-Interest > Cc: Kemp Randy > Subject: Re: .zip files and solaris > > > jar xvf file.jar > > > > In development, I work with Orion on both Solaris and > > Windows 2000. But there must be an easier way of > > dealing with Orion and Jboss zip files. I use winzip > > to unzip them in Windows, and FTP the unzipped version > > to Solaris. Is there any third party software to > > unzip a zip file on solaris? Tar and tar.gz are easy. > > What does everyone use for Orion on solaris? I > > haven't addressed this question to my Unix > > administration folks yet, and I thought I would try > > here first. > > > > __ > > Do You Yahoo!? > > Yahoo! Auctions - buy the things you want at great prices > > http://auctions.yahoo.com/ > > >
Re: .zip files and solaris
Yes there is, but I'm not sure of the name of it... I used to zip the app in the prev project I was working on, and gunzipped it on the production server running solaris. Regrettably I cannot remember the version of gunzip, but I'll try to find out during the day. Johan - Original Message - From: "Kemp Randy" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 4:30 PM Subject: .zip files and solaris > In development, I work with Orion on both Solaris and > Windows 2000. But there must be an easier way of > dealing with Orion and Jboss zip files. I use winzip > to unzip them in Windows, and FTP the unzipped version > to Solaris. Is there any third party software to > unzip a zip file on solaris? Tar and tar.gz are easy. > What does everyone use for Orion on solaris? I > haven't addressed this question to my Unix > administration folks yet, and I thought I would try > here first. > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/
Re: .zip files and solaris
..except he (or she!) is wrong; jar xf myzipfile.zip works FINE, although it doesn't preserve time stamps. :) Try it and see! On Sat, Apr 21, 2001 at 09:30:37PM +0200, Marcel Schutte wrote: > That's the beauty of newsgroups and mailing lists: you can actually learn > something from them. > > Marcel > > - Original Message - > From: "Angshuman Dasgupta" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Sent: Saturday, April 21, 2001 8:32 PM > Subject: RE: .zip files and solaris > > > > That'll NEVER work for a zip > > > > > > -Original Message- > > From: Tim Endres [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, April 21, 2001 10:17 PM > > To: Orion-Interest > > Cc: Kemp Randy > > Subject: Re: .zip files and solaris > > > > > > jar xvf file.jar > > > > > > > In development, I work with Orion on both Solaris and > > > Windows 2000. But there must be an easier way of > > > dealing with Orion and Jboss zip files. I use winzip > > > to unzip them in Windows, and FTP the unzipped version > > > to Solaris. Is there any third party software to > > > unzip a zip file on solaris? Tar and tar.gz are easy. > > > What does everyone use for Orion on solaris? I > > > haven't addressed this question to my Unix > > > administration folks yet, and I thought I would try > > > here first. > > > > > > __ > > > Do You Yahoo!? > > > Yahoo! Auctions - buy the things you want at great prices > > > http://auctions.yahoo.com/ > > > > > > > > > -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
Re: .zip files and solaris
On Sun, Apr 22, 2001 at 08:32:54AM -0400, Kemp Randy-W18971 wrote: > And what, par say, is revevant to the list? This list gets everyone from > EJB beginners to people who build EJB servers. My philosophy is always > this. If a beginner asks a question, and I can answer it and get them into > the J2EE fold, then I am all for it. If an expert has a question, and I can So now whats-his'name is in the J2EE fold just because they can use jar on zip files? > learn from it, so much the better. And no, I am not a dumb person, but if a > person can give me an answer in one minute, is it a waste of time? For the > record, I have friends who are PhDs from Oxford, Stanford, and the > University of Chicago, and I also have friends who work in factories. I > treat all alike and no question is ever dumb or irrelavent. I can think of a few. Spend some time on JSP-Interest - the signal-to-noise ratio is hilarious, to the point where a lot of clueful people will state that they don't pay any attention to the list due to irrelevancy. :) > -Original Message- > From: Hani Suleiman > To: Orion-Interest > Sent: 4/21/01 4:35 PM > Subject: RE: .zip files and solaris > > Yes, surprise surprise, there are in fact ways of unpacking zipfiles on > Solaris. Who would have guessed. Whatever next, being able to unpack > them > on linux, or evenWindows?! Such craziness. I wonder what innovations > we'll have NEXT year! > > How about people think for a second before posting: > > 'does what I am about to send to ORION-INTEREST have anything to do with > ORION?' > > Just a remind (yes, this is non-orion-interest specific, but will help > us > all live much happier lives), before you post to any technical mailing > list, so the following: > > 1) Determine if the problem is relevant to the list > 2) Check the mailing list archive > 3) Check google > 4) Reconsider > 5) Post > > On Sat, 21 Apr 2001, Tim Endres wrote: > > > Check your facts. > > Under Linux with JDK1.3.1rc1: > > > > time> jar tvf kp-051299.zip > > 0 Wed May 12 10:03:52 EDT 1999 exception/ > > 1956 Tue May 11 12:23:32 EDT 1999 exception/codebase.dat > > 5310 Fri May 07 16:11:46 EDT 1999 exception/exception.vjp > > 3609 Mon Feb 01 10:22:42 EST 1999 > exception/KPCareTeamAddrNotFoundException.java > > 2628 Mon Nov 23 13:20:52 EST 1998 > exception/KPClassNotInitializedException.java > > 3458 Tue Apr 06 15:51:56 EDT 1999 exception/KPGeneralException.java > > 2583 Sat Jan 30 13:32:36 EST 1999 > exception/KPInstantiationException.java > > ... > > > > So it works for me. > > tim. > > > > > That'll NEVER work for a zip > > > > > > > > > -Original Message- > > > From: Tim Endres [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, April 21, 2001 10:17 PM > > > To: Orion-Interest > > > Cc: Kemp Randy > > > Subject: Re: .zip files and solaris > > > > > > > > > jar xvf file.jar > > > > > > > > > > In development, I work with Orion on both Solaris and > > > > Windows 2000. But there must be an easier way of > > > > dealing with Orion and Jboss zip files. I use winzip > > > > to unzip them in Windows, and FTP the unzipped version > > > > to Solaris. Is there any third party software to > > > > unzip a zip file on solaris? Tar and tar.gz are easy. > > > > What does everyone use for Orion on solaris? I > > > > haven't addressed this question to my Unix > > > > administration folks yet, and I thought I would try > > > > here first. > > > > > > > > __ > > > > Do You Yahoo!? > > > > Yahoo! Auctions - buy the things you want at great prices > > > > http://auctions.yahoo.com/ > > > > > > > > > > > > > > > > > -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
Re: .zip files and solaris
You can find unzip for Solaris; check ftp://sunsite.unc.edu/pub/solaris/freeware, if I remember the path correctly. If you can't find it there, look for "unzip" at freshmeat.net and build it. On Sat, Apr 21, 2001 at 07:30:56AM -0700, Kemp Randy wrote: > In development, I work with Orion on both Solaris and > Windows 2000. But there must be an easier way of > dealing with Orion and Jboss zip files. I use winzip > to unzip them in Windows, and FTP the unzipped version > to Solaris. Is there any third party software to > unzip a zip file on solaris? Tar and tar.gz are easy. > What does everyone use for Orion on solaris? I > haven't addressed this question to my Unix > administration folks yet, and I thought I would try > here first. > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
Re: JSP tags
That is not acceptable to me ( well to me it is, but not our designers...) Prime directive : No scripts at all in a jsp page. My next question is therefore: Can a tag write jsp-code? Probably not... Hmmm, what about a TEI with an object bound to the page that either throws or not throws an exception? I'll try that, and if anyone has any better suggestion I'm very interested in those. Johan - Original Message - From: "Frank Eggink" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 1:43 PM Subject: RE: JSP tags > Johan, > > Guess you could throw the exception using a scripting element in the page. > > <% > if (yourBean.isNotAccessible()) { > throw new NoAccessException(""); > } > %> > > FE > > On Friday, April 20, 2001 4:23 PM, Johan Fredriksson > [SMTP:[EMAIL PROTECTED]] wrote: > > I'm trying to do a login check from within a tag. Checking the session > for a userid and then checking the required permits to that page. > > > > If it is a match my doEndTag returns EVAL_PAGE, if required permission is > missing, SKIP_PAGE is returned. > > > > This works, ie the user gets a blank page when not sufficient rights is > assoc with the user for that page. But I'd like to throw a > NoAccessException instead and let Orion handle that one with an errorpage. > > > > Tag newbie as I am, I cannot figure out how to throw that exception from > the tag and still be a correct tag. Just complains about not being > compatible with doEndTag() (TagSupport) > > > > Is there a way to get around this? > > > > Johan > > > > > > << File: ATT8.html >>
Re: On large programming teams [RE: A Swedish Idea]
- Original Message - From: "Frank LaRosa" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001 11:45 PM Subject: Re: On large programming teams [RE: A Swedish Idea] > Adding more programmers to a product early in its development cycle can pay > off. You have to add them early enough to account for the learning curve, > which slows down the project for a while as the new programmers learn and > the old programmers take time to teach them. > > The mistake most organizations make is adding more programmers after the > project is overdue without taking into account the learning curve. Good managers know this and account for it, and bad managers don't realize that this is an expense that can really add up. Turnover is VERY expensive. It becomes easier if your codebase is well architected, using common design patterns, and you have a well documented system (complete list of features, clear requirements list, functional specs, etc), but there still is the problem of learning how things are done at a company. This becomes even more critical on small teams. Unfortunately there are more bad managers out there than good ones (Peter Principle - in a hierarchically structured administration, people tend to be promoted up to their "level of incompetence". ). Unfortunately there are more poorly architected systems out there than good ones. All we can do is work with what we are given, and remeber that if the place sucks, you can leave. Even in this market, it's not that difficult to go out and find a new job that will make you happy, and will probably even pay more, bunches more (just remember, if you don't ask for more, you won't get it). > The best way to manage a late project is to cut the project's scope. The > next best way is to extend the due date. The worst thing to do is demand > more programming in less time, because this serves to reduce the quality of > the programming. Agreed. But even worse is demanding more programming, and expanding the project scope :) Seriously though, long hours are the spawn of satan. It's ok for a while if you NEED to crunch down and get something done, but as a way of life it sucks. You will be much happier and much more productive if you are able to get out and enjoy life, and aren't having to deal with your PHB hovering over you, or have to sit in meetings for hours because somebody likes to hear themself talk. Sorry I got a little off topic for Orion-Interest, but I was on a roll ;-)~ Noah Nordrum = > > > - Original Message - > From: "Frank Eggink" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Sent: Saturday, April 21, 2001 7:01 AM > Subject: On large programming teams [RE: A Swedish Idea] > > > > The following is one of the classic readings on programming at large. 25 > years old and I > > can still recommend it: > > > > "The Mythical Man-Month" from F.P. Brooks jr. > > > > Yes, it's even 26 years old and talks about OS/360, some odd system which > is now out > > performed by your 100$ marketvalue Pentium I machine, but programming is > done by > > humans which haven't much changed over the last 25 years. > > > > On the experience I have had so far with large projects I can only agree > with him. Changing > > one of his 'laws' slightly: > > > > "Adding more programmers to a product makes the product worse". > > > > > > So far I have not found evidence against this law ;-) > > > > FE > > > > On Thursday, April 19, 2001 3:06 PM, Jay Armstrong > [SMTP:[EMAIL PROTECTED]] wrote: > > > Generally, I agree with the comment about Micro$oft quality of code, > though > > > I've seen some pretty horrible code from outside the US, too. :) > > > > > > Bill Gates may be from the US, but Micro$oft employees come from all > over > > > the world. Visit Redmond, WA, USA and you'll see for yourself. > > > > > > At 09:50 AM 4/19/01 +0200, you wrote: > > > >And Micro$oft programmers are from...? > > > > > > > >I suppose that the country they're from produce the shittiest code of > em all > > > >:) > > > > > > > >Johan > > > >- Original Message - > > > >From: "Joseph B. Ottinger" <[EMAIL PROTECTED]> > > > >To: "Orion-Interest" <[EMAIL PROTECTED]> > > > >Sent: Wednesday, April 18, 2001 4:20 PM > > > >Subject: Re: A Swedish Idea > > > > > > > > > > > >> Personally, I'm becoming more and more convinced that not only is > Sweden > > > >> full of lousy programmers, but they're all lousy in congruent ways > just to > > > >> make the rest of the world's jobs harder. > > > >> > > > >> I say we all start using Bavarian products, if only because Bavarian > names > > > >> seem to have a better vowel/consonant ratio. > > > >> > > > >> Say, Randy... what country are YOU from? (That's the leading > indicator for > > > >> quality of code...) > > > >> > > > >> On Wed, Apr 18, 2001 at 08:49:24AM -0500, Kemp Randy-W18971 wrote: > > > >> > Now this may be a dumb idea, and I am just thinking up br