arrowheadasp-users Mailing List for ArrowHead ASP Server
Status: Alpha
Brought to you by:
lazerdye
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(12) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
(1) |
| 2004 |
Jan
(3) |
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Terence H. <ha...@tr...> - 2005-06-20 13:44:11
|
Dear Lee Chin Khiong, Right now it is not supported, however with ArrowHead running on a Microsoft platform I believe it is possible using some of the COM interfaces such as the JACOB project: http://danadler.com/jacob/ Since my main target was to allow ASP to run on non-Microsoft platforms, I did not put any effort into this. Sincerely, Terence Haddock On Jun 19, 2005, at 8:33 PM, Lee Chin Khiong wrote: > Can arrowhead use activeX in Server.createobject instead of java > classes ? |
|
From: Lee C. K. <ck...@cm...> - 2005-06-20 00:44:23
|
Can arrowhead use activeX in Server.createobject instead of java classes ? |
|
From: Terence H. <ha...@tr...> - 2005-06-08 19:51:21
|
Dear Sylvain Mouret, Sorry for the slow response, I have been on vacation. ArrowHead =20 supports JDBC access drivers, but only PostgreSQL and MySQL have been =20= tested. For ADODB.Connection it is expecting the JDBC driver class =20 name. If you are on the Windows platform, you could use Microsoft's =20 JDBC driver by installing it and trying this string (or some variation =20= thereof): dbLogin.Open "DRIVER=3Dcom.microsoft.jdbc.sqlserver.SQLServerDriver; =20 URL=3Djdbc:microsoft:sqlserver://localhost:1433;Database=3Dstsa; =20 uid=3Dchungdak; pwd=3Dkunga" If you are not on the Windows platform, and are trying to access MSSQL =20= from Linux, here is something neat: http://jtds.sourceforge.net/ Sincerely, Terence Haddock On Jun 2, 2005, at 10:56 AM, Sylvain MOURET wrote: > I am under MacOS X and currently trying to use database of a Microsoft = =20 > SQL Server. > It used to be done correctly under a Windows machine but I want it =20 > under my mac. > > I'm using the following code : > > =A0=A0 =A0Set dbLogin =3D Server.CreateObject("ADODB.Connection") > =A0 =A0 Set rsLogin =3D Server.CreateObject("ADODB.Recordset") > =A0 =A0 > =A0 =A0 dbLogin.Open "DRIVER=3D{SQL Server} ; SERVER=3D202.71.128.140 = ; =20 > uid=3Dchungdak ; pwd=3Dkunga ; database=3Dstsa" > > and I get the following error : > > java.lang.ClassNotFoundException: {SQL Server}=A0 > =A0 =A0 =A0 =A0 at java.lang.Class.forName0(Native Method) > =A0 =A0 =A0 =A0 at java.lang.Class.forName(Class.java:141) > =A0 =A0 =A0 =A0 at = com.tripi.asp.ADODB.Connection.Open(Connection.java:233) > =A0 =A0 =A0 =A0 at = com.tripi.asp.ADODB.Connection.Open(Connection.java:266) > =A0 =A0 =A0 =A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native = Method) > =A0 =A0 =A0 =A0 at =20 > = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja=20= > va:39) > =A0 =A0 =A0 =A0 at =20 > = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso=20= > rImpl.java:25) > =A0 =A0 =A0 =A0 at java.lang.reflect.Method.invoke(Method.java:324) > =A0 =A0 =A0 =A0 at =20 > = com.tripi.asp.JavaObjectNode$JavaFieldNode.executeMethod(JavaObjectNode=20= > .java:574) > =A0 =A0 =A0 =A0 at =20 > = com.tripi.asp.JavaObjectNode$JavaFieldNode.execute(JavaObjectNode.java:=20= > 353) > =A0 =A0 =A0 =A0 at = com.tripi.asp.GetIndexNode.execute(GetIndexNode.java:178) > =A0 =A0 =A0 =A0 at com.tripi.asp.BlockNode.execute(BlockNode.java:155) > =A0 =A0 =A0 =A0 at com.tripi.asp.AspThread.run(AspThread.java:79) > =A0 =A0 =A0 =A0 at java.lang.Thread.run(Thread.java:552) > > Have I to configure something in Tomcat ? > Does arrowhead support Microsoft SQL Server ? > Thanks, > > Sylvain |
|
From: Sylvain M. <syl...@po...> - 2005-06-02 14:56:04
|
I am under MacOS X and currently trying to use database of a
Microsoft SQL Server.
It used to be done correctly under a Windows machine but I want it
under my mac.
I'm using the following code :
Set dbLogin = Server.CreateObject("ADODB.Connection")
Set rsLogin = Server.CreateObject("ADODB.Recordset")
dbLogin.Open "DRIVER={SQL Server} ; SERVER=202.71.128.140 ;
uid=chungdak ; pwd=kunga ; database=stsa"
and I get the following error :
java.lang.ClassNotFoundException: {SQL Server}
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.tripi.asp.ADODB.Connection.Open(Connection.java:233)
at com.tripi.asp.ADODB.Connection.Open(Connection.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.tripi.asp.JavaObjectNode$JavaFieldNode.executeMethod
(JavaObjectNode.java:574)
at com.tripi.asp.JavaObjectNode$JavaFieldNode.execute
(JavaObjectNode.java:353)
at com.tripi.asp.GetIndexNode.execute(GetIndexNode.java:178)
at com.tripi.asp.BlockNode.execute(BlockNode.java:155)
at com.tripi.asp.AspThread.run(AspThread.java:79)
at java.lang.Thread.run(Thread.java:552)
Have I to configure something in Tomcat ?
Does arrowhead support Microsoft SQL Server ?
Thanks,
Sylvain |
|
From: Mike C. <mc...@ya...> - 2004-04-22 19:25:56
|
I thout it's helma http://helma.org but I don't think it is, I didn't see any BSF stuff there. Regarding PolyJSP, it looks like they are able to switch interpreters at runtime, it is worth taking a look. Wondering if they maintain it anymore, it doesn't seem so. Did you think about compilation? i.e. translating the ASP into .java, and let the java compiler do the bytecode and debugging info. Mike -----Original Message----- From: Terence Haddock [mailto:laz...@tr...] Sent: Thursday, April 22, 2004 7:09 AM To: mc...@ya... Cc: arr...@li... Subject: Re: [Arrowheadasp-users] any plans for JavaScript? Very interesting, I would consider it, I had seen another ASP server written in Java, which used the Bean Scripting Framework and therefore supported multiple languages, but I cannot find the project anymore. Implementing JScript would be one of the obvious next steps for ArrowHead, but I have not taken any steps except to attempt to keep the VBScript implementation modular, so it could be switched at runtime. Sincerely, Terence Haddock On Wed, 2004-04-21 at 22:18, Mike C. wrote: > I saw this project, PolyJSP from Plenix, > http://www.plenix.org/older/polyjsp/index.html > I would consider a merge, what do you think. > > Another question: any plans for compiled JavaScript? > > Thanks, > Mike |
|
From: Terence H. <laz...@tr...> - 2004-04-22 14:09:47
|
Very interesting, I would consider it, I had seen another ASP server written in Java, which used the Bean Scripting Framework and therefore supported multiple languages, but I cannot find the project anymore. Implementing JScript would be one of the obvious next steps for ArrowHead, but I have not taken any steps except to attempt to keep the VBScript implementation modular, so it could be switched at runtime. Sincerely, Terence Haddock On Wed, 2004-04-21 at 22:18, Mike C. wrote: > I saw this project, PolyJSP from Plenix, > http://www.plenix.org/older/polyjsp/index.html > I would consider a merge, what do you think. > > Another question: any plans for compiled JavaScript? > > Thanks, > Mike |
|
From: Mike C. <mc...@ya...> - 2004-04-22 02:22:20
|
I saw this project, PolyJSP from Plenix, http://www.plenix.org/older/polyjsp/index.html I would consider a merge, what do you think. Another question: any plans for compiled JavaScript? Thanks, Mike |
|
From: Terence H. <laz...@tr...> - 2004-01-09 14:55:34
|
Uh, obviously I mean building ArrowHead, not building ant :) On Fri, 2004-01-09 at 09:42, Terence Haddock wrote: > I have just checked in a long overdue update for ArrowHead to compile > under JavaCC 3.x. It no longer uses the <javacc> ant task because ant > has to be patched to work with JavaCC 3.x, instead it calls JavaCC > directly using the <java> ant task, which works nicely. Please let me > know if anybody has any problems building ant now. > > Sincerely, > Terence Haddock > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Arrowheadasp-users mailing list > Arr...@li... > https://lists.sourceforge.net/lists/listinfo/arrowheadasp-users |
|
From: Terence H. <laz...@tr...> - 2004-01-09 14:46:47
|
I have just checked in a long overdue update for ArrowHead to compile under JavaCC 3.x. It no longer uses the <javacc> ant task because ant has to be patched to work with JavaCC 3.x, instead it calls JavaCC directly using the <java> ant task, which works nicely. Please let me know if anybody has any problems building ant now. Sincerely, Terence Haddock |
|
From: Terence H. <laz...@tr...> - 2004-01-08 14:15:33
|
Hi there! I am here, I was on vacation, ArrowHead ASP is in a "slow" state right now, but I still maintain it and I would appreciate the help! On Fri, 2003-12-19 at 17:38, Tim Fletcher wrote: > Hi all, > > i installed arrowhead ASP a couple of months ago and was very very pleased > with the results!! > it toke me a while to get it going because this was my very first > experience with Java. > > ever since i have become fascinated with Java but also JavaCC. i have made > a couple of > simple scripting languages using JavaCC and am very happy with how it turns > out. > > but when i tried compiling the arrowhead i got a couple of problems. > > first i would not find javacc, and it looks like it is looking for a file > called JavaCC.zip? > having a look round google, this is because arrowHeadASP uses an old > version of JavaCC. or could this be an ant problem? Yes, that is exactly the problem. It can be compiled with the new JavaCC, I have been meaning to check that in... > i come from an ASP (Micro$oft) background, but have since moved on to linux > solutions because that is what my clients want. > basicly i would be prepared to carry on work with this project as much as i > can, but, i say it again, my java exerience is very limited > > if anyone is still around, i would really like to turn ArrowHead ASP in to > a real alternative to IIS. I feel it is already an alternative to IIS, but that's since I wrote it to get rid of IIS for my company.... > so here come the questiones! > > 1 does anyone know how dificult it would be to make AH-ASP work with the > new Ant and JavaCC? I will work on that, it should be very simple. > 2 is the original creator of AH-ASP still around, and if possible, could we > maybe colaborate for a short time so that i can get to grips > with this fantastic project. i have actually used it for a very simple > survey (i say simple but it's actually rather complex) and it worked with > (hardly) no change what so ever. and this survey is used for a very (very) > big company, which i can't name of course :( I am here to help you out as much as I can. I might have missed your previous message, I was swimming in spam and work before my vacation. > i have also sent a message a couple of months ago on the main asp mailling > list, and it looks as if a few people would be willing to activly > participate in the project. There has been scattered participation so far. Honestly, the biggest problem with ArrowHead ASP is that JSP is so much nicer, especially combined with Struts, WebWork2, Cocoon, and all of jakarta.apache.org. I wrote ArrowHead as a migration and integration tool, and I think with that in mind, it works beautifully. The goal of ArrowHead is to be a plug-in replacement to IIS, in as much as that is technically possible, maybe this can be still achieved. > I thank you all for your time, and really hope that people are still on > this mailling list. > i would just be soo much easier if the original dev for the project was > arround for a bit of help once in a while. I know, it would, I wish I could work on OSS projects all the time! I hope I can be more helpful to you in the future. > Thanks for your time and have a nice day > Timothy Fletcher > WNV/Netfactoriel > Paris > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Arrowheadasp-users mailing list > Arr...@li... > https://lists.sourceforge.net/lists/listinfo/arrowheadasp-users |
|
From: Tim F. <ti...@wn...> - 2003-12-19 16:40:40
|
Hi all, i installed arrowhead ASP a couple of months ago and was very very pleased with the results!! it toke me a while to get it going because this was my very first experience with Java. ever since i have become fascinated with Java but also JavaCC. i have made a couple of simple scripting languages using JavaCC and am very happy with how it turns out. but when i tried compiling the arrowhead i got a couple of problems. first i would not find javacc, and it looks like it is looking for a file called JavaCC.zip? having a look round google, this is because arrowHeadASP uses an old version of JavaCC. or could this be an ant problem? i come from an ASP (Micro$oft) background, but have since moved on to linux solutions because that is what my clients want. basicly i would be prepared to carry on work with this project as much as i can, but, i say it again, my java exerience is very limited if anyone is still around, i would really like to turn ArrowHead ASP in to a real alternative to IIS. so here come the questiones! 1 does anyone know how dificult it would be to make AH-ASP work with the new Ant and JavaCC? 2 is the original creator of AH-ASP still around, and if possible, could we maybe colaborate for a short time so that i can get to grips with this fantastic project. i have actually used it for a very simple survey (i say simple but it's actually rather complex) and it worked with (hardly) no change what so ever. and this survey is used for a very (very) big company, which i can't name of course :( i have also sent a message a couple of months ago on the main asp mailling list, and it looks as if a few people would be willing to activly participate in the project. I thank you all for your time, and really hope that people are still on this mailling list. i would just be soo much easier if the original dev for the project was arround for a bit of help once in a while. Thanks for your time and have a nice day Timothy Fletcher WNV/Netfactoriel Paris |
|
From: RGL <rla...@cl...> - 2003-09-30 19:56:12
|
Thank you, Terence. Roberto |
|
From: RGL <rla...@cl...> - 2003-09-30 18:31:43
|
Linne, The Arrowheadasp is a servlet. It worked fine on a Jboss + Tomcat container so if you have a servlet container it will be good enough I think. Unfortunately its ASP subset seems to be uncomplete now. I cannot make it connect with an *.mdb database for instance (maybe I coded wrong, I asked for help on this list and I still waiting for help). Have a nice day, Roberto >Hi, > > > >Have recently installed a custom version of Linux 9.0 on one of the web >servers in here and we previously used Chili Asp. It has been replaced >with Sun One v4.0 and I scared to install that as it isnt supported yet >and there have been some problems with Apache 2.0.4 as well. Please can >you tell me what ASP software I should use? Would Arrowheadasp be >compatible? > > > >Any tips would be really really appreciated. > > > > > >Thanks, > >Lynne > > > > > > > |
|
From: Lynne M. <lyn...@ni...> - 2003-09-30 15:30:43
|
Hi, Have recently installed a custom version of Linux 9.0 on one of the web servers in here and we previously used Chili Asp. It has been replaced with Sun One v4.0 and I scared to install that as it isnt supported yet and there have been some problems with Apache 2.0.4 as well. Please can you tell me what ASP software I should use? Would Arrowheadasp be compatible? Any tips would be really really appreciated. Thanks, Lynne |
|
From: RGL <rla...@cl...> - 2003-09-22 09:10:58
|
Hello all, Does arrowhead-0.2.2.jar currently connect to ms-access database on a Linux environment? Thank you very much, Roberto |
|
From: streeper <str...@sm...> - 2003-05-27 00:06:26
|
When I run ant.bat on my xp machine, i get: C:\ARROWHEAD\bin>ant Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main There doesn't appear to be a Main.java file anywhere? Does anybody know how to build the asp server on xp? Thanks, Bill Streeper |
|
From: streeper <str...@sm...> - 2003-05-26 19:32:00
|
The ant.bat files runs lcp.bat but I can't find this file in the source
arrowhead-src-0.2.1.tar.gz. Anybody know what this bat file does?
I really need to know what file the asp server is trying to load:
at com.tripi.asp.AspFileFactory.resolveFile(AspFileFactory.java:90)
at com.tripi.asp.GlobalScope.initializeScope(GlobalScope.java:110)
at com.tripi.asp.AspServlet.init(AspServlet.java:106)
Any ideas? Thanks,
Bill Streeper |
|
From: streeper <str...@sm...> - 2003-05-26 03:03:48
|
I've got the sun jdk and tomcat4 installed and running on my windows xp pro
platform. When i load the demo asp file:
<%
Response.Write("Hello from ASP!")
%>
I get the response page below. Does anyone know what file/path it's looking
for?
Thanks,
Bill Streeper
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet asp threw exception
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:963)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
root cause
java.lang.NullPointerException
at java.io.File.(File.java:180)
at com.tripi.asp.AspFileFactory.resolveFile(AspFileFactory.java:90)
at com.tripi.asp.GlobalScope.initializeScope(GlobalScope.java:110)
at com.tripi.asp.AspServlet.init(AspServlet.java:106)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
Apache Tomcat/4.1.24 |
|
From: Terence H. <laz...@tr...> - 2003-01-30 21:33:29
|
Dear Layland Chui,
I have just released version 0.2.1 of ArrowHead which supports updatable
record sets. Please try this version and let me know if you have any
further problems.
Sincerely,
Terence Haddock
On Fri, 2003-01-03 at 12:29, Leyland Chui wrote:
> Dear All,
>
> On the JAVA's ASP, How can I write data on database using ADODB?
>
> IIS/ASP-DSNLESS (It's working) / ChiliASP-DSNLESS (Not Sure, Should Be Work)
>
> <%
> NewsConStr = "DRIVER={MySQL Driver};SERVER=10.0.0.1;DATABASE=news;UID=news;PWD=news; OPTION=35"
> Set Conn=Server.CreateObject("ADODB.Connection")
> Set rs=Server.CreateObject("ADODB.RecordSet")
> SQL = "SELECT * From webs where id=1"
> Conn.open NewsConStr
> rs.open SQL,conn,2,2 ' <--- set 2,2 enable read/write, it will be set read-only without it. (Tested on IIS)
>
> If rs Is Nothing or rs.EOF Then
> Response.Write "News ID NOT FOUND"
> Response.End
> End If
>
> rs("clicks")=rs("clicks") +1
> rs.update
> rs.close
> conn.close
>
> %>
>
> On The JAVA's ASP, It contains errors.
>
> <%
>
> Server.CreateObject("java:org.gjt.mm.mysql.Driver")
> Set Conn = Server.CreateObject("ADODB.Connection")
> SQL = "SELECT * From webs where id=1"
> Conn.open "jdbc:mysql://10.0.0.1/news?user=news&password=news"
> Set rs = Conn.execute(SQL)
>
> If rs Is Nothing or rs.EOF Then
> Response.Write "News ID NOT FOUND"
> Response.End
> End If
>
> rs("clicks")=rs("clicks") +1
> rs.update
>
> %>
>
> Error Output Is
>
> java.lang.RuntimeException: Setting value of read-only variable
> at com.tripi.asp.ADODB.RecordSet$FieldsMap.put(RecordSet.java:337)
> at com.tripi.asp.ADODB.RecordSet.put(RecordSet.java:302)
> at com.tripi.asp.JavaObjectNode$JavaAccessorNode.setValue(JavaObjectNode.java:284)
> at com.tripi.asp.SetValueNode.execute(SetValueNode.java:132)
> at com.tripi.asp.BlockNode.execute(BlockNode.java:131)
> at com.tripi.asp.AspThread.run(AspThread.java:74)
> at java.lang.Thread.run(Thread.java:536)
> File /var/tomcat4/webapps/aspfiles/news.asp line 14: java.lang.RuntimeException: Setting value of read-only variable
>
> Best Regards,
> Leyland Chui
>
>
>
>
--
Terence Haddock <laz...@tr...>
|
|
From: Terence H. <laz...@tr...> - 2003-01-30 21:31:49
|
Dear All, Version 0.2.1 of ArrowHead has been released! Here are the release notes: ---- Release 0.2.1 of ArrowHead is a minor fix release. The major changes are: ADODB implementation is much further along, ASP sessions can be shared with Servlet/JSP sessions, added a check for DIM'ing a variable more than once, and assorted other fixes. See the UPGRADING-0.2.1.txt document for information about upgrading from 0.2.0 or earlier. ---- It is highly recommended for all users to upgrade to this version, there are many ADODB-releated fixes and enhancements. - Terry -- Terence Haddock <laz...@tr...> |
|
From: Terence H. <laz...@tr...> - 2003-01-06 15:53:04
|
Dear Leyland Chui,
I am sorry to say, but updating the result set is not yet implemented.
It's definitely on the TODO list, and will probably be one of the next
things implemented. In CVS I have most of ADODB.Command and
ADODB.Connection completed, but ADODB.RecordSet is a big one and will
take some time.
Sincerely,
Terence Haddock
On Fri, 2003-01-03 at 12:29, Leyland Chui wrote:
> Dear All,
>
> On the JAVA's ASP, How can I write data on database using ADODB?
>
> IIS/ASP-DSNLESS (It's working) / ChiliASP-DSNLESS (Not Sure, Should Be Work)
>
> <%
> NewsConStr = "DRIVER={MySQL Driver};SERVER=10.0.0.1;DATABASE=news;UID=news;PWD=news; OPTION=35"
> Set Conn=Server.CreateObject("ADODB.Connection")
> Set rs=Server.CreateObject("ADODB.RecordSet")
> SQL = "SELECT * From webs where id=1"
> Conn.open NewsConStr
> rs.open SQL,conn,2,2 ' <--- set 2,2 enable read/write, it will be set read-only without it. (Tested on IIS)
>
> If rs Is Nothing or rs.EOF Then
> Response.Write "News ID NOT FOUND"
> Response.End
> End If
>
> rs("clicks")=rs("clicks") +1
> rs.update
> rs.close
> conn.close
>
> %>
>
> On The JAVA's ASP, It contains errors.
>
> <%
>
> Server.CreateObject("java:org.gjt.mm.mysql.Driver")
> Set Conn = Server.CreateObject("ADODB.Connection")
> SQL = "SELECT * From webs where id=1"
> Conn.open "jdbc:mysql://10.0.0.1/news?user=news&password=news"
> Set rs = Conn.execute(SQL)
>
> If rs Is Nothing or rs.EOF Then
> Response.Write "News ID NOT FOUND"
> Response.End
> End If
>
> rs("clicks")=rs("clicks") +1
> rs.update
>
> %>
>
> Error Output Is
>
> java.lang.RuntimeException: Setting value of read-only variable
> at com.tripi.asp.ADODB.RecordSet$FieldsMap.put(RecordSet.java:337)
> at com.tripi.asp.ADODB.RecordSet.put(RecordSet.java:302)
> at com.tripi.asp.JavaObjectNode$JavaAccessorNode.setValue(JavaObjectNode.java:284)
> at com.tripi.asp.SetValueNode.execute(SetValueNode.java:132)
> at com.tripi.asp.BlockNode.execute(BlockNode.java:131)
> at com.tripi.asp.AspThread.run(AspThread.java:74)
> at java.lang.Thread.run(Thread.java:536)
> File /var/tomcat4/webapps/aspfiles/news.asp line 14: java.lang.RuntimeException: Setting value of read-only variable
>
> Best Regards,
> Leyland Chui
>
>
>
>
--
Terence Haddock <laz...@tr...>
|
|
From: Leyland C. <irc...@os...> - 2003-01-03 17:30:23
|
Dear All,
On the JAVA's ASP, How can I write data on database using ADODB?
IIS/ASP-DSNLESS (It's working) / ChiliASP-DSNLESS (Not Sure, Should Be Work)
<%
NewsConStr = "DRIVER={MySQL Driver};SERVER=10.0.0.1;DATABASE=news;UID=news;PWD=news; OPTION=35"
Set Conn=Server.CreateObject("ADODB.Connection")
Set rs=Server.CreateObject("ADODB.RecordSet")
SQL = "SELECT * From webs where id=1"
Conn.open NewsConStr
rs.open SQL,conn,2,2 ' <--- set 2,2 enable read/write, it will be set read-only without it. (Tested on IIS)
If rs Is Nothing or rs.EOF Then
Response.Write "News ID NOT FOUND"
Response.End
End If
rs("clicks")=rs("clicks") +1
rs.update
rs.close
conn.close
%>
On The JAVA's ASP, It contains errors.
<%
Server.CreateObject("java:org.gjt.mm.mysql.Driver")
Set Conn = Server.CreateObject("ADODB.Connection")
SQL = "SELECT * From webs where id=1"
Conn.open "jdbc:mysql://10.0.0.1/news?user=news&password=news"
Set rs = Conn.execute(SQL)
If rs Is Nothing or rs.EOF Then
Response.Write "News ID NOT FOUND"
Response.End
End If
rs("clicks")=rs("clicks") +1
rs.update
%>
Error Output Is
java.lang.RuntimeException: Setting value of read-only variable
at com.tripi.asp.ADODB.RecordSet$FieldsMap.put(RecordSet.java:337)
at com.tripi.asp.ADODB.RecordSet.put(RecordSet.java:302)
at com.tripi.asp.JavaObjectNode$JavaAccessorNode.setValue(JavaObjectNode.java:284)
at com.tripi.asp.SetValueNode.execute(SetValueNode.java:132)
at com.tripi.asp.BlockNode.execute(BlockNode.java:131)
at com.tripi.asp.AspThread.run(AspThread.java:74)
at java.lang.Thread.run(Thread.java:536)
File /var/tomcat4/webapps/aspfiles/news.asp line 14: java.lang.RuntimeException: Setting value of read-only variable
Best Regards,
Leyland Chui
|
|
From: Leyland C. <irc...@os...> - 2003-01-03 17:22:53
|
Dear All,
On the JAVA's ASP, How can I write data on database using ADODB?
IIS/ASP-DSNLESS / ChiliASP-DSNLESS (It's working)
<%
NewsConStr = "DRIVER={MySQL Driver};SERVER=10.0.0.1;DATABASE=news;UID=news;PWD=news; OPTION=35"
Set Conn=Server.CreateObject("ADODB.Connection")
Set rs=Server.CreateObject("ADODB.RecordSet")
SQL = "SELECT * From webs where id=1"
Conn.open NewsConStr
rs.open SQL,conn,2,2 ' <--- set 2,2 enable read/write, it will be set read-only without it.
If rs Is Nothing or rs.EOF Then
Response.Write "News ID NOT FOUND"
Response.End
End If
rs("clicks")=rs("clicks") +1
rs.update
rs.close
conn.close
%>
On The JAVA's ASP, It contains errors.
<%
Server.CreateObject("java:org.gjt.mm.mysql.Driver")
Set Conn = Server.CreateObject("ADODB.Connection")
SQL = "SELECT * From webs where id=1"
Conn.open "jdbc:mysql://10.0.0.1/news?user=news&password=news"
Set rs = Conn.execute(SQL)
If rs Is Nothing or rs.EOF Then
Response.Write "News ID NOT FOUND"
Response.End
End If
rs("clicks")=rs("clicks") +1
rs.update
%>
Error Output Is
java.lang.RuntimeException: Setting value of read-only variable
at com.tripi.asp.ADODB.RecordSet$FieldsMap.put(RecordSet.java:337)
at com.tripi.asp.ADODB.RecordSet.put(RecordSet.java:302)
at com.tripi.asp.JavaObjectNode$JavaAccessorNode.setValue(JavaObjectNode.java:284)
at com.tripi.asp.SetValueNode.execute(SetValueNode.java:132)
at com.tripi.asp.BlockNode.execute(BlockNode.java:131)
at com.tripi.asp.AspThread.run(AspThread.java:74)
at java.lang.Thread.run(Thread.java:536)
File /var/tomcat4/webapps/aspfiles/news.asp line 14: java.lang.RuntimeException: Setting value of read-only variable
Best Regards,
Leyland Chui
|
|
From: Terence H. <laz...@tr...> - 2002-11-14 21:01:23
|
Dear All, I have just released a new version of ArrowHead ASP, version 0.2.0. This is a major improvement, the parser has been re-written for better error reporting and for easier support of multiple languages. If you have been waiting to use and develop on ArrowHead ASP because the error messages you got were too cryptic, try this version! Next on the road map is improved ADODB support and JScript support. Please send in any requests for features, requests for help, or just say hi if you are bored. Also, I could really use some help in the areas of development and documentations, please notify me if you would like to help out. Sincerely, Terence Haddock |
|
From: Terence H. <laz...@tr...> - 2002-10-19 03:39:59
|
Dear ArrowHead Users, I have checked in a next generation parser for ArrowHead which uses JavaCC to generate the parser and lexer. This parser is still under heavy development, I suggest staying with the 0.1.0 version for now unless you feel very adventurous. Some of the features of the new parser are correct line numbers for errors (wow, what an advance!), extend-able to multiple languages (JScript, look out!), and general support for <SCRIPT RUNAT="SERVER" ...> notation. The install document is not yet updated, if you wish to build the latest version from CVS, make sure you have JavaCC installed and modify build.xml to point to your JavaCC installation. For more information on JavaCC, see: http://www.webgain.com/products/java_cc/ Sincerely, Terence Haddock |