Java Con: NY: First week march. Anyone going?

2001-02-18 Thread Dan Winfield

If any of the people on this list would like to meet up please email me and
we can arrange to meet offline from this list.

I will post though when a meeting time has been decided for any last minute

Dan

Site
http://www.javacon2000.com/





Re: orion and mysql?

2001-01-31 Thread Dan Winfield

Really you should check out the J2EE specification at java.sun.com and in
also grab some further info on JSP and servlets while you are there.

Orion is suprisingly compatible with the J2EE spec. For example you should
be using WAR deployment of your servlets then you will be able to use the
standard classpath detailed in the Java Servlet specification.

dan
- Original Message -
From: "Marc Linke" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 10:06 AM
Subject: Re: orion and mysql?


> Hi,
>
> well, i'm more in need of some kind of step-by-step
> info as i'm new to java, j2ee and orion.
> So far i couldnt even setup orion to run plain
> servlets with mm.mysql as orion seems to ignore my
> classpath setting (or even i guess so).
>
> thanks
>
> - Original Message -
> From: "David Morton" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 30, 2001 6:24 PM
> Subject: Re: orion and mysql?
>
>
> >  I found it very easy...I use:
> > http://mmmysql.sourceforge.net/ - jdbc driver
> > http://javaexchange.com/ - connection pooling
> >
> > One variable i had was w/javaexchange's DBBroker, set
> AutoReconnect=true...
> >
> > so far so good...been using awhile
> >
> > David
> >
> >
> > At 05:20 PM 1/30/01 +0100, you wrote:
> > >Hi,
> > >
> > >is there any simple how-to for setting up mysql with
> > >orion available? Or can someone explain me how to do it?
> > >
> > >thanks
>
>
>
>
>





Re: Session EJB Accessibility

2001-01-31 Thread Dan Winfield

I am sure a dirty read is when an object has an old set of values when
compared to the database. This does happen in optimistic concurrency
control.

Dan
- Original Message -
From: "Vidur Dhanda" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 7:52 AM
Subject: Re: Session EJB Accessibility


> I believe Orion uses pessimistic concurrency control.  However, I don't
> think optimistic concurrency control would allow dirty reads -- I
understand
> a dirty read to imply a transaction seeing the uncommitted state of
another
> transaction.
>
> Vidur
>
> Jeff Schnitzer wrote:
>
> > >From: Gary Shea [mailto:[EMAIL PROTECTED]]
> > >
> > >I could use a little help here.  My limited understanding of entity
> > >beans suggests that if I create an EB using a particular
> > >key value, as long as I refer only to that same key value there
> > >would only be one instance of the EB.  Is that not true because
> > >of optimizations that allow bean pooling of a particular EB for
> > >a particular value of that EB's primary key if 'optimistic concurrency'
> > >is assumed?  What _is_ 'optimistic concurrency' anyway, he said,
> > >exposing the full depth of his ignorance...
> >
> > This article is good explanation:
> > http://theserverside.com/resources/news1.jsp#dev
> >
> > The details are spelled out in sections 9.6.9 and 9.6.10 of the EJB2.0
> > spec, but it's pretty esoteric.
> >
> > Basically:  With pessimistic concurrency, the app server ensures that
> > only a record is only represented by a single entity bean and serializes
> > transactions on that bean.  With optimistic concurrency, the app server
> > allows a bean instance to be created for each transaction.  This is much
> > faster (no waiting for the other transaction to commit) but allows the
> > possibility of dirty reads.
> >
> > It's analagous to isolation levels in the database.
> >
> > I'm not quite sure what Orion does, and I wish someone would chime in
> > with a comment or two in this respect.  I'm about to decompile the
> > counter.jar example in hope of finding some clues.
> >
> > Jeff
>
> --
> Vidur Dhanda
> Active Solutions
> tel: 617/566-1252
> [EMAIL PROTECTED]
> www.active-solutions-inc.com
>
>
>





Re: orion slowwww on Solaris and JDK 1.3 with previously fast NT deployment.

2001-01-29 Thread Dan Winfield

We had this similar problem. We found that on Solaris Orion was
significantly slower than on NT. We did not believe it was Orion but could
not find a way to get Solaris to be any faster.

Anyone got any ideas?

Dan
- Original Message -
From: "Korosh Afshar" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 12:26 AM
Subject: orion slo on Solaris and JDK 1.3 with previously fast NT
deployment.


