Re: Java IDE?

2002-03-27 Thread Robert S. Sfeir

(Sorry my last message got sent before I could finish it)

Ok there was a lot of talk about this IDE so I decided to go poke around and
look at it.  I had been using Netbeans (Forte too) for a while, but always
found it to have either way too many things you can do with it, and
therefore you have to spend a lot of time learning the IDE, or it's just
clunky and things are not where they're supposed to be.  So I downloaded the
IDEA IDE, and low and behold, as advertised on this list, my productivity
has jumped 10 fold.  It is SO easy to use, it's a bit weird at first glance,
and I actually removed it the first time then decided to try again, and wow,
if you take just a couple of hours, you're totally familliar with its
features and capabilities... and thank go for no weird wizards... templates
are good... wizards are for 2 year olds.

Here is why I liked it, and would GLADLY pay $395.00 for it.

It allows you to setup multiple CVS repositories, working with Ant is
amazing, when you run the ant script it allows you to expand every step and
look at it and get more information about it.  I am able to run the full
build of my app within the IDE and I didn't have to do anything
funky, or mess with classpaths it just ran.  I am SO productive in this IDE
I can't believe it.

Further, it allows you to set ALL aspects of code style including spaces
between parenthesis or brackets, line after curly bracket or not, and you
can choose if you want it before an else, if else, etc...  so fine tuned.
This is important because sometimes developers can get sloppy.  One mouse
click and wham, the thing is clean and in place.

besides that, you can actually write a bunch of code and then select it, and
tell it to wrap it in an try/catch, or add a case and stuff like that.  Same
goes for getter and setter, you just select the vars you want to write get
and set methods for, and in a few seconds I had more than 40 gets and sets
already setup.  This is a much better way to do it than any other ide.

The nice thing is that there are a bunch of tabs on the side which don't
intrude in your coding area unless you absolutely want to see them, and you
can choose the behavior of the tabed window so it can close back up as soon
as you're done, or pin it down so it's always there.  What ever works for
you.

It also includes Refactoring, and will look through your code and allow you
to optimize your imports automatically.  Very nice stuff, but I didn't push
that yet because I didn't have a need for it yet.

I also like that it has syntax completion, but they took it to a higher
level, when the syntax completion pops up and you select for example
'parseInt' it shows you the java doc for it in another popup!  SO SWEET!  No
need to go look at the API pages or anything like that!  VERY VERY COOL
stuff.

I am surprised that Forte won the JDJ award over this IDE... I guess because
it's not free or something.  This is a much much better tool.

Robert S. Sfeir
Senior Software Architect
Sfeir Engineering
[EMAIL PROTECTED]
- Original Message -
From: Justin Crosbie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, March 27, 2002 12:52 AM
Subject: RE: Java IDE?


 I hate the way it doesn't support folder hierarchies. The new one even
less
 than 3.2.3, which allowed one folder level per project. I don't see why
not,
 it seems like such a trivial thing.

 -Original Message-
 From: Joydeep Kamdar [mailto:[EMAIL PROTECTED]]
 Sent: 25 March 2002 16:11
 To: Orion-Interest
 Subject: Re: Java IDE?


 Any serious users of Orion will absolutely love JDeveloper. This is as
 fantastic tool and is free to use till you decide to deploy your
 applications
 into production. Thus you can for the first time test an enterprise class
 IDE
 without the every 30 day reinstall

 Here's a comparison matrix of JBuilder 6 and JDeveloper 9i
 http://www.oracle.com/ip/develop/ids/index.html?Jbuilder6_table.html

 Check out -
 http://www.sdmagazine.com/documents/s=7032/sdm0204d/0204d.htm

 The chat about the price totall cracked me up. Noha - keep up the good
work!


 Marc Rabil wrote:

  I have been following this discussion with much interest since I
recently
  set out to re-evaluate Java IDEs - particularly for J2EE.  Based on the
  recent JDJ poll located here:
 
  http://www.sys-con.com/java/readerschoice2002/liveupdate.cfm?cat=J2EE
 
  it would seem that a lot of folks like JBuilder.  But this may just be a
  marketshare estimate and it looks like a lot of folks on this list like
  IDEA.
 
  We've been using JBuilder 4 Enterprise with mixed feelings and are
looking
  at upgrading to JBuilder 6.  Can any of the IDEA proponents out there
  summarize the major advantages of IDEA over JBuilder 6 (say professional
  edition since the upgrade is a comparable price)?
 
  Thanks in advance,
 
  Marc
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Clay Mitchell
  Sent: Friday, March 22, 2002 11:37

Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-19 Thread Robert S. Sfeir



2) can u pls suggest some good books/online 
material to EJB basics

http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/


connection pipe problems

2002-01-16 Thread Robert S. Sfeir


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hello to all,

