Then ln the welcome.jsp file in a protected area. Or in windows copy it.
Klaus
-Opprinnelig melding-
Fra: Gerald Gutierrez [mailto:[EMAIL PROTECTED]]
Sendt: 3. februar 2001 01:58
Til: Orion-Interest
Emne: RE: Form Login bouncing me to welcome page!
Well I don't want the welcome.jsp
You shouls check out the getConnection implementation on the datasource.
It gets a reference it pass on to the client, so the client need to have the
jdbc interfaces to do this, but it dont need the database drivers. It works
much like the same way as an entitybean works (datasources)... Have
Here it is :)
http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
Here everything is described in detail.. Can be hard to read if you dont
know the XML DTD notation...
Have fun.
Klaus
-Opprinnelig melding-
Fra: Alberto Yano [mailto:[EMAIL PROTECTED]]
Sendt: 5. februar 2001 13:44
Til:
with the
implementation of post create.
Inserts is generally not as performance critic as selects, since inserts
usually is less data than the selects going through thte databases... That
is why you seldom has to tune an insert :)
Klaus Myrseth
-Opprinnelig melding-
Fra: Jeff Schnitzer [mailto:[EMAIL
Ironflare is the reason why its been silent here for a couple of months :)
Orion team has made a new company with the name Ironflare... They was a part
of Evermind before.. Now they have more possabilities to expand and so on.
Klaus
-Opprinnelig melding-
Fra: Sean Pau [mailto:[EMAIL
ception(ex);
}
// .. do some JDBC stuff
conn.close();
Hope this helps you further :=)
Have fun!!
Klaus Myrseth
-Opprinnelig melding-
Fra: Burr Sutter [mailto:[EMAIL PROTECTED]]
Sendt: 31. januar 2001 15:21
Til: Orion-Interest
Emne: Re: R: R: frustrated - jdbc: No suitable driver
ception ex) {
throw new EJBException(ex);
}
// .. do some JDBC stuff
conn.close();
Hope this helps you further :=)
Have fun!!
Klaus Myrseth
-Opprinnelig melding-
Fra: Burr Sutter [mailto:[EMAIL PROTECTED]]
Sendt: 31. januar 2001 15:21
Til: Orion-Interest
Emne: Re: R: R:
Whops sorry about the last message, didnt read everything :)
But anyways you have to set up the driver and url for that server, or
nothing will work at all...
Laters!! :)
Klaus
-Opprinnelig melding-
Fra: Roger Vaughn [mailto:[EMAIL PROTECTED]]
Sendt: 30. januar 2001 14:47
Til:
th session beans
do a remote.remove() when done with the session bean in the client...Many
dont do this, and then they get humongus memory problems very fast
:)remember corba dont do distributed GC like RMI does
Now have fun!! Hope you get it working :)
Regards
Klaus Myrseth
-Opprinnel
Are you using kernel 2.4? If so the ipchains thing is changed :)
Are you enabling packet filter? I dont remember how to but echo to some
file and it should work...Mine does :)
Klaus
-Opprinnelig melding-
Fra: David Morton [mailto:[EMAIL PROTECTED]]
Sendt: 22. januar 2001 17:15
Til:
There is one thing you have to remember conserning sybases JDBC driver. You
have to install the procedures (a script file coming with the driver) before
it works correctly. Other then that i have been using 11.5.2 and 11.9.2 +
12.0 without any problems, actualy I am impressed by how well the JDBC
Well i do not think its the driver... Weve been using this one for a long
time, and it works perfectly for us.
Were allso serving lots of users through Orion though, so Orion drives the
connection pool against the database.
But it will not work any good without the procedures following the JDBC
You work with EJBs inside another EJB the same way as you do inside a JSP
Remember you have to use the JNDI name, not the home interface name, so a
lookup("ejbSomeExample") will ofcourse return the home interface :)
Hope this helps (ps remember ejb-refs to the objects you wish to use from
the
This
might be a native call exception... The EJB spec says native code is not alowed,
so this might be your problem. I am not sure though :)
Hope
this helps or youll get a better answer from someone who have got this working
(preferably)...
Klaus
-Opprinnelig melding-Fra: Brett
Well i was thinking twize about answering this mailEsp because of your
language...But hey
maby the list will fare better without you... Tip try check out the webpage
where you subscribed in the first place
There might just be a description on how to get out of the list..
Klaus
For the new members of the list And those who didnt read the posting
Karl did just before X-mas ... :)
Orionserver is going out of Evermind to found their own company, this is why
it has been silent.
Pls givem time, things like this is extremely timeconsuming, so if they
choose to leave us
Very true. PHP is a strange mix between java, perl and c++, but it has some
very interesting plugins that can speed development. PHP can allso use
javaobjects :) that is a nice feature.Even EJB.
Still when youve done a couple of JSP projects you are likely to have built
yourself a set of
You
might want to edit your java.policy file to make it run.
Seems
you have something there that isnt alowed, so you are not allowed to contact the
database.
Klaus
-Opprinnelig melding-Fra: urey
[mailto:[EMAIL PROTECTED]]Sendt: 26. november 2000
11:10Til:
got a flamebait here. But hey what are lists for!
:)
But
still the best advice is to not get all fired up now before x-mas :) gota have a
good holiday right! Merry x-mas everyone..
(guess
its my last post to the list before new years eve hehe)
Klaus
Myrseth
-Opprinnelig melding--
Its a html mail with a vcard attached :) so no problems there...
Btw for the original sender, I would appreciate if you sendt plain text to
the list, its hard to read your mail in pine :)
Klaus
-Opprinnelig melding-
Fra: J.T. Wenting [mailto:[EMAIL PROTECTED]]
Sendt: 19. desember 2000
) but uptime on
orionserver is very good.
Klaus
Myrseth
-Opprinnelig melding-Fra: Hitesh Jasani
[mailto:[EMAIL PROTECTED]]Sendt: 14. desember 2000
08:21Til: Orion-InterestEmne: Re: www.orionserver.com
down againThanks for the link!
You've got to be a little careful interpreting
- filename
contents:
?php
info();
?
If this shows a nice page with php information youre off and running :)
Klaus Myrseth
-Opprinnelig melding-
Fra: Joe Walnes [mailto:[EMAIL PROTECTED]]
Sendt: 12. desember 2000 13:07
Til: Orion-Interest
Emne: Re: Orionserver php
Yes it does, and very well
other than plain coding, but hey
thats timeconsuming compared to dd GUI development.
Klaus Myrseth
-Opprinnelig melding-
Fra: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sendt: 11. desember 2000 15:01
Til: Orion-Interest
Emne: Re: SV: Off topic: development tools
flamebait
Of course, you could
Remember times are closing in on normal release dates for software :)
So lets see what happens through January before we get shaky ...
Klaus Myrseth
-Opprinnelig melding-
Fra: J.T. Wenting [mailto:[EMAIL PROTECTED]]
Sendt: 7. desember 2000 13:03
Til: Orion-Interest
Emne: RE: Anyone
The licence dont matter on features, only legality when deploying in a prod
environment when you are running a commercial site...
Klaus Myrseth
-Opprinnelig melding-
Fra: Espen Kolstad [mailto:[EMAIL PROTECTED]]
Sendt: 5. desember 2000 11:56
Til: Orion-Interest
Emne: RE: Few Important
Use optimistic locking..
All updated data gets a timestamp and all retrieved data keeps the
timestampBefore update compare the timestamp, if its a match noone has
done an update. If it dont match you should refuse the update and give the
user a message about this.
Problems with webbrowsers
If its
datetime you are talking about, add this to the data database-schema definition
to sql-server:
type-mapping
type="java.util.Date" name="datetime" /
java.io.Serializable is the mapping for varbinary, to
use image add the following to the database-schema:
type-mapping
I dont know what database youre using, but if I where you i would turn
around that query definition, so the optimizer can do its work + maby fix
problems like the one youre meeting...
if you try $username like $1 you are more likely to get a match, AND speed
:)
Another thing you can try is run
The easy way is to use java.util.Date instead, this maps to Datetime
datatype, works for me.
Klaus
-Opprinnelig melding-
Fra: Somdeth Souvanlasy [mailto:[EMAIL PROTECTED]]
Sendt:22. november 2000 11:37
Til: Orion-Interest
Emne: database schema mapping and MS SQL Server
If you choose to go to Message Driven EJB2.0 beans, you can use JMS to
achieve what youre after.
This is the only way of doing asyncronus calls to the buissiness layer...
And youre right threading is not allowed in EJB..
Klaus
-Opprinnelig melding-
Fra: Juan Lorandi (Chile)
Sounds like a datasource error, this kind of errors I use to get if the
datasource is configured wrongly.
Same if there is a deadlock in the database this will allso happen some
times.
Hope this helps..
Klaus
-Opprinnelig melding-
Fra: Tim Squires [mailto:[EMAIL PROTECTED]]
Sendt:
fun..
Klaus Myrseth
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sendt: 15. november 2000 18:52
Til: Orion-Interest
Emne: specify datasource for entity bean
Hi,
I may have missed it in the docs but I can't figure out how to configure
the datasource a CMP entity
Do
anyone have an idea of a general (multi appserver) way of spesifying the table
name of an entity bean in the EntityBean?
I am
required to have a complex JNDI paths so i can't use ejb-name tag.
Please
if anyone knows, i would appreciate if they share it with me
:)
Klaus
Myrseth
You allso have the ejb tag library. It should be on the orion site
somewhere. then i think you can use ejb:useBean This one is used for
JNDI lookups and so on.
Good luck!
Klaus
-Opprinnelig melding-
Fra: Sean P. McNamara [mailto:[EMAIL PROTECTED]]
Sendt: 11. november 2000 18:00
Here is an example of a bean lookup method:
private SomeEntityHome getSomeEntityHome()throws NamingException {
Context context = new InitialContext();
SomeEntityHome home = (SomeEntityHome)PortableRemoteObject.narrow(
context.lookup("java:comp/env/ejb/SomeEntity"),
Ahh i forgot something very important for your web application using the
session/entity bean in question (web.xml)...
You have to define ejb-refs for the beans you want to use, or you will not
find the bean from the JSP...
Here is an example of an ejb-ref you can put in the bottom of your
Title:
Ok to
get logs that is more descriptive edit the log tag in
default-web-site.xml
Here
is the one i use with analog:
access-log path="../log/web.log" format="$ip -
$user [$time] quot;$requestquot; $status $size
quot;$refererquot; quot;$agentquot;" split="day"
suffix="yyMMdd" /
service
SET ORIONMINMEM=512m
SET ORIONMAXMEM=1024m
SET ORION_HOME=e:\orion
jnt "/InstallAsService:Orion Server" "/SD%ORION_HOME%" -mx%ORIONMAXMEM%
-ms%ORIONMINMEM% -jar orion.jar -console -out orion.out -err orion.err
echo * Orion: done.
@echo on
Klaus Myrseth
Seni
A
possible problem is that you have forgot to add ejb-refs for the beans you wish
to use from your bean on your bean in the deployment descriptor (ejb-jar.xml) in
the bean jar file.
Then
you will get problems like this...
Klaus
-Opprinnelig melding-Fra: Duffey, Kevin
Title: MYSQL, Orion, EJB and transactions ??
You
can use the database that comes with Orion Hypersonic SQL. Its a java database
and works great for things like that. If you want to use an object database
download forte 2 internat edition (beta), it has the Pointbase database
enclosed, that
Check if you have added your correct ejb-refs in the web.xml file for the
web application youre using the servlet from. The application-client.xml is
for applets and applications, while the ejb-refs for servlets and jsps are
defined in the web.xml file
Hope its something like this and not a
Post it in bugzilla so the orion team gets the notice.
Klaus
-Opprinnelig melding-
Fra: Richard E. Sansom [mailto:[EMAIL PROTECTED]]
Sendt: 25. oktober 2000 19:42
Til: Orion-Interest
Emne: Re: HELP! orion + Linux + native threads
Sorry for including that other stuff at the end of my
Is it the opesource project: jsrvany? (http://jsrvany.sourceforge.net)
There isnt any JNT stuff out there that i can find...
Klaus
-Opprinnelig melding-
Fra: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sendt: 26. oktober 2000 01:26
Til: Orion-Interest
Emne: RE: Orion as NT4 Service
We
Bean managed entity beans with pooled connections. Make yourself a
ConnectionFactory object that does jndi
lookups based on what user settings and do your query after that.
This will, as long as the db.schema is identical work without modifying your
sql
Klaus
-Opprinnelig melding-
Actualy the windows version of the Sybase database is just as pleasant to
work with as SQL server when you use the gui tools. And a bg advantage
is that the jdbc driver that is made for the database is very pleasant to
work with :), and when you need extra performance you can set the server
wap.hjemmenett.no is running Orion 0.6.2 :)
Klaus
-Opprinnelig melding-
Fra: Jason Rimmer [mailto:[EMAIL PROTECTED]]
Sendt: 20. oktober 2000 08:00
Til: Orion-Interest
Emne: Re: Orion Powered Sites
Results from NetCraft's "what's it running?" tool,
http://www.netcraft.com:
run
java -jar orion.jar -install
Then
youll be prompted :)
Klaus
-Opprinnelig melding-Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sendt: 11. oktober 2000
03:43Til: Orion-InterestEmne: RE: New 2
Orion.Where is
"youradminpw" configured? Presumably one of the
ME/jre/lib -s
Fire and forget :))))
Klaus Myrseth
-Opprinnelig melding-
Fra: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sendt: 11. oktober 2000 13:59
Til: Orion-Interest
Kopi: [EMAIL PROTECTED]
Emne: Blackdown 1.3 rc1
In case any of you don't know (I didn't until a few minutes ago),
Add more memory to the vm :)
Klaus
-Opprinnelig melding-
Fra: Sarathy Mattaparti [mailto:[EMAIL PROTECTED]]
Sendt: 9. oktober 2000 20:00
Til: Orion-Interest
Emne: Performance
Hi,
Previously i used Pentium III 550 MHz and 64 MB RAM and i bought a new
computer its Dual Pentium III
true true :)
Well you are prolly using EJB's right .
One way to get around this is to start orion with more memory avail than
default that is 64Mb or so. There is another thread discussing this on the
site. And when youre not caching entity beans and just running pure jsp you
have something you
Its because of the support for native threads :) (processes) switch to green
threads and you should be quit the problem i would believe :)
Klaus
-Opprinnelig melding-
Fra: Dale M. Boresz [mailto:[EMAIL PROTECTED]]
Sendt: 3. oktober 2000 16:17
Til: Orion-Interest
Emne: Re: 1.3.8 on NT
with iis is:
forget session tracking between the different servers, but you can easilly
call webpages inside orion from iis and present them in the same frame or
so.
You can allso use Suns rmi-com bridge to call biz logic if this one can run
with orionservers protocol.
Have fun!
Klaus Myrseth
CLASSPATH variable is worthless in orion...
You have to copy your jar to [orion]/lib directory, then it will be in your
classpath automatically.
Hope this helps :)
Klaus Myrseth
Telenor Mobil AS
-Opprinnelig melding-
Fra: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]]
Sendt: 28
Next
time you start orion start it like this: java -jar orion.jar
-install
then
choose a password for the admin user, i guess its disabled as it its when you
install orion (thats why the -install parameter)..
Hope
this helps :)
Klaus
-Opprinnelig melding-Fra: Kuno Baeriswyl
Cascading delete is something that some database servers support, so far i
havent seen anywhere that Orion is to support that in the buissiness layer.
What you can do is make your own ejbRemove implementation that will do a
cascading delete in a beanmanaged Entity bean.
Klaus Myrseth
Oi another thing
Object objref = initial.lookup("java:comp/Test2");
should be:
Object objref = initial.lookup("java:comp/env/Test2");
There now try and see what you get :)))
Klaus Myrseth
-Opprinnelig melding-
Fra: Harley Rana [mailto:[EMAIL PROTECTED]]
Sendt: 2
juse run java -jar autoupdate.jar
or if youre behind a firewall or something java -Dproxy.host=blabla
-Dproxy.port=666 -jar autoupdate.jar
Have fun :)
Klaus
-Opprinnelig melding-
Fra: Sanjay [mailto:[EMAIL PROTECTED]]
Sendt: 21. september 2000 15:51
Til: Orion-Interest
Emne: Re: How to
Try clear your ACTION so the form starts like this:
form
lots of html with a couple of fields for user and passwd...
/form
This works for me :)
Mvh
Klaus Myrseth
Telenor Mobil AS - PlanIT
-Opprinnelig melding-
Fra: Guilherme Ceschiatti [mailto:[EMAIL PROTECTED]]
Sendt: 20. september
to add your application to the classpath of the
webapplication.
Klaus Myrseth
Telenor Mobil AS
-Opprinnelig melding-
Fra: z2211829 [mailto:[EMAIL PROTECTED]]
Sendt: 18. september 2000 09:57
Til: Orion-Interest
Emne:
Hi all,
I have a urgent problem regarding EJB and servlet, I cannot find
Put the datasource of the database you want the tables to autodeploy in
first in the datasources-xml. Or remove autocreatetable support and deploy,
then edit orion-ejb.jar.xml to point to the right datasource, then enable
autocreate option and redeploy again.
Should work just fine :)
Klaus
Try get hold of the java edition of the sybcentral... Try rip it from an
installed Windows edition, i havent seen anything but classes and jars in
there so it wil hopefully work on linux and others aswell (ps, get hold of
the plugin )
Laters all..
Klaus
Ps, remember to get the plugin for the
ng the xml, hehe) and maby make a network
deploy option for orion and make that as a module for forte aswell..
Just a couple of thoughts ;)
Klaus Myrseth
-Opprinnelig melding-
Fra: Brett Lane [mailto:[EMAIL PROTECTED]]
Sendt: 14. september 2000 08:39
Til: Orion-Interest
Emne: IDE use
ersistance bean where you can toy around with the finder methods as
you like :)
Btw, important notice is: all findermethods implemented using like has to
return Collection not remote interface.
Have fun, hope this helps better :)
Klaus Myrseth
-Opprinnelig melding-
Fra: Nick New
Look at the benchmark page...
Against Apache and IIS its got no problems at all beating them into the
bushes. The url is enclosed, have fun...
Klaus Myrseth
-Opprinnelig melding-
Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
Sendt: 7. september 2000 08:40
Til: Orion-Interest
Look at the bottom of the page, thee is a link called old benchmark :)
It compares Apache, IIS and Orion...
Klaus Myrseth
-Opprinnelig melding-
Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
Sendt: 7. september 2000 11:46
Til: Orion-Interest
Emne: Re: SV: Performance for static
go to your oriondir and type the following:
With proxy: java -DproxyName=somehost -DproxyHost=someport -jar
autoupdate.jar
without proxy: java -jar autoupdate.jar
Good luck!
Klaus Myrseth
-Opprinnelig melding-
Fra: Klaus Thiele [mailto:[EMAIL PROTECTED]]
Sendt: 25. august 2000 09:25
One small warning about JIKES ...
After some thorough swearing we found that JIKES dont support unicode yet,
so if there is
possibilities that you have special chars somewhere dont use it.. :)
Other than that its a super fast compiler :)
Klaus Myrseth
-Opprinnelig melding-
Fra: George
on switching from
orionserver to another brand just because of that it hasnt got any possabilities
to authenticate against the oses rights.
Orioncrew if you implement this feature i think you
will please a lot of your customers, and make orion as an even better buy
:)
Klaus
Myrseth
Title: jsp problem Please help
This
aint telling the list to much Kamran, enclose your example and well have a
look...
Klaus
-Opprinnelig melding-Fra: Khan Kamran
[mailto:[EMAIL PROTECTED]]Sendt: 3. august 2000
13:13Til: Orion-InterestEmne: jsp problem Please
Title: BUG: Java char to and from MS SQL 7.0 char(1) conversions do not work!!!
Char(1) in beans is a java String with only 1 in
length, i had this problem before, and mapping it to a char dont work, but
String works.
Klaus
-Oprinnelig melding-Fra: Byron du Preez
[mailto:[EMAIL
Well im not one of the Orion team, but I think I can answer your questions
for you since i have used Orion since october last year now or so.
Which IDE: Every one. There is no super special way of doing stuff. Orion
takes the compiled java files and put them into the server. Anyways you have
to
days, but i could not find mutch help
in either JTS or JTA spesifications.
Anyone have any good suggestions?
Med vennlig hilsen
Klaus Myrseth
Telenor Mobil AS - Planavdelingen
the last few days, but i could not find mutch
help in either JTS or JTA spesifications.
Anyone have any good suggestions?
Med vennlig hilsen Klaus Myrseth Telenor Mobil AS -
Planavdelingen
hassardous and very hard to
find bugs.
Thanks for a great product so far, now im just waiting for network
deployment possability (hint hint) :)
Med vennlig hilsen
Klaus Myrseth
Senior system consultant
Exense ASA
We have some strange results when trying to sew our application together.
Calling our EJBs from JSP pages worked fine for the EJB dev team, but when
merging the different modules together to make one application after
initial development of base modules didnt work to fine.
We merged a
ot;
Some page things in here %= somevar %br
/mylib:html
My page wil generate amongst other things the errorpage tag %@ page
errorPage="/somwhere/errorpage.jsp" %. Is it possible to make the jsp
processor to extract my oputput from the taglib???
Med vennlig hilsen
Klaus Myrseth
System
:), their SOO portable between platforms :)...
Klaus Myrseth
Orion is our firms prefered platform for Linux and WAP deployments btw :)
77 matches
Mail list logo