Re: how to shutdown orion app server?

2002-04-29 Thread Lachezar Dobrev
Hi. Make sure you remove the'deactivated="false"' for admin in config/principals.xml Lachezar. Hi, I writed one EJB and deployed it successful on Orion 1.5.4. Buti get the Exception when i test it used one client application: javax.naming.AuthenticationException: Invalid

Re: Re: how to shutdown orion app server?

2002-04-29 Thread Lachezar Dobrev
Hi. Again. Now. The code seems correct. Except, the url, that MAY require to be of the type: ormi://localhost/Your_App_Name. If you have deployed your beans in an application, and NOT in the default APP, you HAVE to use the url with the app_name at the end. in config/server.xml

Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-19 Thread Lachezar Dobrev
doStuff() { FooRemote beanOne = getRemote(ormi://fred/app); FooRemote beanTwo = getRemote(ormi://wilma/app); // do stuff... } Will it work? Or is the remote going to get confused as to which server it points to? On Thu, 2002-04-18 at 00:53, Lachezar Dobrev wrote: Hi

Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-18 Thread Lachezar Dobrev
Hi. A working model is to create two Initial Context-s for each server. Use a dedicated.connection=true property to create the context. The dedicated.connection however leads to resource leakage, and if you keep creating more and more of them you will eventualy get

Re: how do I setup a datasource for mssql ?

2002-04-17 Thread Lachezar Dobrev
Change the url and the driver. You have miswritten them: url=jdbc:microsoft:. connection-driver=com.microsoft.jdbc.sqlserver.SQLServerDriver Lachezar Subject: how do I setup a datasource for mssql 1 2 3 4 5 6 7 8 9 From: alt.cybercafes [EMAIL PROTECTED] === I have tried setting up

Re: [orion-interest]Re: include orion-ejb-jar.xml in an ejb.jar ?

2002-04-12 Thread Lachezar Dobrev
in application-deployments. In this case you'd have to add in the bean manually to the deployed descriptor. Hope this clears this issue up. So please think carefully before deciding to scream out bug, or at least ask around! On 11/4/02 10:24 am, Lachezar Dobrev [EMAIL PROTECTED] wrote: Maybe I don't

Re: include orion-ejb-jar.xml in an ejb.jar ?

2002-04-11 Thread Lachezar Dobrev
Maybe I don't get it. What is the problem. When you redeploy the ear it should get the new DDs. However, I WILL recommend to delete the deployment dir before (re)deployment. Orion has a nasty bug, that ignores the DD in the jar/ear/war on redeployment. That is nasty. You should delete the

Re: include orion-ejb-jar.xml in an ejb.jar ?

2002-04-10 Thread Lachezar Dobrev
Hi. Yes. You may include an orion-ejb-jar.xml in the jar file. Orion wiull read it on deployment, mix-in the missing values, and then use that xml. Since orion 1.4.8 the orion-ejb-jar.xml should be in the META-INF directory in the jar. Earlier versions had the deployment dd in another

Re: Werent current caller

2002-04-08 Thread Lachezar Dobrev
Hello. By the message, I would assume (correct me), that you have a parent/child relation. I may _guess_, that you are trying to use the parent to set something in the child (like the parent ID). If this is the case, you might _need_ to set the parent to be reentrant=true. That helped me.

Re: How can I make orion stop caching my EBs?

2002-04-08 Thread Lachezar Dobrev
Answer: orion-ejb-jar.xml entity-deployment . exclusive-write-access=false ... Lachezar - Original Message - From: Cristian Donciulescu To: Orion-Interest Sent: Monday, April 08, 2002 12:35 PM Subject: How can I make orion stop caching my EBs? Hello, I have an

Container does not passivate my beans.

2002-03-08 Thread Lachezar Dobrev
Hello. I sent a message some days ago, to no avail. It didn't show up in the list. My problem is, that Orion does not passivate my beans. I have tested both CMP and BMP, with NO success... I ran a test, which created 1 million bean instances. Orion kept up creating beans, until at

Re: Crap bytes in HTTP response

2002-02-25 Thread Lachezar Dobrev
Well... I don't really know what did you do to get this behavior (I am trying for about 6 months to do that, and could not), but that is LEGAL behavior. Look at the Transfer-Encoding: chunked header. That means, that the response from the servlet consists of several chunks. Line 1 ( the 4

Re: Problems configurating classpath

2002-02-19 Thread Lachezar Dobrev
If you want to squeeze everything out of your processor you might want to check the "java" startup parameters in order to highen up memory usage. Also if you are running under Win2k you might want to give higher priority to the java process, that orion is running within. On Linux it is

Re: log4J

2002-02-11 Thread Lachezar Dobrev
Hi. Short: Log4J is a logging facility implementation, highly configurable. Excelent. Long : Log4J is http://jakarta.apache.org/log4j/index.html Download and see. Lachezar hi all, Can u pls tell me what is log4J exactly and the use of it... i also haveone more problem i.e every

Re: orion + php

2002-02-10 Thread Lachezar Dobrev
Hi. In order for this setup to work you need to compile php as a stand-alone executable, name it php and put it in the execution path (/usr/bin/ may be a good location). Try it. Orion wraps the php pages with a CGI-servlet, which executes external commands to parse the files. Lachezar

RMI-HTTP(s)-Tunneling done. FYI!

2002-02-06 Thread Lachezar Dobrev
Hi. Lately I sent an email describing my problems with the rmi-http-tunneling. Many of you may have stumbled upon these problems. Well... I was able to run it, even over HTTPS! Problem description: The rmi-http-tunnel servlet bundled with Orion 1.5.2 (maybe other versions also) does

Re: HTTP 1.1 POSTgenerates duplicated response

2002-01-25 Thread Lachezar Dobrev
IE uses to call an url twice. I have come upon this behavior. I am not sure of the reason. I have also seen, that the default method for the HEAD request calls the GET method with a dummy HTTPServletResponse. It just returns the headers, that are sent by the servlet. This may be your

Error Deploying a COMPLEX ejb jar. Haven't seen that one.

2001-12-20 Thread Lachezar Dobrev
I have got a complex ejb-jar with a SSLB and an CMP-EB, which references itself. When deploying I receive: Auto-deploying Result_Server.jar (No previous deployment found)... Error compiling D:\Orion\applications\IntraPlan/Result_Server.jar: Internal error, unset persistence type for

Re: Using Apache with Orion Server

2001-12-18 Thread Lachezar Dobrev
smime.p7m Description: application/pkcs7-mime

Re: System.exit(0)

2001-12-17 Thread Lachezar Dobrev
Try removing shutdown hooks. That may however result in data loss, desync and so on. Lachezar Hi Folks, I try to exit Orion via System.exit() from within the running application server. This works fine. My problem is: This works only fine after Orion has completely initialized and

Re: Filters in Orion 1.5.3

2001-11-26 Thread Lachezar Dobrev
My personal bet: Shitty Autoupdate. Try autoupdating from 1.5.2 again. BTW. Test on 1.5.2. This may clarofy things up. Lachezar. Hi all My web-app doesn't work on Orion 1.5.3 with this error: 500

Re: OrionRemoteException: Error (de-)serializing object

2001-11-26 Thread Lachezar Dobrev
Exception says it all... This is a logn-time discussed problem/issue. Your Ejb methods should return the valid J2EE types: simple types, Serializable, EJBObject, Remote and Externalizable (I think). The ResultSet is none of the above. You should do something else. A Vector would be

Re: HttpSession creation

2001-11-22 Thread Lachezar Dobrev
Hello. Trying to stop a session from being created is not valid. Sessions are not user-dependant. Sessions are a handshake between a server and a client. You should have thought another way to do that. Maybe check if the user HAS authenticated. .getSession() and .getSession(boolean)

A word of warning: SwiftMQ and Resource providers.

2001-11-20 Thread Lachezar Dobrev
Recently looking at the Resource-Providers docs, and EAGER to use an external JMS for my MDBs I and a colleague decided to run the demos. As quite a surprise the demo run ok. The MDB did everything when a message was sent to the Queue. The BIG disappointment was, when we tried to do the

Re: Response has been already committed...

2001-11-17 Thread Lachezar Dobrev
Hello. Number one. That happens, if you try to sendRedirect in the body of the JSP. However the JSP is parsed to a Servlet, and it writes the JSP's body to the output stream. The problem is, that when the sendRedirect is found later in the body the output of the Servlet can become quite

Re: Trouble with session between JSP and Servlet

2001-11-13 Thread Lachezar Dobrev
Hello. I had the same problem. It was because of the browser. JSP location: http://myserver.com/Init.jsp The JSP redirected to the Servlet after it does it's job. BUT! The redirection went to: http://www.myserver.com/servlet/MyServlet The browser (IE) did not recognize

MR: JSP Compilation Questions and More. Additional.

2001-10-16 Thread Lachezar Dobrev
Hello all, try to use Oracle JSP, thera are a offline jsp-compiler. Hi. Thanks for your suggestion. However I do not need an otside compiler. In any case I can use JspC in tomcat, but that is NOT what I wanted. I want to do this the way Orion does it. So I need to do something like:

Re: JavaMail problem

2001-10-16 Thread Lachezar Dobrev
Hello Justin. As I see it, this is not JavaMail problem. The message "550 Relaying denied" is standard SMTP message sent from the SMTP server. Depending on the type of your SMTP server this is solved differently. Consult you SMTP administrator or, if it is you, check the

Re: JSP Compilation Questions and More.

2001-10-15 Thread Lachezar Dobrev
Hello. is this a speed issue? NO! if so, use jikes. it's so fast that you don't need to precompile JSPs. I use it. I need to compile the JSPs without running Orion. Lachezar

JSP Compilation Questions and More.

2001-10-12 Thread Lachezar Dobrev
Hallo all! Recently I've been playing around with JSP compilation in Orion. I saw a couple of days ago a question about the out-of-the-server (stand-alone) compilation of JSPs. Quite some job :( I tried to find the compilator. Playing around I got some things. I don't really remember

Re: Error Accessing an EJB through a Bean

2001-10-11 Thread Lachezar Dobrev
Hello. INLINE. We created a Bean to access an EJB from JSPs. First we tested the Bean from a Java Client and everything worked fine. Then we copied the Bean to the Orion server and tried to acces the EJB by using a JSP that instanciates the Bean that accesses the EJB. But we can not

Q: Which jdbc JNDI location should I use for my CMP EJBs?

2001-10-02 Thread Lachezar Dobrev
something serious here. BTW. An explanation on each location, and it's use would be GREAT! May the shade of the tree strengthen you. Lachezar Dobrev.

Oracle questions (Slightly OT)

2001-09-13 Thread Lachezar Dobrev
Hello group. I have urgent need of advise. I use an Oracle DB. And I have problems. 1. When using a ThinDriver I can not save large strings, and it is a must for me. 2. When using Oracle-Odbc-Jdbc-Ejb I can save the large strings, but... Orion gets a lot of SQL exceptions, because

Re: Apache as front-end (orionsupport.com)

2001-09-03 Thread Lachezar Dobrev
Title: RE: Apache as front-end (orionsupport.com) That is correct. That is why the Apache has to REWRITE the links. That is the main concern, the Redirect has to be rewriten. If you use relative links you will not have any other problems. Well , We work with the frontend tag and

Re: Not in an application scope

2001-09-03 Thread Lachezar Dobrev

Re: Help needed

2001-09-01 Thread Lachezar Dobrev
Hi. I'm trying to get Orion Server to start as a non-root users on Red Hat 7.1. I know I need to forward the port from 80 to something above 1024. Does any one know how I can do that with iptables. I've never used it before. ipchains -I input --protocol tcp \ --destination-port 80

Re: Re[2]: Help needed

2001-09-01 Thread Lachezar Dobrev
Hello. I'm trying to get Orion Server to start as a non-root users on Red Hat 7.1. I know I need to forward the port from 80 to something above 1024. Does any one know how I can do that with iptables. I've never used it before. LD ipchains -I input --protocol tcp \ LD

Re: Concurrency

2001-08-06 Thread Lachezar Dobrev
More info: Took me some time to see, that you are using 1.4.5 as I think (maybe even more recent, but definitely not the latest 1.5.2). com.evermind.server.rmi.RmiServer has: java.util.List eb; snatch public final void gb(ba ba1) { synchronized(eb) {

Re: Concurrency

2001-08-06 Thread Lachezar Dobrev
Hi. Reposting this message. the next has already been received. This list lacks stability a lot. Not sure, if this has something to do with your problem. 1: java.util.List is an Interface. You can't have the Interface live, except in a class/object, implementing this interface.

Re: Very Strange problem with a static varible on a jsp

2001-07-27 Thread Lachezar Dobrev
I see what you mean. Good. So it seems that the only solution to be sure a class is not unloaded is to make your own class loader for that class. Unfortunately, this solution can not be applied to a servlet. Or make a singleton to keep the class loaded. I do this, and it works. Even

Re: Very Strange problem with a static varible on a jsp

2001-07-26 Thread Lachezar Dobrev
Hello, Your objection makes sense, but here is sometrinh from the JVM specification from SUN: 2.17.8Unloading of Classes and Interfaces A class or interface may be unloaded if and only if its class loader is unreachable. The bootstrap class loader is always reachable; as a result,

Re: Very Strange problem with a static varible on a jsp

2001-07-25 Thread Lachezar Dobrev
Hi. This MAY be totally wrong, but I have seen that in a different place in a different problem, in a different need. I got the same thing. Problem: Static varialbles are being reset from time to time. My Answer: The lifetime of the Servlets/EJBs/JSPs is defined by how the

Advanced OR_Mapping 1-to-N-to-N possible?

2001-07-04 Thread Lachezar Dobrev
I have this situation: class Enterprise1Bean implements EntityBean { public java.util.Vector elements; public static final Class elements_type = Normal_Java_Bean1.class; public void setElements(java.util.Vector newElements){ elements = newElements; } public

Re: HELP on MessageDrivenBeans

2001-06-28 Thread Lachezar Dobrev
Hi. I did look at the ATM example. That's the thing : in ATM the message driven bean does not declare ANY topic or connection factory. Only the publishing session bean declares them. Now, how do they make the connection between the MDB and the topic/topicConnectionFactory declared by the

Re: RMI Clustering done. Now want more.

2001-06-18 Thread Lachezar Dobrev
. This might be as well mentioned on OrionSupport or OrionServer. THIS IS A JVM ISSUE. NOT ORION SPECIFIC! Lachezar Dobrev Software developer LSN Software and Telecommunication services Sofia, Bulgaria i've got clustering working for our app but haven't used the rmi.xml clustering settings

RMI Clustering HOW-TO.

2001-06-17 Thread Lachezar Dobrev
OKAY. Here it goes. Prerequisites. (tested on 1.5.2 problems on 1.4.5) A. Setting up the cluster. A.1. RMI.XML: A.1.1 EXPLICITLYbind to the machine's IP rmi-server host="machine_ip_or_adress" A.1.2SAME cluster configuration on all machines cluster username="clusteruser"

Re: how do I unsubscribe?

2001-06-15 Thread Lachezar Dobrev
Unsubscribe requests should be sent to: [EMAIL PROTECTED]

RMI Clustering done. Now want more.

2001-06-15 Thread Lachezar Dobrev
Hello. OK. I was able to (at last) run the RMI clustering. It now works. But... I have a question... Now I can put up a cluster, and when a bean does not exist on the server it is searched onthe cluster and used. However if it is deployed on more than one machine... It is not found on all

Re: Force Logon after X minutes

2001-06-14 Thread Lachezar Dobrev
One can use in a servlet, or a JSP: excerpt if ( session.getAttribute(logged_out) != null ){ response.sendError(response.SC_UNAUTHORIZED, Logout...); return; } end excerpt Whenever you want your user logged out: set a session attribute called logged_out. On the main

RE: Security bug with application clients? (More Info)

2001-06-13 Thread Lachezar Dobrev
Hello. Here I want to provide more information on the problem. Just for clarification. The problem is NOT the security itself. It works just fine. The problem lies IMHO in caching or something. It is also seen only in the RMI connection. EXAMPLE: Consider following situation: We

Deployment descriptors autocopy?

2001-06-13 Thread Lachezar Dobrev
I guess... I'll ask just for the sake of it. I have a complete J2EE Application. EJBs, WebClient and an ApplicationClient... However. I have orion-application.xml. I also have predefined data-sources.xml and principals.xml. So. I have them registered in the orion-application.xml,

Re: Error in deploying CMP bean in 1.5.2

2001-06-13 Thread Lachezar Dobrev
Hi. Check your deployment descriptor ejb-jar.xml in the META-INF directory in the jar file. I think you have a property (variable) that containg some whitespace (space, tab, enter). That is not permitted. Lachezar Hi All, I am new to Orion app. server. I am trying to deploy a

Re: Security bug with application clients?

2001-06-12 Thread Lachezar Dobrev
WRONG!!! As I see it... There is nothing in the post, that says SESSION or HTTP or JSP or SERVLET. I have stumbled upon this problem many times. I've raised that question on this list many times. However... Except for threads like "Orion deal blah, blah" I hardly see any meaningful mail

Web-security-constraints URGENT help needed!

2001-06-12 Thread Lachezar Dobrev
Preface: I have a password protected site. Servlets, JSPs and pages. Requirement: I want to disable security checking for CERTAIN items. Question: Simple: Can I and How Do I? Looking forward to hearing from you. Lachezar.

Re: Simple Clustering Question

2001-06-10 Thread Lachezar Dobrev
Hi. you need a switch which has multicast enabled; (most ethernet switchs have this capability, some just don't have it enabled) That is not true. Multicast is a network service. It is of type send-on-receive-anyone. That means, that one packet is send and it is received by anyone,

Re: Generate and save a file

2001-06-06 Thread Lachezar Dobrev
I personally use upload via HTTP from the EJB. Noone says i have to stop using Client sockets :))) Lachezar. BTW. U can use streams in Orion. Try not to :))) [This might show up twice. I waited two days before sending it again] Hi! I need to save a file to disk from EJBCreate()