I seem to have run into a bit of a riddle here with the Orion server 
(version 1.5.3 currently but 1.5.2 did this too, both running on Solaris 
though the problem is also exhibited on Linux)

It seems that the http connection pipe doesn't complete and close whenever 
a page is loaded (Meaning the browser thinks there is more info coming its 
way and just sits there and spins), further it sometimes seems like 
everything loads except some of the images on the page, yet when someone 
hits reload on a page they get everything, then the connection to the 
browser is closed and all is fine and dandy.  This happens with files 
coming from a servlet mostly, we don't have any flat html or jsp pages 
which we use, so I don't know if they would behave the same way.

Has anyone else seen this, what is the possible solution to this issue?  is 
there some kind of setting in Orion which I missed which will help this cause?

Many thanks
R


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

iQA/AwUBPEXvcFIHAfF2BMfREQIc1QCg7jtkS9LtTwprKJRdSh+ETBFYM30AoIli
f1+9UxEvADYbDI0pOX85Qi43
=PsKx
-END PGP SIGNATURE-





Re: [orion-interest]EJB2.0 spec or implementation?

2001-12-28 Thread Robert S. Sfeir


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neither is Oracle. Oracle actually stores all its DB Fields upper case, but 
it doesn't matter how you refer to then, meaning select column1 from Table 
or select Column1 from table or select COLUMN1 FROM TABLE  Doesn't make a 
difference.

R

At 01:25 PM 12/28/2001 -0500, you wrote:
On 28/12/01 12:56 pm, Aaron Tavistock [EMAIL PROTECTED] wrote:

  So heres the story - database field names are case insensitive, so common
  parlance for representing a space is an underscore (e.g. 'this_field').

Nope. MS SQLServer is not case insensitive. You could always tweak
orion-ejb-jar.xml to map it to whatever column names your heart desires

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBPCzNZMCgz9HsAj5wEQI/awCfapbiZcITG3/twcV+IIpjlN3O15wAnAiJ
yMf5L47Q9eFh9Y2ASuuwkIjT
=Mwke
-END PGP SIGNATURE-





Re: Disabling connectivity below 128bit encryption

2001-12-21 Thread Robert S. Sfeir

Wouldn't your https certificate do that for you?  If you use https and your
certificate requires 128bit, then that's what people will connect at.  Maybe
I'm wrong.

Robert





Re: How do you shut down orion after it's initialized

2001-12-18 Thread Robert S. Sfeir

Sounds like you're using the command without being in the Orion directory.
Can't do that.

R
 James Beeson wrote:

 
  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: How do you shut down orion after it's initialized

2001-12-18 Thread Robert S. Sfeir

That's because Orion did not start properly in the first place.  That's why
you're getting that second error.  Fix the start process, then you should be
fine.  To test that Orion did not start, just hit it via local host or
something and see if it responds.  You should get connection refused.


--

This is what I get when I start Orion:

C:\orionjava -jar orion.jar
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

I immediately opened a new DOS window and did this:

C:\WINDOWS\Profiles\James\Desktopcd c:\orion

C:\orionjava -jar admin.jar ormi://localhost:8080 admin pswd -shutdown
Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
Disconnected; nested exception is:
java.io.EOFException: Disconnected

C:\orion




From: Setlur, Atul (MED) [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: How do you shut down orion after it's initialized
Date: Tue, 18 Dec 2001 11:16:11 -0600

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




_
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com








Re: Nimda Virus

2001-10-17 Thread Robert S. Sfeir

We've had tries from the Nimda virus trying to exploit, but there is 
nothing in Orion which would allow it to.  It was trying to call some 
EXE files, and the virus is stupid enough to not realize that the server 
is trying to serve up those files and that they don't exist, and that it 
should just move on with its life.

For anyone seeking to stump those worms, here is an article about an 
Open Source piece of software that will trap worms and keep them busy, 
while you clean things up and save your servers from disaters.

http://www.eweek.com/article/0,3658,s%253D708%2526a%253D15339,00.asp

Hope this helps.
R

Nusairat, Joseph F. wrote:

 Have any of u had issues with this exploiting the Orion App?
 
  
 
 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]
 






Re: Nimda Virus

2001-10-17 Thread Robert S. Sfeir

Nusairat, Joseph F. wrote:

 lol ... well how did we get infected???

 Does anyone have any clue how that could happen?

 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]


 -Original Message-
 From: Hani Suleiman [ mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 17, 2001 10:15 AM
 To: Orion-Interest
 Subject: Re: Nimda Virus


 Of course not, it only affects IIS.

 On Wed, 17 Oct 2001, Nusairat, Joseph F. wrote:

  Have any of u had issues with this exploiting the Orion App?
  
 
  Joseph Faisal Nusairat, Sr. Project Manager
  WorldCom
  tel: 614-723-4232
  pager: 888-452-0399
  textmsg: [EMAIL PROTECTED]
 
 

You've probably got someone using a windows browser on the machine and 
they hit a site with a page that had the virus on it.  That's what 
forlks get for using servers as a personal workstation :-)

