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
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. But i get the Exception when i test it used one client
application:
javax.naming.AuthenticationException: Invalid
tuff...
> }
>
> 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.
> > A working model is to create two Initial Context-s for each server.
> > Use a &qu
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
"java.lang.OutOfMemo
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
ragment will not be picked up from your shipping orion-ejb.xml, since a
> previous deployment already exists 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 carefull
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 di
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
direct
Answer:
orion-ejb-jar.xml
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 application that uses some EBs. The underlying data on whic
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.
Like always the ClassPath is a server-specific setting. On orion you might
want to check orion-web.xml in the war file. For the template you might want
to use the one created by orion when the app is first deployed. Then you
should add
to the xml file.
However due to many class-path iss
set
> exclusive_write_acesss= "false", I don't know if that effected this at
all.
>
> hope this helps,
> Roxanne
>
> Lachezar Dobrev wrote:
>
> > Hello.
> > I sent a message some days ago, to no avail. It didn't show up in the
> >list.
> &
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 last
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
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 eve
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 eve
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
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
Hi.
Recently I decided to try RMI-Http tunneling, but to no avail.
It hangs on any lookup for indefinite time. The rmi servlet is installed
correctly (http://localhost/servlet/rmi returns "405 Method Not Allowed").
The logs show initialization, but... It hangs... Just hangs.
I looked
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 probl
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 parent
smime.p7m
Description: application/pkcs7-mime
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 a
Counsult the docs. Look at the orion-web-application.xml
OR open the global-web-application.xml in you conf directory and set the
development="true".
Try. Quite nice I think.
BTW! I am still waiting for someone to give any idea of out-of-orion JSP
compilation.
I am trying to make
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 w
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:
>
>
>
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(boo
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
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 la
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 th
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 doc
> 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:
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
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 wha
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
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.
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
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 an
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
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
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. Fo
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;
public final void gb(ba ba1)
{
synchronized(eb)
{
> 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
> 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 resul
ction of the class instances.
>
> Lachezar Dobrev wrote:
>
> >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
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
webcontain
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 j
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
ion.
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 use
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
EXPLICITLY bind to the machine's IP
A.1.2 SAME cluster
configuration on all machines
If you want
you can use a nonstandard
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 on the cluster and
used. However if it is deployed on more than one machine... It is not found
Unsubscribe requests should be sent
to:
[EMAIL PROTECTED]
One can use in a servlet, or a JSP:
if ( session.getAttribute("logged_out") != null ){
response.sendError(response.SC_UNAUTHORIZED, "Logout...");
return;
}
Whenever you want your user logged out: set a session attribute called
"logged_out".
On the main page do not chec
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
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.
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
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.
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 meaningfu
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 any
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 EJBCre
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 a
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 =
(Vec
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 IA
machines
all running orion and having 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
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.
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
You are trying to use the JRE,
whilst Orion requires more stuff from the JDK itself.
Try to start in the Orion
directory:
/bin/java -jar orion.jar
Other thing: Check this NIO.DLL.
Whatever. It may be missing.
ANOther thing: Put the
c:\program\1.4\bin directory in the
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
:(
> 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
lection for the sending socket
to the framework. Thus you have only one port 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...
CAN I cluster a couple of Orion servers RMIs at all???
Thanks.
fine, but it's slower, has some problems 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.
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
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
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.ja
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 EJB
ind.server.rmi.RMIInitialContextFactory");
> 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 );
>
>
> -
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, th
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, th
79 matches
Mail list logo