Re: need for error explanation

2001-06-01 Thread Lachezar Dobrev
Hya. It seems to me, that you are trying to use something, that is specific to Inprise Application Server (IAS). The "com.inprise.*" package contains the IAS (BAS) classes. I had similar problems when migrating from IAS to ORION. Check your code... Maybe there are things that are in

Re: Problem with jsp pages

2001-06-01 Thread Lachezar Dobrev
Hi. I guess by the err log, that you are trying to use this method in a JSP page. As by the specs in a JSP to get a reference to the cotext you should use the "pageContext" object, that is found in every JSP page. Why not give it a try? TRY: Vector vectorUsuarios =

Q: Am I the only one lagged?

2001-06-01 Thread Lachezar Dobrev
Am I the only one, that receives messages more than three hours after he has sent them? It happens that I look silly, when answering questions, that have been answered 5-6 times, before my message is received... And also it's quite annoying to me to see my questions a couple hours after

Re: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Lachezar Dobrev
Hya... Got a reply for you :). I use Apache as a front-end server. I use Orion to store my EJBs, and I use Jakarta-Tomcat to deploy servlets and JSPs. Just put the Tomcat and Orion on one and the same machine, start tomcat with a classpath, that includes the jars of the Orion server. Put

Re: proxying orion with IIS or iPlanet Web Server