R






DB Logger Servlet

2001-09-26 Thread Robert S. Sfeir

Before I go re invent the wheel, I was wondering if anyone knew of a
FREE servlet which would stream access log requests from the log file
which Orion generates, and insert them (normalized of course) in DB
tables so we can run immediate reports on the data.  I'm hoping it would
not be DB specific, but if it were, Oracle would be good.

Thanks
R





Re: Oracle questions (Slightly OT)

2001-09-14 Thread Robert S. Sfeir



You can't insert large data into Oracle directly. If you want to use a CLOB
to store your large amount of data you CAN do it with a bean, but you have
to use some of the procedures imbeded in Oracle to deal with LOB data. An
example would be something like this:

public int insertClob( int idColumn, String clobData )
 throws SQLException
 {
  Connection conn = getConnection();
  try
  {
   // insert empty CLOB
   String theSql = "INSERT INTO theTable (id, clobColumn) VALUES
(" + idColumn + ", EMPTY_CLOB())";
   Statement stmt = conn.createStatement();
   stmt.executeUpdate( theSql );

   // get CLOB locator
   theSql = "SELECT clobColumn FROM theTable WHERE id = " + idColumn
+ " FOR UPDATE";
   OracleResultSet rs = (OracleResultSet)stmt.executeQuery( theSql
);
   rs.next();
   CLOB clob = rs.getCLOB( 1 );
   clob.putChars( 1, clobData.toCharArray() );

   // cleanup
   clob = null;
   rs.close();
   rs = null;
   stmt.close();
   stmt = null;
  }
  finally
  {
   returnConnection();
  }
  return 1;
 }

Gregory Scott wrote:
[EMAIL PROTECTED]">
  
  
  
  
  
  
  
You can also look at the 8.1.7 online docs for java examples or now the 9i
online docs. Sign up with Otn.oracle.com, and get a free account, get tons
of examples.
  If you are always going to use an Oracle database, thenoptimal performancewill
come from the thick driver. However, the thin driver is the most frequently
used.
  
  
  
  
  
  
From: "The elephantwalker" Reply-To:
Orion-Interest To: Orion-Interest
  Subject: RE: Oracle questions (Slightly
OT)  Date: Thu, 13 Sep 2001 09:27:28 -0700You will have to
use clob's to store large strings in oracle.Go to www.elephantwalker.com
and login. If you don't have an account, create  one...its free.  
 Go to this request http://www.elephantwalker.com/rfa?id=86There
you can download a stateless session bean and oracle dao to store  large
strings in oracle. A version of this bean is used on the site, and we  have
tested it with EXTREMELY large strings.I would not use any odbc
bridge to do thisa real waste of time.Regards,the
elephantwalker  -Original Message-  From:
[EMAIL PROTECTED]  [mailto:[EMAIL PROTECTED]]On
Behalf Of Lachezar  Dobrev  Sent: Thursday, September 13, 2001 8:51
AM  To: Orion-Interest  Subject: Oracle questions (Slightly OT)  
 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 of 'invalid character'. My  research
shows, that while Oracle uses a DOT to express float numbers  (123.456)
the jdbc-odbc bridge happens to use the COMMA for the delimiter,  because
of my LOCAL settings. Then it just blows up steam. So. My question
is like is there any non-ODBC-using driver for Oracle,  that can handle
large strings? I'm in an urgent need for help, because the LOCAL
settings change is not  an option. Please any advice. PLEASE!
Lachezar  
  
  Get your FREE download of MSN Explorer at 
http://explorer.msn.com
  
  
  
  
  


RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-27 Thread Robert S. Sfeir

At 05:44 PM 7/26/2001, you wrote:

I m using Oracle 8.1.7 s JDBC driver (classes12) with JDK 1.3.0. And it 
seems to have some problems to handle CLOB. But there has not been any 
problem except CLOB problem up to now.

Interesting.  No problems handling CLOBs here except when using a Type 1 or 
2 driver.  It seems in JDK 1.3.x Sun is preventing sharing of the c++ 
library for one reason or another, which means you can only load it once, 
which means that your connection pooler can only be used once on the 
machine for all your apps.

What we did was move everything to the Type 4 driver (Thin client), and 
write code to handle CLOB insert/updates through Oracle's DBMS_LOB procedures.

The only trick to it is that every time you want to update a CLOB, you have 
to re initialize it with EMPTY_LOB(), then do the update with the new 
data.  If you don't do that you will end up with incorrect data.  The data 
'corruption' if you don't do the EMPTY_LOB() manifests itself in the form 
of old data over new data.  This is because when you do an update, and the 
number of bytes in the data is smaller than the number of bytes in the 
original data, the CLOB will get updated with the new number of chars, but 
anything over that remains in the CLOB column.  YUK.  Of course if anyone 
knows another way around this please let me know :-)

