/srv/irclogs.ubuntu.com/2009/02/26/#ubuntu-java.txt

andrew87Ongavezir2 csunyan beszel. a sorai 1.7%-a tartalmaz csunya szot.12:59
persiaTeam meeting in 5 mintutes13:57
=== beDrung is now known as bdrung
sommerhey all, I'm trying to install ejbca on jaunty and as per the install instructions I've done ant bootstrap16:23
sommerand I keep getting a XDoclet classpath missing J2EE classes error16:24
sommerjust wondering if that means I don't have XDoclet, or I don't have the J2EE classes16:24
sommeror maybe I'm missing both :)16:24
sommerI did try installing XDoclet from source using ant, then copying the .jar files to /usr/share/java, but still receive the same error16:25
persiasommer, which JDK do you have installed?16:28
ttxsommer: sounds like "xdoclet uses a specific classpath, and the J2EE classes are not part of it"16:29
sommersun-java5-jdk16:29
sommerttx: where are the j2ee classes?16:29
sommerpersia: I also have openjdk-6-jdk16:30
ttxalso being in /usr/share/java doesn't magically make it part of any classpath, unless /they/ include /usr/share/java/* (which they shouldn't)16:30
ttxsommer: no clue. Depends on what it means by "J2EE classes"16:30
sommerttx: ah, should I set the classpath in the build.xml somewhere?16:30
ttxmaybe glassfish-j2ee ?16:30
ttxthe classpath needs to be rebuilt yes.16:31
ttxeither provided as the JVM classpath or as a few build.xml items16:31
ttxsommer: you're doing a debian package ? Or just building it ?16:32
sommerttx: just trying to build it... I didn't find a package16:32
sommerttx: thought I might try to package it for karmic, but wanted to try and determine the difficulty level :)16:33
ttxI'd try to add to system classpath whatever they mean by "J2EE classes" (try glassfish-j2ee first) and call ant with that16:33
sommerttx: is glassfish-j2ee a package?16:34
ttxhhhm, it should be16:34
sommerI only see glassfishv2, and some others... I have glassfish installed and working from what I can tell by the admin web interface16:35
ttxglassfish-javaee, sorry16:36
ttxsommer: good luck ;)16:37
sommerttx: ah, didn't have that one16:37
ttxit provides some javax. stuff related to JavaEE16:38
ttxwhich might be what your error is complaining about.16:38
Kaushalhi18:25
Kaushalis this the right place to discuss about tomcat application server ?18:25
lenardsKaushal: do you want to discuss something about tomcat and ubuntu?18:26
Kaushalyeah18:26
lenardsthis is a channel about supporting java usage on ubuntu18:26
lenardsworks up?18:26
lenardsI use tomcat 5.5 on ubuntu (8.04) so I might be able to help18:26
Kaushalgreat18:27
KaushalI have uploaded a WAR on ubuntu 8.04 using tomcat-5.5.2518:27
Kaushalthe issue is that i dont see any logging in catalina.out file18:27
lenardsdo this in your shell18:28
lenardsps aux | grep tomcat18:28
lenardsdo you know that tomcat is running?18:28
Kaushalyes18:28
lenardsthat should help you verify if it is18:28
Kaushalit shows up18:28
Kaushalhttps://bugs.launchpad.net/ubuntu/+source/tomcat5.5/+bug/30305818:28
ubottuUbuntu bug 303058 in tomcat5.5 "default tomcat install should log to catalina.out (dup-of: 277508)" [Undecided,Incomplete]18:28
ubottuUbuntu bug 277508 in tomcat5.5 "tomcat cannot configure use of syslog" [Wishlist,Confirmed]18:28
lenardsdo you have some servlet or page that outputs to catalina.out18:29
lenardssecond - reading bug18:29
Kaushalwhen i use the package from apache tomcat website18:29
Kaushalit works fine18:29
Kaushalbut when i use the packaged Ubuntu version it does not work18:30
lenardsya - I don't use apt-get or synaptic18:30
lenardsmy installs were via wget of a tarball18:30
lenardsextract, etc18:30
lenardswould that be an option for you?18:31
lenardsjust pull down a package/tarball from apache?18:31
Kaushallenards, yeah it works fine18:31
lenardsif it's for a live site - I could see wanting the updates18:31
Kaushalbut i was curious to know why the Ubuntu Tomcat package does not work18:32
lenardsbut, tomcat isn't having lots of releases (or maybe I just don't pay attention)18:32
KaushalI was having issue with tomcat 5.5.25 on Ubuntu Server 8.0418:32
lenardsKaushal: well, I don't have a good background in ubuntu packaging ... there's a bug - it seems to be an issue that people want resolved... it is logging, but to syslog18:33
lenardsmaybe someone else has something to chime in w/ - but the reason why is beyond me18:33
lenardssorry18:33
malek-rikHi all, Im having a issue getting eclipse to run, anyone willing to help?19:30
lenardsmalek-rik: what's your issue?19:30
lenardsand what's it say when you enter this into a shell: java -v19:31
malek-rikjava version "1.6.0_07"19:31
malek-rikJava(TM) SE Runtime Environment (build 1.6.0_07-b06)19:31
malek-rikJava HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)19:31
malek-rikWhen I run it off command line19:31
malek-rikit waits for 3 sec, then the shell goes back to waiting for a command19:31
malek-rikIm not sure whats up because it doesn't give any errors : /19:32
lenardswhat's the eclipse behaviour?19:32
lenardsnothing in the .metadata/.log file in the workspace?19:32
lenardsthis sound familiar at all:19:34
lenardshttps://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/17475919:34
ubottuUbuntu bug 174759 in sun-java6 "Eclipse crashes due to jvm crash" [Undecided,Confirmed]19:34
malek-rikIm having trouble finding .metadata/.log19:37
malek-rikThe path should be /path to eclipse/.metadata/.log?19:37
lenardsls -la19:37
lenardsit would be in your workspace19:37
lenardsso if your workspace is in /home/malek/workspace19:37
lenardsdo ls -la /home/malek/workspace/.metadata19:38
lenardsor less /home/malek/workspace/.metadata/.log or use tail -n 75 <same-path>19:38
malek-rikI don't understand what 'workspace' is. Is a folder eclipse should have created or?19:38
malek-rikIs it a*19:38
lenardswhen you run it from a terminal you don't get any messages19:38
lenardsmalek-rik: do you have a workspace folder?  do you have an existing eclipse project in a workspace?19:39
lenardsmalek-rik: or have you just installed eclipse and you have no existing code at all?19:39
malek-riklen: first time with eclipse so I have nothing yet19:40
malek-riklen: just un-archived and tried to run the binary19:40
lenardsmalek-rik: okay - then you don't have that19:40
lenardssorry19:40
lenardsanything in syslog?19:41
lenardsdid you look at the bug I linked?19:41
lenardsand are you absolutely sure that you downloaded the 64-bit version of eclipse?19:41
lenardsif you're running the 32-bit on a 64-bit JVM it'll produce "undefined behaviour"19:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!