>
> Hi.
> I finally got rid of the core dumps I was getting while deploying an EJB
app
> on orion running on Sun Solaris 2.7 with JDK1.2.
>
> Thanks much for your suggestions to upgrade first to jdk 1.3.
>
> solution was to upgrade to JDK 1.3.
>
> Now that is over with, I have another night marish situation.
>
> The EJB app. has a query that returns all of the records from the database
> (informix) and displays them 25 at a time.  As soon as I initiate this
> query, it takes about 50-60 seconds to come back with the first set of
> results.
>
> When I had first deployed on NT, this query would come back almost
> instantinaously.
>
> There are only about 800 records in the database.
>
> The difference in delay is not just a few seconds. It now take about 50
> seconds more than it did on WinNT deployment.
>
> I did not write the code so I don't know what it is doing internally, but
I
> suspect they have used CMP to hit the database with this query.
>
>
> Anyone with suggestions would greatly help as I am nearing the production
> delivery of the application next week.
>
> k.
>
>
>





Weird pageContext stuff in Orion

2001-01-26 Thread Dan Winfield

Guys

<% String currentPage = pageContext.getServletConfig().getServletName();//
Used for generic pages%>

This is in my JSP pages and for some reason is giving strange results.

I am trying to get the name of the current view page in an MVC model. I use
both redirects and forwards for the model and neither seems to make a
difference to the end result.

Majority of the time I get the correct reply except sometimes I get things
like '/team/images/cross.gif' which is an image in our system and not the
current page!

Anyone got any ideas?

Dan





Re: URGENT! jsp file size limit

2001-01-17 Thread Dan Winfield

I have recoded the structure of the JSPs. It works but not as I intended.

I think that there are limits to class file sizes but it does seem to vary
between JVM


Dan
- Original Message -
From: "Rob Lapensee" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 12:02 PM
Subject: RE: URGENT! jsp file size limit


> You guys should be aware that the internal Java interpreter and .class
file
> format is littered with 16 bit values to point to the various parts of the
> .class file.
>
> Two examples are the constant pool and the list of byte codes for a single
> method.
>
> The constant pool is pointed to by 16 bit values and contains in the same
> list all constant strings, int's, doubles etc. as well as all method
names.
> I have had trouble in the past with generated code exceeding the constant
> pool limit.
>
> A single method cannot exceed 64K bytes.
> I have also had problems with a single method in generated code exceeding
> the 64K byte limit for a single method.
>
> My guess is that the generated servlet from the JSP is exceeding the 64K
> byte limit, and once compiled, causing the internally generated jmp op
code
> to have more than a 16 bit value.
>
> Regards,
>
> Rob Lapensee
> Director of Technology
> Delfour Corporation
> www.delfour.com
> [EMAIL PROTECTED]
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav
Maximov
> Sent: Wednesday, January 17, 2001 5:47 AM
> To: Orion-Interest
> Subject: RE: URGENT! jsp file size limit
>
> And what is the limit, guys?
>
> Stas
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Winfield
> > Sent: Tuesday, January 16, 2001 7:51 PM
> > To: Orion-Interest
> > Subject: Re: URGENT! jsp file size limit
> >
> >
> > Hi Savotchkin
> >
> > I saw you emailed this to Orion. I am having a similar problem.
> > Did you find
> > out what was wrong?
> >
> > Dan
> > - Original Message -
> > From: "Savotchkin Egor" <[EMAIL PROTECTED]>
> > To: "Orion-Interest" <[EMAIL PROTECTED]>
> > Sent: Monday, October 09, 2000 5:59 AM
> > Subject: URGENT! jsp file size limit
> >
> >
> > > Hi all!
> > > Orion seems to have jsp file size limit, when my analog of the
> > > ScreenDefinitions.jsp from Pet Store grows beyond this limit
> > orion issues:
> > >
> > > 500 Internal Server Error
> > > Error parsing JSP page /visitor/visitor.html
> > >
> > > Error creating jsp-page instance: java.lang.VerifyError: (class:
> > > __jspPage0_template_jsp, method: _jspService signature:
> > >
> > (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpSe
> > rvletRespo
> > > nse;)V) Illegal target of jump or branch
> > >
> > > Egor Savotchkin
> > >
> > >
> >
> >
>
>
>





Re: URGENT! jsp file size limit

2001-01-17 Thread Dan Winfield

Cheers guys

I have not solved the problem. Suffice to say that I have the problem unique
to my machine, as other machines in the office are ok with the same JSP
file.

Have changed my JDK to 1.3 as well and still the problem exists.

Someone mentioned to use EJB. The JSP page is a view template in a MVC set
up and only contains print statements. The file is big because of html.

I will try the out.flush() tip below!