Hope this helps.
R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation,
in Joint Venture With JTransit
San Francisco, CA 94123
pw - http://www.percepticon.com/
jw - http://jtransit.com
e- [EMAIL PROTECTED]





Orion Performance Tuning

2001-07-25 Thread Robert S. Sfeir

Hello all,

I've gone through and read most of the information posted from this list 
about improving the performance of Orion, and increasing the number of 
threads Orion uses to improve its overall performance under load.

What I've been able to do so far, and it's helped a lot, is:
1- Added the -Xms and -Xmx switches to make sure Orion starts and uses more 
memory, they're set at 100MB and 300MB respectively, and Orion uses 175MB 
as soon as I start it up, and doesn't seem to grow past 177MB as the day 
goes one and it gets used.

2- I added the -server switch in front of the java command so we make sure 
we use the Server version of the HotSpot VM. (Boy does this thing pick up 
speed when using the -server switch!)

Is there anything else that can be done, short of clustering, to further 
increase Orion's performance?

My main objective is to make sure we don't get any more weird hangs and 
long wait times in Orion for no apparent reason.  Perhaps increasing the 
number of threads Orion uses?  I can't seem to find any definite answer on 
that.

Our servlet seems to be fine, but sometimes when clicking through a test 
web site, one url request seemed to just sit there and hang, as if Orion 
was dead, but I could click and request a different URL and get immediate 
response.  So I assumed it was threads in Orion which were not being 
managed properly.

After making reading the posts to the list and making the the 2 changes 
above, the problem seemed to have gone away for the most part, except it 
still happens from time to time in Netscape, IE doesn't seem to have this 
problem.  I can quit Netscape and go back in and the problem is gone for a 
while.  There is no specific time frame for it to happen.  It does happen 
consistently when I click, then stop for about 30-60 seconds, then click 
again or reload, and it just sits there and waits for the world to come to 
an end of something.  Very bizarre.

Any ideas you may have would be of great help.

Thanks
R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation,
in Joint Venture With JTransit
San Francisco, CA 94123
pw - http://www.percepticon.com/
jw - http://jtransit.com
e- [EMAIL PROTECTED]





RE: Orion Performance Tuning

2001-07-25 Thread Robert S. Sfeir

At 12:49 PM 7/25/2001, Duffey, Kevin wrote:
I am interested in your two fixes. Have you (or anyone) noticed that Orion
actually requires 175MB of RAM?

I think it's mainly our Servlet that uses this up.  I think it depends on 
how many servlets you load.

  Is there a definite need to use both memory
switches, or perhaps one over the other? What is the use and/or meaning of
each switch?

-Xms = minimum amount of memory the JVM will use
-Xmx = mazimum amount of memory the JVM will use

  What I find funny is I just installed JDK 1.3.1 and noticed the
/server, /classic and /hotspot dirs under bin which contain the jvm.dll that
Windows uses. I was actually going to post an email to this and JSP interest
list asking what the benefits and differences are between the 3 jvms.

BIG benefits, just try it.

  I
haven't been able to find anything on the sun site that details how they are
different. Can you fill me in if you know, what makes the server jvm better?

 From what I understand, it uses memory and processors more efficiently, 
more driven for background apps rather than a client JVM driven with 
foreground apps in mind.

Is it better overall for all use (other than client-side SWING apps)? I
thought the hotspot was the best because of the inline JIT that converts
code to native..and thus should speed it up greatly. Is the server better
just for production use, or for anyone running Orion locally for web
development as well? Ideally, I would think we want our development, qa,
staging and live servers to all run the same JVM to make sure we all see any
problems that arise.

I use it for everything here now.  No harm, just benefits, you just gotta 
have the RAM.

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation,
in Joint Venture With JTransit
San Francisco, CA 94123
pw - http://www.percepticon.com/
jw - http://jtransit.com
e- [EMAIL PROTECTED]





RE: Oracle deal gag

2001-06-11 Thread Robert S. Sfeir

Wow, I never realized engineers had become so immature!

Can we stop filling our mailboxes with junk?  Get off the stupid list if 
you're so unhappy!  You have a choice!  Stay on the boat and can it, or get 
off the boat to something that will make you happier!

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation,
 in Joint Venture With JTransit
San Francisco, CA 94123
pw - http://www.percepticon.com/
jw - http://jtransit.com
e- [EMAIL PROTECTED]





Re: Oracle deal

2001-06-07 Thread Robert S. Sfeir

Why can't everyone just enjoy and bask in the moment?  It seems that every 
time something happens on this list, we all have to start whyning!  If 
things suck later, just change to different app server if you're unhappy 
with the results.  This just means that:
1- Orion kicks butt
2- Oracle's App Server was shameful and they saw the power of Orion
3- IronFlare has more money to work with, and perhaps add more support 
folks or more designer to go faster and better.

