00:02.37 | jasonb | rowenio: Sure looks to me like you've got your security manager turned on still. |
00:04.04 | rowenio | /etc/init.d/tomcat4: ... "# Use the Java security manager? (yes/no) |
00:04.04 | rowenio | TOMCAT4_SECURITY="no" |
00:04.51 | rowenio | but, I agree, it does look like I do |
00:20.46 | rowenio | right. time for some sleep. thanks for your help |
00:31.13 | *** join/#tomcat fishnet3 (~chatzilla@s145.dial4.sne.nac.net) |
00:42.26 | jasonb | rowenio: Np. |
00:47.42 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
01:03.37 | Hellaenergy | Very interesting: http://news.netcraft.com/archives/2003/07/23/jsp_continues_fast_growth_on_a_surprisingly_diverse_set_of_operating_systems.html |
01:11.36 | jasonb | Hellaenergy: That's awesome! |
01:11.46 | Hellaenergy | :) |
01:12.03 | Hellaenergy | Dudes are finally catching on :) |
01:13.01 | Hellaenergy | I think it is do to the quality of Tomcat. |
01:35.05 | *** join/#tomcat alonsomartinez (~chatzilla@dyn151.mel4.homedsl.pacific.net.au) |
01:38.19 | kylev | ibot: stupid is http://fun.drno.de/pics/english/bart.gif |
01:38.20 | | ...but stupid is already something else... |
01:38.26 | kylev | ibot stupid? |
01:38.30 | | i guess stupid is everyone |
01:38.42 | kylev | ibot forget stupid |
01:38.42 | | i forgot stupid, kylev |
01:38.46 | kylev | ibot: stupid is http://fun.drno.de/pics/english/bart.gif |
01:38.46 | | okay, kylev |
01:38.54 | kylev | ibot stupid? |
01:38.55 | | well, stupid is http://fun.drno.de/pics/english/bart.gif |
01:48.14 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
02:00.07 | *** join/#tomcat alonsomartinez_ (~chatzilla@dyn151.mel4.homedsl.pacific.net.au) |
02:05.38 | Hellaenergy | Hello alonsomartinez |
02:15.07 | *** join/#tomcat alonsomartinez__ (~chatzilla@dyn151.mel4.homedsl.pacific.net.au) |
02:29.30 | kylev | anyone know the rules for types and setXX() in a Tag? |
02:30.13 | kylev | as in, if I have setFoo(Long f) will it do promotion of something that is an Integer? |
02:32.21 | kylev | or is just everything a damn String? |
02:44.31 | *** join/#tomcat duzzer (~duzzer@clusterfw.beelinegprs.com) |
03:08.05 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
05:12.50 | *** join/#tomcat duzzer (~duzzer@62.141.79.74) |
06:19.37 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) |
06:46.09 | *** join/#tomcat vakYpollo (~higopico@151.Red-80-36-135.pooles.rima-tde.net) |
08:04.59 | *** join/#tomcat hellabot (~hellabot@hellaweb.com) [NETSPLIT VICTIM] |
08:05.10 | *** join/#tomcat AlexMc_ (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) |
08:05.53 | AlexMc_ | clear |
08:05.55 | AlexMc_ | oops |
08:05.56 | AlexMc_ | :-) |
08:19.57 | *** join/#tomcat Lbenzo (~lbenzo@213.171.248.194) |
08:19.59 | Lbenzo | ji |
08:20.00 | Lbenzo | hi |
08:20.04 | Lbenzo | :) |
08:20.11 | vi | hi |
08:21.32 | Lbenzo | one question that i dont find in internet? someone help me to secure one web in tomcat with user and password, like .htaccess in apache, and i dont remember the password. I need to chage it, but i dont remember where i can change it or where is the file |
08:23.46 | Lbenzo | somebody knows where this could be? |
08:26.57 | AlexMc_ | can you not just grep all the xml files undr the tomcat directory for that user? |
08:27.03 | AlexMc_ | is it not stored in an xml file? |
08:27.54 | Lbenzo | i'll see. But, this password in tomcat are defined in a xml file? |
08:28.56 | *** join/#tomcat |waterproof (~chatzilla@193.95.98.40) |
08:29.54 | vi | Lbenzo: conf/tomcat-users.xml |
08:33.19 | Lbenzo | :) ok. And... then where i specify which directories needs authentication? |
08:39.14 | AlexMc_ | which tomcat version? |
08:46.14 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) |
08:46.46 | Lbenzo | 4.1 |
08:55.36 | AlexMc_ | back in approx 30min |
08:55.37 | AlexMc_ | sorry |
09:41.33 | *** join/#tomcat Lbenzo (~lbenzo@213.171.248.194) |
10:19.59 | *** join/#tomcat IRCMonkey (~chatzilla@p5087FA96.dip.t-dialin.net) |
10:49.45 | vi | WEB-INF/web.xml |
10:50.18 | vi | AlexMc: see examples in admin context anything like <auth-method> |
11:41.38 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) |
11:43.35 | *** join/#tomcat AlexMc__ (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) |
11:46.30 | *** join/#tomcat Streamer (~Streamer@195.8.183.98) |
11:46.32 | Streamer | Hi |
11:46.55 | Streamer | Can anyone help me, I need to deploy hibernate in Tomcat, where should I put the Jar files so my servlets can access them |
11:53.15 | *** join/#tomcat nakee___ (~elylevy@grok.cs.huji.ac.il) |
11:56.08 | Streamer | Anyone awake |
11:56.21 | Streamer | Please this has been driving me mad for 3 days now |
12:20.11 | sobel | common/lib or web-inf/lib |
12:38.55 | Streamer | hmm |
12:39.03 | Streamer | I'll try putting them all in there |
12:54.13 | segfault- | hello |
12:54.18 | segfault- | find your webapps folder |
12:54.36 | segfault- | then create a subolfer with your appname |
12:54.58 | segfault- | (for example c:\tomcat\webapps\<placeaname> |
12:55.36 | segfault- | then : WEB-INF/ and so on this folder web.xml to configure . |
13:12.10 | *** join/#tomcat rO|__ (~rO|@pD95459D2.dip.t-dialin.net) |
13:19.15 | Streamer | ok, I've put all the jars in CATALINA_HOME/common/lib |
13:19.23 | Streamer | but my app still wont see them |
13:19.35 | Streamer | Do I have to set a classpath or anything? |
13:21.27 | vi | streamer: no U havn't |
13:22.09 | Streamer | When i start tomcat through my ide, it works when I strt it standalone it doesnt |
13:23.04 | Streamer | avax.servlet.ServletException: Wrapper cannot find servlet class com.vivid.ireport.index or a class it depends on |
13:23.30 | Streamer | I get that error, which I take it means it cant find the class in the jar I have put in the common/lib |
13:32.20 | *** join/#tomcat eprice (~chatzilla@ptc-gw.ptc.com) |
13:33.30 | sobel | it automatically places everything in common/lib in the classpath |
13:33.47 | Streamer | Any suggestions as to why its not working then? |
13:33.50 | sobel | that exception does not say class not found |
13:34.12 | Streamer | java.lang.ClassNotFoundException: com.vivid.ireport.index |
13:34.20 | Streamer | Thats further down the jsp page |
13:34.58 | sobel | clearly code in your library throws an exception |
13:35.17 | sobel | meaning it is loaded and executing, though not executing like you want. it is certainly being loaded, however. |
13:35.38 | Streamer | Then why does it work when deployed from the ide? |
13:35.49 | sobel | different environment |
13:35.56 | Streamer | same machine |
13:36.19 | AlexMc__ | different environment |
13:36.38 | AlexMc__ | "or a class it depends on" |
13:36.50 | AlexMc__ | day jar vue |
13:36.51 | AlexMc__ | ROFL |
13:36.53 | AlexMc__ | :-) |
13:37.01 | AlexMc__ | I know that feeling |
13:37.02 | Streamer | Yeah I'm fairly certain though that class is the one in the jar though |
13:37.05 | Streamer | I think |
13:37.18 | AlexMc__ | want to show us the whole stack trace? |
13:37.47 | sobel | the IDE is a different environment; being on the same machine means absolutely nothing! |
13:37.54 | Streamer | fairenough |
13:38.13 | Streamer | the ide is deploying to the same tomcat, just for future reference |
13:38.38 | AlexMc__ | is it creating a WAR file? |
13:38.46 | AlexMc__ | is the tomcat running in the IDE? |
13:38.46 | sobel | when you run something under an IDE, you typically inherit the classpath of the IDE |
13:38.46 | Streamer | Yeah, its created fine |
13:38.52 | Streamer | Yeah |
13:39.00 | AlexMc__ | so it isn't the *same* tomcat |
13:39.01 | sobel | that's why it's a different environment |
13:39.11 | sobel | IDEs change everything |
13:39.11 | Streamer | ok |
13:39.16 | AlexMc__ | Streamer: I'll shut up if I'm not being helpful |
13:39.17 | AlexMc__ | :-) |
13:39.27 | Streamer | AlexMc : no anything helps |
13:39.40 | sobel | that's why lots of programmers buck the IDE once the core framework is up |
13:39.50 | AlexMc__ | this is perhaps the biggest difference between java and old style programming languages |
13:39.59 | AlexMc__ | java changes at runtime far more than most languages |
13:40.00 | sobel | in the case of servlets, the core framework is up. mostly you can just use it. |
13:40.04 | Streamer | AlexMc : Its odd it is the same Tomcat but kinda running in the IDE |
13:40.17 | sobel | java changes less at runtime than perl |
13:40.21 | AlexMc__ | but any bit of the code may be different |
13:40.34 | AlexMc__ | when tomcat runs in the IDE it might be using the IDE's XML parser for instance |
13:40.35 | sobel | it's *not the same tomcat* if it is running in an IDE |
13:40.38 | sobel | not EVEN |
13:40.55 | AlexMc__ | just because the same jar files are there does not mean they are being used! |
13:40.58 | sobel | different classpath, system properties, hell, could even be a different JVM |
13:41.00 | Streamer | ok |
13:41.15 | AlexMc__ | what sobel says, ditto |
13:41.21 | Streamer | lol j |
13:41.22 | Streamer | k |
13:41.32 | AlexMc__ | frankly I think you should run the whole thing from your IDE |
13:41.36 | AlexMc__ | even in production |
13:41.38 | AlexMc__ | :-) |
13:41.40 | Streamer | lol |
13:41.58 | Streamer | So what do you recommend to get it working |
13:42.14 | sobel | haha |
13:42.25 | Streamer | i am really lost, |
13:42.33 | sobel | put the IDE down for a while. |
13:42.43 | sobel | learn tomcat without using the IDE. |
13:43.36 | sobel | if you get to know how tomcat works by itself, then maybe you'll have a chance at figuring out the changes due to the IDE |
13:43.54 | AlexMc__ | can eclipse generate a WAR file for you? install into Tomcat that way? |
13:44.35 | AlexMc__ | just a suggestion |
13:44.37 | sobel | or, run tomcat separately and deploy with WARs like alexmc mentions |
13:44.53 | sobel | that way you can develop with Eclipse but tomcat will not be running under it |
13:45.27 | Streamer | AlexMc, thats what I did, strange how it now doesnt work |
13:45.47 | Streamer | hmm maybe if I undeploy then redeploy |
13:45.53 | Streamer | I'll try that two secs |
13:47.06 | *** part/#tomcat nakeee (~elylevy@grok.cs.huji.ac.il) |
13:47.11 | Streamer | I'm wondering if its generating the war correctly |
13:47.17 | Streamer | I'll an ant on it |
13:48.18 | Streamer | Infact I'm fairly certain it isnt building right |
13:48.30 | Streamer | The files in the war arent .class there .java |
13:48.56 | Streamer | Which is wrong isnt it |
13:49.05 | AlexMc__ | well you can put anything you like in the WAR |
13:49.20 | AlexMc__ | but for it to run then it needs to be .class or .jar inside |
13:49.22 | Streamer | Yeah but it would make the class un findable as its not compiled |
13:49.36 | sobel | a WAR is a zip file that has a WEB-INF/web.xml |
13:49.38 | Streamer | Which would explain my error |
13:49.45 | AlexMc__ | aha! |
13:50.03 | sobel | anything else is between the user and the servlet container |
13:50.09 | AlexMc__ | I suggest only running Tomcat inside Eclipse when you *really* need the interactive debugger |
13:50.10 | sobel | that's what you get for using an IDE |
13:50.15 | sobel | i quit IDEs long ago |
13:50.23 | AlexMc__ | <-- command line and vi |
13:50.32 | AlexMc__ | but I may try out Eclipse |
13:50.33 | Streamer | I onlylike them for pushing . and selecting the libraries |
13:50.39 | sobel | i lik vim or editplus (win32 gui editor) |
13:50.50 | Streamer | I may try Jedit, sounds quite good |
13:51.11 | AlexMc__ | Jedit is not a lot more than an editor |
13:51.20 | AlexMc__ | +PFE |
13:51.25 | AlexMc__ | I *like* PFE |
13:51.33 | AlexMc__ | have been using the same version since |
13:51.53 | AlexMc__ | well at least four years |
13:52.06 | Streamer | Must be resonably good then |
13:52.19 | sobel | i know non-programmers that get hooked on PFE just the same |
13:52.29 | sobel | i like a nonprogrammable editor these days, though |
13:52.43 | sobel | otherwise i end up with a bad homebrew IDE, and that's not what i want |
13:52.50 | sobel | i just want a good editor |
13:53.07 | sobel | it doesn't need to nest my entire dev evironment; quite the opposite |
13:53.52 | Streamer | Dont believe I've wasted three days on that |
13:54.23 | sobel | with software, it pays to ask around |
13:55.13 | Streamer | Well this seems a friendly channel, I got chased out of #java earlier for asking opinions on what technology to use in JSPs, DHTML JSP was it compatible enough |
13:55.28 | Streamer | I'm scared of opening my mouth in there |
13:55.47 | Streamer | now |
13:57.45 | sobel | well, #java really isn't the appropriate place to ask about JSP, but it's especially off-base for DHTML |
13:58.21 | Streamer | It is offbase, but it was more about opinion on what they used in there apps |
13:58.30 | sobel | i can understand why #java wouldn't want to go off into the weeds with servlets and jsp. that's architecture stuff, not coding. they're just coders. |
13:58.46 | Streamer | I didnt actually expect to be rounded up and shot :P |
13:59.01 | sobel | this may come as a surprise to you, but most java coders do not program for the web or even like HTML |
13:59.28 | Streamer | Yeah, I have to admit, there is alot of swing talk going on in there |
13:59.33 | sobel | they tend to believe heavyweight apps are the way to go, and will likely program in Swing |
14:00.04 | sobel | JSP is based on java and you should be a java programmer first before expecting to learn a lot of JSP |
14:00.14 | sobel | but it's not something most java programmers care about |
14:00.49 | Streamer | yeah, I was quite suprised, I though java desktop had practically died |
14:00.55 | sobel | personally, i like the web. it's a great way to sell my service, which is a web site for distributing reports. |
14:01.28 | sobel | distributing applications is a pain in the ass. but providing the same service through a browser is relatively easy. |
14:01.47 | sobel | installshield versus proxy misses, for updates. |
14:01.55 | Streamer | Yeah, I know maybe a little too easy, gets kinda dull :P |
14:02.06 | eprice | I like to use Eclipse for its compile-time error notification (red underline) and a few other niceties. But I prefer to go back to the command line and execute Ant directly when it is time to build/test. |
14:02.11 | sobel | i like dull. it means i go home at 5 |
14:02.36 | AlexMc__ | dull means that you aren't searching for a new job every three to six months |
14:02.37 | Streamer | Very True |
14:02.40 | Streamer | :) |
14:03.00 | sobel | seriously, i'm kidding. i have more to do than that. but i don't need programming to be the source of complexity. |
14:03.09 | Streamer | Anyway guys, I've fixed the problem by compiling right ;), thanks for your helpon that |
14:03.20 | AlexMc__ | glad to be of service |
14:03.31 | Streamer | had been bugging me for days |
14:03.37 | sobel | business is tricky enough these days, without weeks or months between dev cycles |
14:03.45 | Streamer | Right now to ftp it to server problem number 2 probably :P |
14:03.55 | Streamer | http://java.sun.com/applets/other/TumblingDuke/index.html |
14:03.58 | Streamer | I really like that |
14:04.02 | Streamer | kinda funny :) |
14:04.09 | sobel | i hate the duke |
14:04.21 | Streamer | Yeah, but I think the animation is clever |
14:04.21 | sobel | i want an animated gif of the duke getting impaled |
14:04.42 | Streamer | New java logo is nice though |
14:13.28 | Streamer | Anyway, I'll let you people idle importantly |
14:15.56 | sobel | thanks |
14:16.04 | sobel | i'll commence idling now |
14:29.47 | *** join/#tomcat dNr (dnr@host217-36-215-233.in-addr.btopenworld.com) |
14:30.04 | *** join/#tomcat CtV (~chatzilla@tambourin.uni-paderborn.de) |
14:40.51 | *** join/#tomcat rO|_ (~rO|@pD9E599A6.dip.t-dialin.net) |
14:57.14 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
16:08.03 | *** join/#tomcat Remm (~chatzilla@AToulouse-206-1-18-228.w81-53.abo.wanadoo.fr) |
16:22.53 | *** join/#tomcat hlprmnky (~hlprmnky@c-66-41-166-23.mn.client2.attbi.com) |
16:45.32 | hlprmnky | So, I have a question about Tomcat 4.1.18 and classloading. Here goes: I'm supposed to be connecting to an Oracle database, and I'm trying to use the thin driver. I have what I believe to be the correct Oracle .jar (classes12.zip renamed to classes12.jar) in my webapps/<app>/WEB-INF/lib directory |
16:46.15 | hlprmnky | In my servlet's init method, I call Class.forName(oracle.jdbc.[driver.]OracleDriver).newInstance(); |
16:46.37 | hlprmnky | and iterating over the Enumeration of drivers the classloader knows about show that driver loaded |
16:47.10 | hlprmnky | yet, two lines later (still in init()) when I try to get a connection, a SQLException is thrown with error text 'no suitable driver found'. |
16:47.41 | hlprmnky | Now, before I go hunting (yet again) through Oracle's tech support, I thought I would ask to be *sure* |
16:48.10 | hlprmnky | that the symptoms above point to 'Oracle's driver isn't parsing my DB URL correctly, or isn't the thin driver' |
16:48.29 | hlprmnky | and not 'I've horked up my Tomcat config, or the .jar needs to go somewhere *else*' |
16:48.34 | hlprmnky | :) |
16:52.50 | tang^ | you sure that .zip file is a jar? |
16:53.57 | hlprmnky | tang^: well, first off I thought all zipfiles were jars, and second, given that Class.forName() doesn't choke, it *seems* that the classloader can get into the .jar all right. |
16:54.38 | hlprmnky | I've just been burned by classloader issues in Tomcat one too many times to assume that because it appears to work on line 84, it's still working on line 86. :D |
16:56.12 | sobel | 'all zipfiles were jars' is incorrect |
16:57.09 | sobel | jars are zips, but not every zip is a jar |
16:58.22 | hlprmnky | well, I suppose I could unzip it and jar up the resulting tree |
16:59.15 | Remm | are you sure your connection URL is ok ? |
16:59.59 | hlprmnky | Remm: Well, the syntax is exactly as the examples in the Oracle docs |
17:00.26 | sobel | if you made that jar with a zip program, it is probably wrong |
17:00.44 | hlprmnky | "oracle:jdbc:thin:@<host>:<port>:<sid>"" |
17:01.03 | hlprmnky | sobel: I didn't. But I've just re-packed the files with jar, so we'll see what happens. |
17:01.29 | Remm | well, if Class.forName works, then it means the classloader could read the JAR (which is indeed a ZIP) |
17:02.30 | hlprmnky | Remm: that's what I had figured. |
17:02.51 | hlprmnky | Well, with the freshly-minted .jar, I get the same exception. |
17:03.22 | hlprmnky | So at least it wasn't that particular n00b error. :D |
17:05.16 | Remm | well, other that the URL connection format is not recognized, I can't think of anything (if you're sure the Class.forName went well, and you're using the right driver class) |
17:05.21 | kylev | why are you rolling your own jar? |
17:06.12 | kylev | Oracle doesn't give you a "here, use this jar" solution? |
17:07.12 | hlprmnky | kylev: the .zip file was a 'here, use this jar' solution |
17:07.19 | hlprmnky | well, 'here, use this zip'. |
17:07.39 | hlprmnky | But since people thought it was maybe incorrectly rolled, I re-rolled it. |
17:08.23 | hlprmnky | I'm thinking 'using the right driver class' might be my problem. I'll have to go talk to Oracle's tech support site again. :( |
17:08.40 | kylev | what is the URL for the "thin" driver you speak of? |
17:09.17 | hlprmnky | See, it's just as I figured - the small, community-supported OSS software is not the issue, it's the giant, closed-source company that charges more than my car costs to use an instance of their software whose documentation is off. :D |
17:09.36 | hlprmnky | kylev: how do you mean, the connect URL or a URL describing it? |
17:16.52 | kylev | I would like to see information on said driver |
17:17.01 | kylev | so I may help you diagnose the problem |
17:17.14 | kylev | so if there is a description anywhere of the driver, I would like that URL |
17:18.17 | kylev | because I suspect your "hey, use this zip" assumption is wrong |
17:18.38 | hlprmnky | kylev: Indeed, that's the conclusion I'm being forced to as well. |
17:18.53 | hlprmnky | I'm looking for the offical Oracle docs - will post URL in a moment |
17:21.53 | tang^ | http://technet.oracle.com/software/tech/java/sqlj_jdbc/content.html is probably a good start |
17:23.02 | sobel | i'm suddenly glad to be using mysql |
17:25.40 | kylev | hlprmnky: are you on OSX? |
17:26.50 | hlprmnky | kylev: no. The deployment machine is Solaris of some type |
17:27.09 | hlprmnky | SunOS 5.8 |
17:30.54 | kylev | hlprmnky: java -version |
17:31.21 | kylev | also: zipfile name? |
17:32.42 | hlprmnky | Java version "1.2.2" |
17:32.48 | hlprmnky | zipfile was classes12.zip |
17:33.10 | hlprmnky | According to the Solaris README at http://download-east.oracle.com/otn/utilities_drivers/jdbc/8171/Readme8171.txt |
17:33.30 | hlprmnky | classes12.zip "should" be providing all that's needed for the thin driver |
17:33.50 | hlprmnky | And the URL I'm providing matches syntactically 100% with the example URL they give |
17:34.21 | hlprmnky | wait a second |
17:34.24 | hlprmnky | no it doesn't |
17:38.47 | hlprmnky | heh. |
17:38.56 | hlprmnky | still SQLExcetption 'No suitable driver.' |
17:40.11 | hlprmnky | yet, oracle.jdbc.driver.OracleDriver is in the Enumeration returned by java.sql.DriverManager.getDrivers(); |
17:40.14 | tang^ | can you post some code somewhere? |
17:40.20 | tang^ | like hellabot |
17:40.26 | kylev | hellabot: url? |
17:41.04 | tang^ | its in the topic |
17:42.20 | hlprmnky | sure. If I paste into the hellabot CGI form, is iit going to flood in here, or will it do something smarter? |
17:42.39 | tang^ | hellabot will just announce it here so we can go look |
17:42.58 | kylev | if hellabot is awake/working |
17:43.02 | kylev | hellabot: stupid? |
17:44.35 | hlprmnky | okay. one second. |
17:45.06 | tang^ | I think your 'one second' is long since passed. ;-) |
17:47.02 | hellabot | "hlprmnky" pasted "the init() method of my servlet what doesn't load Oracle's thin driver correctly." at http://www.hellaweb.com/hellabot/8 |
17:47.19 | hlprmnky | heh |
17:47.34 | hlprmnky | I just wanted to expunge the actual conneciton details from the URL. :) |
17:47.47 | tang^ | understandable |
17:48.50 | tang^ | you dont' seem to have followed step 2 in the readme |
17:49.59 | hlprmnky | Well, Class.forName(<driver>) is an alternative to that step which is supposed to achieve the same result, however I will indeed do it the README way and report on success/failure. :) |
17:50.11 | hlprmnky | This time, give me...ten seconds. :) |
17:50.24 | tang^ | heh |
17:50.39 | tang^ | oracle has a tendency to do things differently |
17:51.13 | kylev | I'd recommend not using Class.forName(), it's kind of the "old way" |
17:55.04 | hlprmnky | Well. |
17:55.06 | hlprmnky | I'll be jiggered. |
17:55.17 | hlprmnky | It seems to be correctly loading the driver now. |
17:55.18 | hlprmnky | Also |
17:55.38 | hlprmnky | the Enumeration has 'oracle.jdbc.driver.OracleDriver' listed twice. |
17:56.17 | hlprmnky | (and yes, I did comment out the 'Class.forName()' call. |
17:56.36 | hlprmnky | thanks very much for the help, everyone! |
17:57.23 | tang^ | welcome |
17:57.43 | hlprmnky | I've learned something valuable today: just becasue something on the Interweb says 'These two things are roughly equivalent' doesn't make it so. :D |
17:57.53 | tang^ | heh |
17:58.09 | tang^ | roughly is probably the key word there |
17:58.59 | hlprmnky | So, here's another stupid question. Is there a way to interpolate a string from a Properties element into an argument to new? |
17:59.16 | hlprmnky | (in the interests of keeping some kind of flexibility in the code) |
17:59.47 | hlprmnky | Never mind. |
17:59.52 | tang^ | I'm not sure of that. the folks in #java likely do, though |
17:59.59 | hlprmnky | I'll figure it out. |
18:00.18 | hlprmnky | I do sometimes read documentation. |
18:00.49 | hlprmnky | I don't always read the vital line, step, or sentence, obviously, but I do try to read it before asking for help. :) |
18:00.57 | tang^ | sure, we saw that... it's "following" the documents that you seem to skip |
18:01.02 | tang^ | ;-) |
18:02.05 | hlprmnky | hehe |
18:02.51 | hlprmnky | Well, IIRC I did try it that way, but probably I did it back when my DBA was still feeding me the incorrect connect URL and neglected to try it that way again after |
18:03.16 | hlprmnky | (did I mention that I love working as a contractor for a huge company that doesn't really care one way or another about my project? :) |
18:05.42 | tang^ | hmm, I'd like me one of those jobs |
18:06.40 | kylev | Theoretically, you should be able to just call Class.forName("com.foo.Driver") |
18:06.54 | kylev | when loaded, it is supposed to register itself with the DriverManager |
18:07.20 | hlprmnky | kylev: there's that word/concept again..."Theoretically" ;) |
18:07.26 | hlprmnky | That's what *I* thought, too. |
18:08.29 | kylev | probably worth trying now that you have a valid URL |
18:09.26 | hlprmnky | kylev: You misunderstand. I *have* the valid URL and was using it with Class.forName() when I came in here |
18:10.09 | hlprmnky | Thinking "theoretically, when the classloader finds the driver, it will be registered with DriverManager automagically" |
18:10.31 | hlprmnky | and indeed, the fact that it shows up twice in the output of DriverManager.getDrivers now |
18:10.49 | hlprmnky | might tend to indicate that it *is* being "registered" as soon as the classloader sees it |
18:11.04 | hlprmnky | but that something in that process isn't registering it "right" |
18:11.17 | hlprmnky | Of course, it might also just indicate that gremlins live in the server in question |
18:11.53 | hlprmnky | or any of a number of things. What I see, though, is that I pedantically followed the steps in the README and now DriverManager things it's a 'suitable driver' for my connect URL. |
18:11.59 | hlprmnky | Which is what I wanted to achieve. :) |
18:14.31 | *** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141) |
18:23.55 | *** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141) [NETSPLIT VICTIM] |
18:23.55 | *** join/#tomcat sobel (sobel@saucer.spaceship.com) [NETSPLIT VICTIM] |
18:23.55 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
18:23.55 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
18:23.55 | *** join/#tomcat kylev (~kylev@darth.beeker.net) [NETSPLIT VICTIM] |
18:23.55 | *** join/#tomcat MacRohard (rm@wari.mckay.com) [NETSPLIT VICTIM] |
18:24.46 | *** join/#tomcat kylev_ (~kylev@darth.beeker.net) |
18:24.51 | *** join/#tomcat inconspi1uous (~inconspic@stinkymonkey.cc.columbia.edu) |
18:54.18 | *** join/#tomcat ibot (ibot@208.186.182.172) |
18:54.18 | *** mode/#tomcat [+n] by einstein.freenode.net |
18:54.57 | *** mode/#tomcat [+t] by einstein.freenode.net |
18:54.57 | *** join/#tomcat duzzer (~duzzer@clusterfw.beeline3G.net) |
18:54.57 | *** join/#tomcat segfault- (~fab@AStrasbourg-206-1-19-6.w81-49.abo.wanadoo.fr) |
18:54.57 | *** join/#tomcat inconspi1uous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat kylev_ (~kylev@darth.beeker.net) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat MacRohard (rm@wari.mckay.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat sobel (sobel@saucer.spaceship.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat hlprmnky (~hlprmnky@c-66-41-166-23.mn.client2.attbi.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat rO|_ (~rO|@pD9E599A6.dip.t-dialin.net) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat Streamer (~Streamer@195.8.183.98) |
18:54.57 | *** join/#tomcat AlexMc__ (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat hellabot (~hellabot@hellaweb.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat d1rty (jmahood@dsanchez.advance.net) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat tang^ (~krachyn@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
18:54.57 | *** join/#tomcat PW_Wrk_Away (~Pointwood@130.226.173.7) |
18:54.58 | *** join/#tomcat dMacRohar (robert@skaters.biz) [NETSPLIT VICTIM] |
18:54.58 | *** join/#tomcat rowenio (~matt@deep.bluelinux.co.uk) [NETSPLIT VICTIM] |
18:54.58 | *** join/#tomcat hez (hez@h24-83-20-35.vc.shawcable.net) |
18:54.58 | *** join/#tomcat Raboo (~rabi@nikson.dataphone.se) |
18:54.58 | *** join/#tomcat TPABKA (~tar@gecko.roadtoad.net) |
18:54.58 | *** join/#tomcat fox__ (fox@debian.as) [NETSPLIT VICTIM] |
18:54.58 | *** join/#tomcat ianni (ian@inpuj.net) [NETSPLIT VICTIM] |
18:54.58 | *** join/#tomcat chuckie (csg@van.sac.fedex.com) |
18:54.58 | *** topic/#tomcat by carroll.freenode.net -> Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat ; Servlet JSP Javadocs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html ; For books or articles on Tomcat see: http://jakarta.apache.org/tomcat/resources.html ; If you would like to paste some code or configs for others to see please use http://www.hellaweb.com/hellabot/ |
19:11.32 | *** join/#tomcat mod_cure (~Cure@cs6668191-88.austin.rr.com) |
19:34.43 | *** join/#tomcat mod_cure (~Cure@cs6668191-88.austin.rr.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat duzzer (~duzzer@clusterfw.beeline3G.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat segfault- (~fab@AStrasbourg-206-1-19-6.w81-49.abo.wanadoo.fr) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat inconspi1uous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat kylev_ (~kylev@darth.beeker.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat MacRohard (rm@wari.mckay.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat sobel (sobel@saucer.spaceship.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat hlprmnky (~hlprmnky@c-66-41-166-23.mn.client2.attbi.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat rO|_ (~rO|@pD9E599A6.dip.t-dialin.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat Streamer (~Streamer@195.8.183.98) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat AlexMc__ (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat hellabot (~hellabot@hellaweb.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat d1rty (jmahood@dsanchez.advance.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat tang^ (~krachyn@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat PW_Wrk_Away (~Pointwood@130.226.173.7) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat dMacRohar (robert@skaters.biz) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat rowenio (~matt@deep.bluelinux.co.uk) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat hez (hez@h24-83-20-35.vc.shawcable.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat Raboo (~rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat TPABKA (~tar@gecko.roadtoad.net) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat fox__ (fox@debian.as) [NETSPLIT VICTIM] |
19:34.43 | *** join/#tomcat ianni (ian@inpuj.net) [NETSPLIT VICTIM] |
19:34.44 | *** join/#tomcat chuckie (csg@van.sac.fedex.com) [NETSPLIT VICTIM] |
23:42.50 | *** join/#tomcat ibot (ibot@208.186.182.172) |
23:42.50 | *** topic/#tomcat is Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat ; Servlet JSP Javadocs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html ; For books or articles on Tomcat see: http://jakarta.apache.org/tomcat/resources.html ; If you would like to paste some code or configs for others to see please use http://www.hellaweb.com/hellabot/ |
23:54.20 | *** join/#tomcat fabstras (~fab@AStrasbourg-206-1-8-42.w80-11.abo.wanadoo.fr) |
23:54.56 | *** join/#tomcat eng{bar4ka} (~bar4ka@200.217.6.2) |