2001-05-30 Thread Lachezar Dobrev
them split the workload by clustering them? regards, Patrik -Ursprungligt meddelande-Från: Lachezar Dobrev [mailto:[EMAIL PROTECTED]]Skickat: den 30 maj 2001 08:50Till: Orion-InterestÄmne: Re: proxying orion with IIS or iPlanet Web Server Hya... Got a rep

How to contact Magnus? (was OR mapping)

2001-05-29 Thread Lachezar Dobrev
I badly need to get the fix for the OR mapping... Is there a source to get the fix/patch, or do I have to contact a developer? If so, how can I contact Magnus to get the fix. Needed BADLY! Lachezar

Shitty ORMap implementation in 1.5.1

2001-05-28 Thread Lachezar Dobrev
The com.evermind.server.java.ORMap does NOT implement in the correct way the java.util.Map interface. So... One is UNABLE to get the KeySet, or ValueCollection. What the heck is that?? Sincerly dissolved: Lachezar :(

Re: Cannot start orion using JDK1.4

2001-05-28 Thread Lachezar Dobrev
You are trying to use the JRE, whilst Orion requires more stuff from the JDK itself. Try to start in the Orion directory: path to the JDK/bin/java -jar orion.jar Other thing: Check this NIO.DLL. Whatever. It may be missing. shrug ANOther thing: Put the c:\program\1.4\bin

Re: Orin cpu usage ???

2001-05-21 Thread Lachezar Dobrev
Thanks peter, The javac is indeed linked to .java_wrapper, but to me it's not clear what I should change such that it works in classic mode. Neither do I find anything about that in the man pages. Doesn't anyone knows how to execute java -classic .. on a Linux box ?? Eddie Not quite

TO THE DEVELOPERS: java.net.SocketException: socket closed

2001-05-10 Thread Lachezar Dobrev
reserved for sending (in sollution two you get a different port for every sending socket you create). Can't help more. No source :) BTW. I'm still curious how to cluster RMIs on a couple of Orions... Be well. Lachezar Dobrev May the shade of the tree strengthen you.

Simplifying the complicated...

2001-05-09 Thread Lachezar Dobrev
CAN I cluster a couple of Orion servers RMIs at all??? Thanks.

Somehow complicated question... URGENT help needed.

2001-05-08 Thread Lachezar Dobrev
with the EJB-2-EJB connection and is EXPENSIVE! I really would like to run on Orion. Looking forward to hearing from you all. Lachezar Dobrev. May the shade of the tree strengthen you.

Look at www.orionsupport.com?!?!

2001-04-26 Thread Lachezar Dobrev
This is DEFINITELY not good! javax.servlet.jsp.JspTagException: Could not perform XSL transformation: javax.xml.transform.TransformerException: File http://my.netscape.com/publish/formats/rss-0.91.dtd; not found.at

Re: 1.4.8

2001-04-26 Thread Lachezar Dobrev
Ahm... Downloading you get 1.4.5 Autoupdating (RTFM) you get 1.4.8 currently... That's it. Lachezar It seems that everyone on this list is using at least 1.4.7, whereas I cannot find anything more recent than 1.4.5 on www.orionserver.com. Where are you guys getting these more

How to cluster more than one Orion on a net.

2001-04-25 Thread Lachezar Dobrev
I need to know how does Orion (and if it can at all) cluster. Excuse my bad English. I mean: I have a couple of EJBs. I need to deploy them on more than one machine to unleash more computing power. However I am not aware of the way. I mean. I was really able to open a connection to an

Re: How to connect to an Orion Ejb from outside?

2001-04-20 Thread Lachezar Dobrev
); ht.put(Context.PROVIDER_URL, "ormi://MyServer/MyApplication"); ht.put(Context.SECURITY_PRINCIPAL, "admin"); ht.put(Context.SECURITY_CREDENTIALS, "abc123"); Context ctx = new InitialContext( ht ); - Original Message - From: "Lachezar Dobrev" [EMAIL

Newbie Question...

2001-04-19 Thread Lachezar Dobrev
Until now I have developed EJBs for use with a CORBA broker. However, I did not see such a thing in ORION. Question: How (and can I) do I adress EJBs from my outside-of-orion applications? I was able to create a couple of basic EJBs. Well... Had to move them to ORION. My problem is,

How to connect to an Orion Ejb from outside?

2001-04-19 Thread Lachezar Dobrev
Until now I have developed EJBs for use with a CORBA broker. However, I did not see such a thing in ORION. Question: How (and can I) do I adress EJBs from my outside-of-orion applications? I was able to create a couple of basic EJBs. Well... Had to move them to ORION. My problem is,