It's not like we never have, and never will have another choice for an app 
server.  This move justifies my pitch to clients now, and soon I many not 
even tell them Orion, I will say the Oracle App Server if the client is a 
bit gun-shy on using something other than Weblogic.

Just my opinion.
R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation,
in Joint Venture With JTransit
San Francisco, CA 94123
pw - http://www.percepticon.com/
jw - http://jtransit.com
e- [EMAIL PROTECTED]





Re: Orion running out of memory ?

2001-05-30 Thread Robert S. Sfeir

Java?  Memory leak?  Um, not likely.

Make sure you don't have some kind of infinite loop in your application.  I 
did that once, and got the error after Orion grew to 512MB of RAM, used up 
all the swap space too, then orion tried to recover and it couldn't.

If you ask me, I think it does a good job of handling situations like that.

If you don't have an infinite loop, try to 'force' a garbage collect at 
some point in your test and see if it helps.

Hey but what the heck do I know, I'm just a rookie.
R

At 01:50 PM 5/30/2001 +0200, you wrote:
I have a test website project, running on Orionserver - after running for
maybe 15-20 hours, it suddently stops working, with the message : Out of
Memory - No Stack Trace Available

Is there some setting, where I setup the amount of memory for the
Orionserver ?

I have monitored memory usage and it keeps growing during the test period,
until it suddently stops working, with the above memory error.

What can I do - either there is a leak or it uses incredible much memory.

(I dont use any objects, which earlier has been mentioned on this list for
leaking!)

Any ideas, people ?


-
Regards,
Tony Fonager

Netcoders ApS - http://www.netcoders.dk



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: Orion 1.5.0? Where do you download it from?

2001-05-23 Thread Robert S. Sfeir

java -DproxyHost=firewall/proxy.pac  -DproxyPort=8000 -jar autoupdate.jar

?

At 01:58 PM 5/23/2001 +0200, you wrote:
java -DproxyHost=firewall  -DproxyPort=80 -jar autoupdate.jar



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation in Parternship With JTransit
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]





Re: Orion 1.5.0? Where do you download it from?

2001-05-23 Thread Robert S. Sfeir

Oh yeah, other option is do this from home!  Download 1.4.5, do the 
autoupdate, zip up your directory, and email it to yourself at work.

R

At 01:58 PM 5/23/2001 +0200, you wrote:
Thanks for all many response. What a great community!!!

Unfortunately for me  java -jar autoupdate.jar does not work because I 
am behind a firewall.
Orionsupport.com says that if you're behind a proxy, as many users are, 
you'll need to specify some extra parameters, as so:

java -DproxyHost=[proxy name] -DproxyPort=[proxy port] -jar autoupdate.jar

My firewall address in ie5.5 is http://firewall:8000/proxy.pac.
However I am not quite sure of how to specify the [proxname] and [proxy 
port].

I tried a few commands as follows but failed.
java -DproxyHost=http://firewall:8000/proxy.pac  -DproxyPort=8000 -jar 
autoupdate.jar
java -DproxyHost=[http://firewall:8000/proxy.pac]  -DproxyPort=[8000] -jar 
autoupdate.jar
java -DproxyHost=[http://firewall:8000/proxy.pac]  -DproxyPort=[80] -jar 
autoupdate.jar
java -DproxyHost=http:firewall  -DproxyPort=8000 -jar autoupdate.jar
java -DproxyHost=firewall  -DproxyPort=80 -jar autoupdate.jar
etc

Could someone please give me the correct format.

Many thanks



Gan Gounden
City of Cape Town
Ph (021) 400-2174
Fax (021) 425-1096
Cell 083-63-59-268
e-mail: [EMAIL PROTECTED]




**
Any unauthorized use and interception of this e-mail is illegal.
If this e-mail is not intended for you, you may not copy,
distribute or disclose the contents to anyone.  This e-mail
does not give rise to any binding legal obligations upon the
City of Cape Town unless the City of Cape Town subsequently
confirms the content in writing non-electronically.  This e-mail
may be confidential, legally privileged or otherwise protected
by law.  Unauthorised disclosure or copying of any or all of it
may be unlawful. If you receive this e-mail in error please notify
the sender and delete the message

**



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation in Parternship With JTransit
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]





Re: Orion 1.5.0

2001-05-21 Thread Robert S. Sfeir

I got that too, and it's because the stupid autoupdater doesn't get all the 
files.

here is what I had to do.
1- Move all the .jar files in an oldjar dir except autoupdate.jar and tools.jar
2- change server.xml and application.xml to server and application.old
3- Run the autoupdate
4- modify the new server.xml and application.xml

Now you're ready to rock.

1.5 seems to be quicker than previous version too.  At least for the stuff 
we use.

R

At 05:22 PM 5/21/2001 +0100, you wrote:
Just updated to 1.5.0, and now I get a NoSuchMethodError as follows:

Exception in thread main java.lang.NoSuchMethodError:
org.xml.sax.Attributes:
method getQName(I)Ljava/lang/String; not found
 at
org.apache.crimson.tree.AttributeSet.createAttributeSet2(AttributeSet
.java:174)
 at
org.apache.crimson.tree.XmlDocumentBuilderNS.startElement(XmlDocument
BuilderNS.java:90)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1475)
 at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
 at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
 at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

 at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