Dan
- Original Message -
From: "LouisVoo" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 4:42 PM
Subject: Re: URGENT! jsp file size limit


> Hi Victor,
> I think u misunderstood me, I'm not asking the question, I answer the
> question! I don't have any problem.
>
>
>
>
>
> Regards,
>
> Louis
> ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø
>
> - Original Message -
> From: "Victor A. Salaman" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 16, 2001 2:45 PM
> Subject: RE: URGENT! jsp file size limit
>
>
> > If it works in Orion, why are you asking here? send email to Allaire
> > instead.
> >
> > > -Original Message-
> > > From: LouisVoo [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, January 17, 2001 1:05 AM
> > > To: Orion-Interest
> > > Subject: Re: URGENT! jsp file size limit
> > >
> > >
> > > what is ur file size?
> > > may be u can try this
> > > put <% out.flush(); %> in somewhere ur jsp file.
> > >
> > > I have a >70kb jsp file run in orion without problem. But I
> > > try it in JRun,
> > > I need to use the above solution.
> > >
> > > hope this help.
> > >
> > >
> > >
> > > Regards,
> > >
> > > Louis
> > > ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø
> > >
> > > - Original Message -
> > > From: "Dan Winfield" <[EMAIL PROTECTED]>
> > > To: "Orion-Interest" <[EMAIL PROTECTED]>
> > > Sent: Tuesday, January 16, 2001 8:50 AM
> > > Subject: Re: URGENT! jsp file size limit
> > >
> > >
> > > > Hi Savotchkin
> > > >
> > > > I saw you emailed this to Orion. I am having a similar
> > > problem. Did you
> > > find
> > > > out what was wrong?
> > > >
> > > > Dan
> > > > - Original Message -
> > > > From: "Savotchkin Egor" <[EMAIL PROTECTED]>
> > > > To: "Orion-Interest" <[EMAIL PROTECTED]>
> > > > Sent: Monday, October 09, 2000 5:59 AM
> > > > Subject: URGENT! jsp file size limit
> > > >
> > > >
> > > > > Hi all!
> > > > > Orion seems to have jsp file size limit, when my analog of the
> > > > > ScreenDefinitions.jsp from Pet Store grows beyond this limit orion
> > > issues:
> > > > >
> > > > > 500 Internal Server Error
> > > > > Error parsing JSP page /visitor/visitor.html
> > > > >
> > > > > Error creating jsp-page instance: java.lang.VerifyError: (class:
> > > > > __jspPage0_template_jsp, method: _jspService signature:
> > > > >
> > > >
> > > (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Ht
> > > tpServletRespo
> > > > > nse;)V) Illegal target of jump or branch
> > > > >
> > > > > Egor Savotchkin
> > > > >
> > > > >
> > > >
> > >
> > >
>
>
>





Re: URGENT! jsp file size limit

2001-01-16 Thread Dan Winfield

Hi Savotchkin

I saw you emailed this to Orion. I am having a similar problem. Did you find
out what was wrong?

Dan
- Original Message -
From: "Savotchkin Egor" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, October 09, 2000 5:59 AM
Subject: URGENT! jsp file size limit


> Hi all!
> Orion seems to have jsp file size limit, when my analog of the
> ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues:
>
> 500 Internal Server Error
> Error parsing JSP page /visitor/visitor.html
>
> Error creating jsp-page instance: java.lang.VerifyError: (class:
> __jspPage0_template_jsp, method: _jspService signature:
>
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
> nse;)V) Illegal target of jump or branch
>
> Egor Savotchkin
>
>





Re: There has GOTTA be a BETTER way !!!!

2000-11-07 Thread Dan Winfield

Development tools like JDeveloper etc are great but they just build code.

We have a generic framework that saves building all the bits of development
you see time and again. We have gone along way with this with auto display,
listing, add and edit forms, search etc. Plus lots of real world apps.

Rapid is off the shelf customisable applications and not simply firing up
Java Development Tools to start completely from scratch.

Our experience comes from 2.5 years of web apps in Java and putting in reuse
to save us with the boredom of repetitive work.

Sorry this is abit off topic from Orion. I might add that Orion is our teams
favourite J2EE server by far and we have used most of the major servers.

Dan Winfield
CTO RemoteApps
www.remoteapps.com
- Original Message -
From: "Keith Kwiatek" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 3:34 PM
Subject: There has GOTTA be a BETTER way 


