RE: How do you shut down orion after it's initialized
Are you sure you are running this from the directory where orion is installed. Verify admin.jar is in the directory that you are running this script. Alternatively, cd to the orion directory and run it from there. -Atul -Original Message- From: James Beeson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 9:41 AM To: Orion-Interest Subject: Re: How do you shut down orion after it's initialized I did not have the admin user deactivated (althought that was a good tip- thanks!) When I use the command: java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown I get: Exception in thread main java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) And then Orion is left running. Could that be related to the error it prints out when Orion starts (here it is): Warning: Error reading transaction-log file (/C:/orion/persistence/transaction.state) for recovery: premature end of file Forced or abrubt (crash etc) server shutdown detected, starting recovery process ... Recovery completed, 0 connections committed and 0 rolled back... Orion/1.5.2 initialized But then the app runs fine. I currently don't have a transaction.state file. Why won't it let me shut down Orion? Thanks _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
RE: Multiple data sources for each application
Steve, Do you know if CMP Entity Beans deploy if the connection pool is established programatically? Because in this approach the connection pool is established, after the EJB jars have been deployed. Thanks, -Atul -Original Message- From: Stephen Davidson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 09, 2001 4:06 PM To: Orion-Interest Subject: Re: Multiple data sources for each application You can also create them programmatically, and then bind them to the JNDI tree. But unless you are doing something really weird (I am working on one such app, multiple database schema with identical tables), I would recommend the approach that Jeff is advocating. -Steve Jeff Hubbach wrote: It's at the application level. You specify a data-sources.xml file in the orion-application.xml, and this can be a different data-sources.xml file for each application. Jeff. On Tue, 09 Oct 2001 09:46:52 -0400 Doshi, Gunjan [EMAIL PROTECTED] wrote: I believe it is at the server level. I put all the datasource declarations in data-sources.xml file in config directory and it works great. I never tried using the global datasource.xml file Gunjan -Original Message- From: Setlur, Atul (MED) [mailto:[EMAIL PROTECTED]] Sent: Monday, October 08, 2001 8:17 PM To: Orion-Interest Subject: Multiple data sources for each application Does Orion support specifying of the data-sources at the application level? i.e., for each application (ear) specify the database connection pool settings within it vs. the global data-sources.xml configuration file. Thanks, -Atul -- Stephen Davidson Java Consultant Delphi Consultants, LLC http://www.delphis.com Phone: 214-696-6224 x208
RE: Orion and Virus Checking
Hello John, You could implement something like yahoo and hotmail do. Where in when the file has been uploaded run the anti-virus software using a System.exec(). Assuming your anti-virus software signals a virus with a return code, you could accordingly notify the user there is a problem and delete the file. Alternatively, if the file is clean, you can move the file to your repository. Hope this helps. -Atul -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Friday, October 05, 2001 7:49 AMTo: Orion-InterestSubject: Orion and Virus Checking Hi, I am developing an intranet application for uploading files to a central server using Orion,EJB, JSP etc.. on a Win 2k platform and have realised that there might be a potential problem. Files that are uploaded could contain a virus so I need some method of scanning them. The obvious option is to have a virus checker on the actual server that scans at regular intervals. But, was wondering if anyone had ever encountered a problem like this and whatthey did. Did you use some java app to scan for any virus etc.. Any information on your experience or any ideas would be appreciated. Many thanks, John Miller Analyst ProgrammerIT DepartmentBMG Entertainment UK Ireland LtdBedford House, 69 Fulham High Street, London SW6 3JW Email: [EMAIL PROTECTED]Phone: +44-(0)20-7384 8102 Fax: +44-(0)20-7384 7872 Confidentiality Notice: The information in this e-Mail message is confidential and for the use of the named recipients only. The information may be protected by privilege, work product immunity or other applicable law. If you are not the intended recipient - the retention, dissemination, distribution or copying of this e-Mail message is strictly prohibited. If you receive this e-Mail message in error, please notify me immediately by telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
Multiple data sources for each application
Does Orion support specifying of the data-sources at the application level? i.e., for each application (ear) specify the database connection pool settings within it vs. the global data-sources.xml configuration file. Thanks, -Atul
Limit CPU utilization by Orion
Hello, Does any one know if Orion allows specifying a number for the execute thread count. Weblogic allows this to be configurable; in WebLogic, this value controls the number of simultaneous operations that can be performed by the WebLogic Server. This allows us to restrict the maximum resources the App Server can ever grab. Are there any equivalent options on Orion that will allow us to apply a throttle and control the CPU utilization even under high load. We have multiple processes running along with the App Server; if the App Server ends up hogging the CPU, puts too much load, it will result in degradation of performance for the other applications. One workaround I guess is that we could specify a lower priority on Solaris. But is there a configuration parameter that restricts the CPU utilization by Orion? Thanks, -Atul
Java HotSpot Server VM
Has anyone compared the performance of their application running using the HotSpot Clinet VM versus the HotSpot Server VM? I would be interested in knowing if they found a significant variance in the numbers. Additionally, what VM execution parameters has anyone tweaked to improve performance? On the line of performance, is there a reference to performance tuning for the Orion App Server? Any information would be appreciated. Thanks, -Atul
RE: big text in string as object over the network:
You need to select the row for update, then open a stream and write the string by opening an output stream. I am including a link to the Oracle documentation: http://oradoc.photo.net/ora81/DOC/java.815/a64685/oraext4.htm#1043272 Hope it helps. -Atul -Original Message- From: Tobias Streckel [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 8:13 AM To: Orion-Interest Subject: Re: big text in string as object over the network: It dosn't work with a StringBuffer object. I will get the same error message, I think it was a connection problem - but I don't know what to do? Anyone a idea? -Ursprüngliche Nachricht- Von: Jens Stutte [EMAIL PROTECTED] An: Orion-Interest [EMAIL PROTECTED] Datum: Donnerstag, 21. Juni 2001 14:36 Betreff: AW: big text in string as object over the network: This may be related to an old Java problem, that strings over 65535 characters or so could not be serialized. I don't know, by when if ever it was fixed by Sun, but try using StringBuffer instead. If this works, you found the problem... Regards, Jens Stutte -Ursprüngliche Nachricht- Von: Tobias Streckel [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 21. Juni 2001 13:07 An: Orion-Interest Betreff: big text in string as object over the network: Hello, if I want to save a String(he is in a object which will save in a Oracle DB as a BLOB) I get by huge texts a Error: com.evermind.server.rmi.RMIConnectionException com.evermind.server.rmi.OrionRemoteException: Disconnected: Disconnected Have anyone a answer why it doesn't work? Thanks Tobi
JMX support on Orion
Title: RE: modifying log levels through a management console Hello Everyone, I am trying to find out information about support for JMX on the Orion App Server. Is there any support for JMX? Does Orion provide aremote management console? What information is available for remote monitoring? I would appreciate any information in this regard. Thanks, -Atul