.java:185)
 at com.evermind._ug.getJavaxDocument(Unknown Source)
 at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
 at com.evermind.xml.XMLConfig._ds(Unknown Source)
 at com.evermind.xml.XMLConfig._ds(Unknown Source)
 at com.evermind.server.ApplicationServer._va(Unknown Source)
 at com.evermind.server.ApplicationServer.main(Unknown Source)

Can anyone tell me how to fix it?

James Fairbairn



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





BIG Problem with SSL

2001-05-08 Thread Robert S. Sfeir

When I setup SSL under Orion and I hit:
http://www.domain.com

then hit

https://www.domain.com

they both come up fine, but it looks like Orion is starting a new session!!!

This is bad because if someone is logged in under https, it doesn't look 
like they're logged in when they're under the http server.

Am I missing a setting with SSL or is this normal Orion behavior?

Thanks for any prompt response you might have.

R





RE: Interests sake

2001-05-03 Thread Robert S. Sfeir

We're running Solaris/Linux and Win2K, and I know of a couple of people 
running it on Mac OSX!

R

At 07:03 PM 5/3/01 -0400, you wrote:

  -Original Message-
  From: Adam Cassar [EMAIL PROTECTED]
  Reply-To: Orion-Interest [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Subject: Interests sake
  Date: 03 May 2001 15:53:28 +1000
  
  
  Hi all,
  
  For interests sake, what OS is everyone on the list running orion on?
  
  Windows 2000?
  WinNT
  Linux?
  

MPE/iX 6.5 and IMAGE/SQL





RE: Orion support company

2001-04-26 Thread Robert S. Sfeir

At 11:37 AM 4/25/2001 -0400, you wrote:
 Orion's web site is still up? Every time I go to www.orionserver.bea.com,
 it comes back with an error.

What's orionserver.bea.com?  Dude how about www.orionserver.com, I didn't 
know BEA bought Orion... or did I miss some crazy post somewhere?

R




Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





url-pattern help

2001-04-12 Thread Robert S. Sfeir

To get multiple mappings I seem to have to do this for things to work:

 servlet-mapping
 servlet-namejtransit/servlet-name
 url-pattern/*.taf/url-pattern
 /servlet-mapping
 servlet-mapping
 servlet-namejtransit/servlet-name
 url-pattern/*.tml/url-pattern
 /servlet-mapping

Is there no way to put in multiple url-patterns per servlet mapping?  When 
I try it it fails miserably.

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: Orion Team Needs New List Software

2001-03-14 Thread Robert S. Sfeir

I think developers communicating directly with customers is bad business :-)

R

Allen Fogleson wrote:

 I suspect that the person the mail is from is not responsible, obviously
 moved on and someone at the company set up the autoresponder. We do that
 here when we have people leave. Be bad business to lose a customer because
 email wasnt replied to wouldnt it?
 
 Al
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer
 Sent: Wednesday, March 14, 2001 4:29 PM
 To: Orion-Interest
 Subject: Orion Team Needs New List Software
 
 
 Someone desperately needs to replace the list software currently hosting
 the Orion-Interest mailing list.  This is really getting out of hand.
 It's bad enough that everyone who posts gets messages like this from
 natch.se... but now they're echoing to the list as well.
 
 





Re: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Robert S. Sfeir

Someone suggesting hitting a JSP with a cron...  how can you hit a URL with 
a CRON or AT command, I didn't think you could do that!  Perhaps I 
misunderstood the explanation?

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





[OT] Javamail API

2001-02-20 Thread Robert S. Sfeir

Does anyone know of a good tutorial for 'rookies' on using the JavaMail 
API?  I just want to learn how to build a bean which allows me to send 
emails out after an insert.

Thanks much.

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





RE: Last posting

2001-02-15 Thread Robert S. Sfeir

WOW... Is this still the Orion List I'm on?  I didn't know we changed to a 
Men's group.  Anyone want to rest their head on my shoulder?  (Ok now I 
asked for it. For my next question I expect the flames will burn high)

Come on folks we all take a beating at some point as rookies and as 
experts.  I took a few shots, I learned, I looked stupid, I learned, and 
now I don't look as stupid, and I'm still learning.  Don't have the answers 
you want here?  it seems Orion is J2EE compliant...  follow the stupid blue 
print and you'll know what's going on now, and what's going to happen in 
the future.  Read the whole darn Java Developer sun site, your answers are 
most likely in there, most of them anyway.  There are infinite resources on 
the net to get answers.  Don't just rely on one group.

If anyone situation is so bad that there is so much pressure on you because 
of work, then you're in the wrong job, and you're letting yourself be taken 
advantage of.  We're Java engineers folks, and last I checked we're still a 
commodity, and last I checked the unemployment rate around this neck of the 
woods was very low (in the negatives for engineers)...  so why am I saying 
all this... Get another stupid job if you're that freaked out!

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: R: Why is Netscape slower with Orion?

2001-02-09 Thread Robert S. Sfeir

Yup we ran up against this last week, and we changed the layout from 4 
nested to 3 and it's just fine that way.  It seems the folks at netscape 
didn't think anyone would nest 4 tables or something.  IE and N6 are much 
faster at it indeed.  That's not the issue that was causing the slowness 
though, it is an issure with the fact that N4.7x simply is not good about 
sharing threads and processes... feels like it makes the whole windows box 
single threaded.

R

At 02:58 PM 2/9/2001 +0100, you wrote:
One thing netscape is very very slow at is when it has to render nested
tables.. i had a page with 4 level nested tables  with netscape it was a
metter of second before the rendering was done; i switched to a single table
 the performing was almost acceptable (anyway far slower than ie).

This was wit ns 4.X, with ns 6 they have speed it up a little(but still much
slower than ie).
Marco


-Messaggio originale-
Da: Huibert Aalbers [mailto:[EMAIL PROTECTED]]
Inviato: venerdi, 26. gennaio 2001 17:58
A: Orion-Interest
Oggetto: Why is Netscape slower with Orion?


Hi everyone,

Is it just me or has anyone noticed that Netscape is significantly
slower than IE when accessing an application built with orion? Could
there be anything wrong with my settings?

Thanks,

Huibert Aalbers
Informix Software



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: Why is Netscape slower with Orion?

2001-01-27 Thread Robert S. Sfeir

I've noticed this with netscape when I'm running Orion on the same box, but 
I've also noticed it when I run other app servers on the same box.  Seems 
to me that Netscape is not very nice about sharing processes and wants to 
hog everything.  I've noticed that if I switch windows (like going form a 
folder window to the netscape window) things kick in a little faster.

Weird.

(Doesn't happen under netscape 6, but I'm not in it long enough to be 100% 
sure)

At 05:35 PM 1/26/2001 -0800, you wrote:
At 10:57 AM 1/26/2001 -0600, you wrote:
 Hi everyone,
 
 Is it just me or has anyone noticed that Netscape is significantly
 slower than IE when accessing an application built with orion? Could
 there be anything wrong with my settings?

I've noticed the same thing... not with Orion but Tomcat, etc.  The biggest
thing is that it appears that Netscape is consuming 50% or so of the CPU
time.  I'm not sure if that's all that explains it, but it certainly is a
factor.  (This is netscape 4.75).  Haven't checked with NS6

HTH!
  -Mike



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: Getting back to the previous jsp

2001-01-19 Thread Robert S. Sfeir

You can also store the referrer and send them back a page.  Since that's 
where they came from, that's where they'll go back to.  This way you don't 
have to be browser specific at all... but that's kinda ugly.

R

At 06:00 PM 1/19/2001 +0100, you wrote:
If you're not using a lot of framesets and do not need to support all
browser try using a javascript, like

 a href="javascript: history.back(-1);"Back/a

I didn't quite understand your question, but I hope the answer will help
you.

regards


Johan Fredriksson
- Original Message -
From: "Randahl Fink Isaksen" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, January 19, 2001 3:46 PM
Subject: Getting back to the previous jsp


  On one of my JSPs I would like to have a link to the previous page (a
"back"
  button), but then i need to output
 
  a href = "%=theLinkToThePreviousPage%"/
 
  Does any one know how I can replace "theLinkToThePreviousPage" with a Java
  expression which retrieves the correct url?
 
  Thought about letting the caller transfer the link as a parameter to the
  JSP, but I would like to avoid this, if possible.
 
 
  Thanks
 
  Randahl
 



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Servlet startup in Orion?

2001-01-17 Thread Robert S. Sfeir

I have a servlet which allows us to upload files to the Oracle DB.  Right 
now when I run it, I do this:

java percepticon.freedom.BlobUpServer -db /u01/home/robert/db.props -p 8124

I know that in Weblogic there's a way to start this servlet within weblogic 
so that we don't have to worry about whether the service is stopped or started.

Is there a place I can do this in Orion?  Like a tutorial somewhere that I 
might have missed?

Thanks.
R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: How to configure Orion to use Oracle

2001-01-17 Thread Robert S. Sfeir

Looks like you didn't put the classes12.zip in the orion install dir/lib 
directory

At 09:06 AM 1/17/2001 -0600, you wrote:
I am trying to use Oracle database with Orion. In the "data-source.xml"
file I have added:

 data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Oracle"
schema="database-schemas/oracle.xml"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/Myapollo"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="system"
password="manager"
url="jdbc:oracle:oci8:@APOLLO"
inactivity-timeout="30"
 /

I have set the correct class path to the Oracle class files
CLASSPATH=c:\java\orion\jrb.jar;c:\java\orion\jndi.jar;.;c:\java\orion\orion.jar;C:\Java\Oracle;.;C:\Java\orion\orion.jar;C:\Java\orion\ejb.jar;C:\Java\orion\jndi.jar;C:\Java\j2sdkee1.2.1\lib\j2ee.jar;

but when I launch Orion server I get the following message:

C:\Java\orionjava -jar orion.jar
Error initializing server: DriverManagerDataSource driver
'oracle.jdbc.driver.OracleDriver' not found

Thank you,
Danut


_________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: Dynamic JSP in Orion

2001-01-10 Thread Robert S. Sfeir

At 10:24 AM 1/10/2001 +0100, you wrote:
I dont really understand the need for dynamically generating JSP code. After
all, JSPs are themselves all about generating HTML dynamically. At *some*
point the generating has to stop and real code has to start ;-).

Well perhaps I should clarify a little.

The template is not the problem really because we can write those out to a 
jsp files whenever we make a change and Orion will re compile them.  SO 
this problem is really not the big issue.  The issue really comes in when 
we have content in the DB and we want to do something like this:

hello %= username %, this is your content page.


That's when we're going to hit a snag.  You see there IS a need for dynamic 
content.  Perhaps this is too off topic for this list, and if it is, could 
anyone recommend a good JSP discussion mailing list out there?

Thanks much.

R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Dynamic JSP in Orion

2001-01-09 Thread Robert S. Sfeir

Hello folks.

Still on the path of getting to know JSP and Orion, and was wondering how 
(hopefully without using cocoon) can I get to the point of serving dynamic 
JSP files.

What I'm tying to do is serve up templates which are stored in the DB.  The 
templates contain html which forms the look and feel of a site, and the 
different features available in a certain section of the site.

These Templates also return the content for the site, the content itself 
may or may not contain more dynamic data.

Ultimately those templates and content would contain some JSP code or XML 
code which gets changed based on the user, location, template, content, the 
content type etc...

I'm coming from a Cold Fusion / Tango environment, and I can see that 
things are a little different with JSP, and the rules change 
dramatically.  it's pretty easy to do this stuff in those environments.  It 
doesn't seem as obvious in JSP since the pages are pre compiled and any JSP 
code which might exists in the Templates or content will be ignored.  What 
I need to do is parse that code, or write something which will allow me to 
parse that code.

I don't mind so much putting in the coding time, but I am concerned about 
maintaining top serving speed, and still allow me the freedom of being as 
dynamic as my clients want to be.

So with that in mind, I was wondering if Orion had any internal facilities 
to support some kind of dynamic JSP pages.  If not what do you folks 
recommend to use for such applications?

Thanks much in advance, and sorry if this subject has already come up before.


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Orion and JBuilder E 4 Open Tools

2000-12-28 Thread Robert S. Sfeir

Hello all,

Looked through the list threads and there seems to be no clear indication 
whether anyone has been able to add Orion as one of the Application Servers 
available within JBuilder.  I read the parts for debugging EJBs with Orion 
within JBuilder, and that seems to be working well, though I'm still new at 
this and have yet to push anything.

What I'm interested in is easing our EJB deployments to Orion, and wanted 
to know if there was an 'easy' way to simply deploy the EJBs to Orion and 
have it take care of everything for us, just like JBuilder does for the 
Inprise and WebLogic App Servers.

I use JBuilder 4 Enterprise, and was hoping the money we spent on it was 
not in vain.

Any SXS anyone may have would be greatly helpful.

It would also be very cool if the folks at Orion (Evermind?) would write a 
'PlugIn' for JBuilder 4E so Orion will plug into it out of the box.

Thanks in advance for any info.

Robert


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





Re: to boldly go where no man has gone before

2000-12-14 Thread Robert S. Sfeir

Man, who let the kids out?

Come on folks, let's get on with this thread ok?

Thanks
R


At 09:36 PM 12/14/2000 +0200, you wrote:
Why is it a shit, Mr. Sbenghe?

- Original Message -
From: "Dumitru Sbenghe" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, December 14, 2000 7:14 PM
Subject: RE: to boldly go where no man has gone before


  Stop this shit
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Endres
  Sent: jeudi 14 decembre 2000 16:50
  To: Orion-Interest
  Subject: Re: to boldly go where no man has gone before
 
 
  Take it to alt.rec.etiquette.
 
  If you can read the post, and you know the answer, then reply.
  Otherwise, don't.
 
  tim.
 
 



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205