> Hello,
>
> EJB's are great if you like tripling the amount of code you have to
> write
>
> How is everyone building their web apps with hand coded programs, or
> using automagic tools?
>
> It sure seems like there should be some sort of tool that you can just
point
> at database tables, and have it build the jsp or ejb entity bean. AND
> shouldn't there be a tool that you can just drop the bean on an html
> template thus allowing visual access to the bean fields?
>
> You can't access ejb's directly from a jsp page (like a normal bean) can
> you? Any tools that will automagically wrap an ejb in a bean for
> presentation in a JSP?
>
> Am I off base here,  or are ejb's a lot more work? How can people talk
about
> how EJB's "speed development time"?!?
>
> Keith
>
>
>
>
>
>





EJB Client Classes

2000-08-16 Thread Dan Winfield

When creating an EJB client connecting to Orion from another JVM on a
different machine what should the java.naming.factory.initial be? And if it
is com.evermind.server.ApplicationClientInitialContextFactory, then how
should these classes be packaged? Should we use a different
java.naming.factory.initial such as the Sun RMI one?

Dan Winfield






Re: EJB under Orion/Windows-98

2000-06-13 Thread Dan Winfield

Arthur

I have EJB and Orion working on Win98.

Dan
- Original Message - 
From: Arthur Logtenberg <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, June 13, 2000 11:45 AM
Subject: EJB under Orion/Windows-98


> Hello,
> 
> Is it possible to run EJB's under Orion/Windows-98 or does it need to be
> Windows-NT ?
> 
> Cheers,
> 
> Arthur Logtenberg
> 





Will anyone from Orion be at Java One

2000-05-30 Thread Dan Winfield

RE: IE performance with OrionHi

Is anyone from Orion attending? It would be great to meet up and discuss
tyhe whole Orion Server effort.

If not, has anyone arranged a meeting for Orion fans?

Dan Winfield
RemoteApps Ltd
Booth Number 229 at Java One





Re: Orion Primer

2000-05-30 Thread Dan Winfield

Orion is easy to get going, that isn't the problem. What is difficult is
accessing the advanced features. I would like to see more documentation on
setting up Orion to run with multiple servers.

Also despite spending at least a day trying I have never been able to get 2
Orions working together with one containing JSPs and the other containing
the EJBs.

Dan Winfield
- Original Message -
From: Christian Sell <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, May 30, 2000 7:58 AM
Subject: Re: Orion Primer


> now, to me this discussion looks like there is a real problem. We have a
> complex product (full J2EE as opposed to JSP/servlet engines you get
> elsewhere), which is NOT open source  and therefore comes without
> sourcecode. The documentation is rudimentary and so is the error logging
(I
> remember getting my Jserv installation up and running mostly by looking at
> the logs).
>
>





RMI remote server error

2000-05-15 Thread Dan Winfield

Hi Guys

Using the latest Orion 1 rc1. Tried to set up two instances of orion with
one of them having a remote rmi server connection.

Add this line to rmi.xml for host 1

 

Host 2, I have allowed users to connect by changing the principals.xml to
dectivated="false".

First I start host 2. Then I start host 1 and it tries to connect to host 2.
However, host 2 just prints this error to the shell.

java.lang.NullPointerException: parent was null
at com.evermind.server.rmi.a7.f4(Compiled Code)
at com.evermind.server.rmi.a4.resolveClass(Compiled Code)
at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.inputObject(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at com.evermind.server.rmi.a7.f5(Compiled Code)
at com.evermind.server.rmi.a7.run(Compiled Code)
at com.evermind.util.e.run(Compiled Code)

What is wrong? Am I missing something?

Has anyone else on this list ever got EJB to work between 2 instances of
Orion?


Dan






Possible Bug in 0.9.4 Bean Classloading

2000-04-04 Thread Dan Winfield



Hi Guys
 
I have built an application that has one war file. 
In the war file are classes located in the web-inf/classes 
directory.
 
0.9.4 autodeploys the app ear and all seems well. 
However a class not found error is given for one of the classes that is in the 
web-inf/classes directory.
 
The same application deploys on 0.9.1 
successfully.
 
What do you think is wrong? Is there a work around 
with this?
 
Dan Winfield


Re: Clustering

2000-03-21 Thread Dan Winfield

How do I actually set up the clustering?

I have played with the orion-web.xml file and all I tend to get is an unable
to connect error!

Anyone got any ideas?

Dan
- Original Message -
From: Scott Lawrence <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Friday, March 03, 2000 6:17 PM
Subject: Clustering


> I know that there is a cluster id setting in server.xml but how do we
> actually use clustering?  Also, what is Orion's definition of clustering
> in terms of JSP's and Servlets?  I know that EJB clustering isn't
> available yet (in the FAQ).
>
>