<< 27-August-2008 : bevinbot on #glassfish at freenode [download] [back] >>
 
 
time nick message

02:40

<saiful>

i forgot my glassfish admin password. what do i do ?

06:16

<adollfff>

what's the differnece of xhtml to jspx, xhtml to html, jspx to jsp

06:25

<nikolaj_a>

Hi guys :)

06:25

<nikolaj_a>

Anyone awake in here?

06:32

<adollfff>

hi nikolaj_a

06:33

<adollfff>

hey do you know the differnece of xhtml and html

06:33

<adollfff>

i am looking for a discussion about this

06:35

<nikolaj_a>

adollfff: XHTML is a XML-compliant version of HTML.

06:36

<adollfff>

yeah i just found a tutorial about it and its motivation tnx

07:29

<adollfff>

nikolaj_a: are you using jspx or xhtml?

08:45

<nikolaj_a>

Isn't it possible to use a configured data source in a custom realm implementation?

12:10

<jdlee>

morning

12:11

<AlexisMP>

AlexisMP afternoon :)

12:12

<jdlee>

:)

12:13

<jdlee>

you're in paris, right? so it's...2sh there?

12:49

<AlexisMP>

AlexisMP Paris, indeed. 9 hours ahead.

12:51

<jdlee>

9...ok... i thought 7, but I was close :)

12:52

<jdlee>

i've always wanted to visit France. i took 4 years of French in college, but I don't get it to use much^H^H^H^Hat all in the middle of Oklahoma, so I don't know if I'd even rate as having "survival skills" now :)

12:58

<cheeser>

we have a new german friend living down the street so maybe i can finally brush up on mein deutsch

13:01

<jdlee>

that might be a kampf! :P

13:27

<jdlee>

hmmm...pending shoal release. i've really been trying to find a project to start so I can play with that

13:28

<jdlee>

s/pending//

14:06

<ankylose1>

good developpement is a long road :(

14:16

<cheeser>

unless you use RoR apparently.

14:16

<cheeser>

but that makes for the Bataan Death March for maintenance

14:16

<cheeser>

8^)=

14:18

<nikolaj_a>

Oh, the drama :) I can already hear the music!

14:20

<ankylose1>

i develop heavy client

14:21

<[pwgr]>

there's that word again... "heavy". Why are things so heavy in the future? Is there a problem with the earth's gravitational pull?

14:22

<cheeser>

yeah. the earth sucks.

14:22

<[pwgr]>

for 13 points... name that movie

14:23

<[pwgr]>

hint: hans gruber was not in the movie!

14:23

<cheeser>

that one's easy: http://tinyurl.com/5n95t7

14:23

<ankylose1>

:)

14:24

<[pwgr]>

holy crap, how did i miss out on that... carebears movie ?

14:24

<cheeser>

i've seen it several times.

14:24

<cheeser>

8^)=

14:25

<cheeser>

cheeser has a younger sister.

14:25

<[pwgr]>

hehe i had two younger sisters

14:25

<[pwgr]>

and they had many carebears

14:25

<cheeser>

and never saw the movie, eh?

14:25

<cheeser>

lucky bastard

14:26

<[pwgr]>

nope, at least i didnt

14:26

<jdlee>

well, for what it's worth...i care.... i care.... i care...

14:27

<jdlee>

At Shady Acres Funeral Home, we care... Yeah? Well I don't! *click*

14:28

<[pwgr]>

not familiar with that one

14:28

<[pwgr]>

wasnt shady acres the retirement home they always talked about on the golden girls?

14:29

<[pwgr]>

nevermind that was shady pines

14:30

<cheeser>

high strung++

14:31

<cheeser>

for extra credit, name Peter Gibbons's apartment complex.

14:33

<[pwgr]>

haha

14:33

<[pwgr]>

when i was in the hospital i watched officespace like 10 times

14:35

<[pwgr]>

what was the name of the trailer park where alex rogan lived?

14:35

<cheeser>

the answer is: Morning Wood.

14:35

<cheeser>

who is alex rogan?

14:36

<[pwgr]>

last starfighter?

14:36

<cheeser>

oh, right.

14:36

<cheeser>

hrm. been a long time...

14:36

<cheeser>

no clue

14:36

<[pwgr]>

me either :)

14:36

<cheeser>

hopefully it's something equally tacky

14:37

<[pwgr]>

no, if it was that clever i'd reemmber

14:37

<cheeser>

8^)=

14:37

<cheeser>

i saw that movie way too many times.

14:40

<[pwgr]>

heh something my wife and i were trying to remember the other night on the car ride home... where was elwood blues' apartment located

14:40

<[pwgr]>

was it in chicago in the blues brothers movie ?

14:45

<nikolaj_a>

Wow, I just improved my script running time from 4 lines per second to 1,000 lines per second just by regenerating Oracle table statistics...

14:46

<nikolaj_a>

(I'm parsing a CSV file and running a couple of queries per line in the file)

14:48

<jdlee>

query optimizers++

14:49

<jdlee>

helps when the metadata's right :P

14:49

<nikolaj_a>

All my queries had a cost of 1 or 2

14:49

<nikolaj_a>

Not that it helped me until I fixed the stats :P

14:53

<ankylose1>

ingram lag

14:54

<ankylose1>

ingram need to regenerating oracle table statistics ;)

14:58

<[pwgr]>

oracle++

14:59

<jdlee>

postgresql and autovacuum++ :)

14:59

<jdlee>

wait..as a sun employee, should I say that? :P

14:59

<[pwgr]>

why not ?

15:00

<[pwgr]>

oracle has equiv of autovacuum though

15:00

<[pwgr]>

oracle also has dynamic sampling so that stale stats dont kill you

15:01

<[pwgr]>

i'ts just that during dev, query plans have a habit of staying cached

15:02

<jdlee>

as a loyal company man, I should be pushing mysql ;)

15:02

<nikolaj_a>

jdlee: Or JavaDB :P

15:03

<[pwgr]>

why? sun offers postgresql support services as well, do they not ?

15:03

<jdlee>

maybe, but we own MySQL

15:03

<jdlee>

i think there us is some sort of OpenSolaris, pgsql thing

15:04

<[pwgr]>

pgsql comes with solaris10 as well

15:04

<[pwgr]>

sun doesnt need to own the brand to make money off of the support

15:05

<[pwgr]>

and i believe their strategy is not to make billions of dollars on selling mysql licenses haha

15:06

<[pwgr]>

rather, to make money off of supporting the poor shlubs trying to keep already purchased mysql up and running

15:06

<[pwgr]>

or, already downloaded for free mysql

15:06

<[pwgr]>

which is more the case

15:07

<[pwgr]>

and sun employed postgresql developers before they employed mysql developers

15:08

<[pwgr]>

so... no need to be scared about incrementing postgresql karma!

15:09

<jdlee>

[pwgr]: 8-)

15:16

<[pwgr]>

ok, who here does significant jpa work ?

15:17

<jdlee>

i used to, fcvo "significant"

15:18

<[pwgr]>

more than two entities... more than fiddle toy app stuff :)

15:33

<jdlee>

ok..i've written production apps with several entities, though probably no more than 10 or 15 in one app

15:34

<[pwgr]>

run inside glassfish? or something else ?

15:35

<jdlee>

GlassFish, yes

15:35

<[pwgr]>

w/ session beans ?

15:35

<nikolaj_a>

Isn't it possible to use a configured data source in a custom realm implementation?

15:35

<[pwgr]>

or spring ?

15:36

<[pwgr]>

nikolaj_a: good question... i dont know for sure but i would hope so

15:36

<nikolaj_a>

[pwgr]: I can't figure out how :(

15:36

<[pwgr]>

nikolaj_a: might require special placement of jdbc drivers and such maybe

15:36

<nikolaj_a>

[pwgr]: The drivers are there. It's a JNDI problem from what I can see.

15:37

<nikolaj_a>

I do a: asadmin list-jndi-entries

15:37

<nikolaj_a>

And there are the UserTransaction entry and *sometimes* a jdbc entry.

15:37

<[pwgr]>

hmmm, maybe a matter of using the right jndi ctx factory and lookup name?

15:38

<jdlee>

[pwgr]: i don't use spring, no

15:38

<nikolaj_a>

[pwgr]: I've created the data sources with asadmin create-jdbc-resource (or somethinkg like that).

15:38

<[pwgr]>

jdlee: use DAO patterns?

15:39

<[pwgr]>

nikolaj_a: are you able to see the datasources with the jndi browser in the app server's admin gui interface ?

15:39

<jdlee>

yes

15:39

<nikolaj_a>

[pwgr]: Nope, that gives a stacktrace :(

15:39

<[pwgr]>

jdlee: using persistence context annotations?

15:39

<jdlee>

typically a thin wrapper around the EM, but there are occasional needs for more...advanced query ops that I abstract in a dao'

15:39

<nikolaj_a>

Something about UserTransaction not able to being listed.

15:39

<jdlee>

yes

15:39

<[pwgr]>

[pwgr] is leading up to a real question

15:39

<jdlee>

haha

15:40

<[pwgr]>

you injected entity managers or entity manager factories ?

15:40

<jdlee>

EMs

15:40

<[pwgr]>

ok, and use container transactions? didnt use UserTransaction yourself ?

15:40

<jdlee>

right...CMT

15:41

<nikolaj_a>

jdlee: They might have thread issues.

15:41

<[pwgr]>

ok, nevermind then :)

15:41

<jdlee>

and that has nothing to do with country music, cheeser ;)

15:41

<jdlee>

whew!

15:41

<jdlee>

jdlee dodged a real question :P

15:41

<nikolaj_a>

jdlee: Haha :D

15:41

<[pwgr]>

oh... did you use transaction scoped or extended entity managers ?

15:41

<[pwgr]>

stateful or stateless session beans ?

15:42

<jdlee>

iirc, stateful and stateless both, and txn-scoped EMs

15:42

<jdlee>

i think.. it's been a while

15:42

<[pwgr]>

ok

15:42

<jdlee>

i spent the last your is software architecture land where I didn't get to code :(

15:43

<[pwgr]>

ultimately im just wondering how many using JPA end up attempting to use longlived entity managers

15:43

<[pwgr]>

because the way toplink implements their JPA provider... using long lived entity managers is NOT a good thing to do

15:45

<jdlee>

hehe

15:47

<[pwgr]>

but, im wondering if the extended entity manager stuff does stuff more intelligently with syncing to global caches and such

15:48

<[pwgr]>

there doesnt seem to be a way to use extended entity managers outside of a container

15:48

<[pwgr]>

so, im hoping the extended entity manager stuff INSIDE the container uses fancier lifecycle management under the hood

15:49

<nikolaj_a>

[pwgr]: I doubt that :P

15:50

<[pwgr]>

it wouldnt be difficult to do

15:51

<[pwgr]>

but, something i'll have to test for myself

15:54

<[pwgr]>

nikolaj_a: so you configged a datasource in glassfish, but cant find it in the web gui jndi browser? you say it throws an expection?

15:54

<[pwgr]>

ok nevermind :)

15:56

<[pwgr]>

damn it's almost lunchtime and ive got no work done

15:56

<[pwgr]>

i hate wednesdays

16:32

<ankylose1>

what is the best way if i want send message a mdb to an another jms queue or topic

16:34

<ankylose1>

hum nevermind

18:54

<cheeser>

does anyone know if JPA 2.0 will support naming the FKs?

18:57

<jdlee>

?

18:57

<[pwgr]>

doubt it

18:57

<cheeser>

jpa 2.0--

18:57

<cheeser>

8^)=

18:57

<cheeser>

jcp--

18:58

<cheeser>

jdlee: hibernate supports this: @ForeignKey(name = "HEYTHERE")

18:58

<jdlee>

hmm...not sure I've ever used that

18:58

<cheeser>

i haven't but i should.

18:58

<jdlee>

is that a JPA annotation?

18:58

<cheeser>

makes it hard to write scripts to update since the FK names change from build to build.

18:58

<cheeser>

it's a hibernate annot

18:58

<[pwgr]>

eclipselink has similar stuff, but it's all proprietary stuff... i'm really anxious to see what jpa 2.0 is willing to cover

18:59

<jdlee>

iirc, the JPA2 group has been pretty open about what they're doing

18:59

<cheeser>

the keep touting the criteria stuff but there are better improvements.

18:59

<jdlee>

i saw linda dimichaels (?) talk at JavaOne, and she was quite detailed

18:59

<cheeser>

maybe i'll have to shake a few branches and see what falls out

18:59

<[pwgr]>

yeah will be a shame if jpa2 turns out to only be criteria

18:59

<jdlee>

cheeser: also saw her in the halls when I was in SCA :P

18:59

<cheeser>

jdlee: hires presentations++

18:59

<cheeser>

HDPeople++

18:59

<cheeser>

8^)=

19:01

<[pwgr]>

they really need to get the mapping stuff worked out

19:02

<[pwgr]>

like being able to implement a real map hehe

19:03

<cheeser>

yeah. no kidding.

19:03

<cheeser>

hibernate++

19:05

<[pwgr]>

hibernate @NotNull--

19:05

<[pwgr]>

er

19:05

<jdlee>

cheeser: ?

19:05

<[pwgr]>

people using hibernatespecific crap when jpa stuff exists--

19:10

<cheeser>

jdlee: yes?

19:11

<[pwgr]>

cheeser: you might be able to use the column definiton attribute of the join colum annotation to specify the fk constrain name

19:12

<[pwgr]>

but not sure how that would work if you have multi column constraint

19:12

<jdlee>

[13:59] <cheeser> jdlee: hires presentations++

19:13

<cheeser>

jdlee: a bad HDTV joke

19:15

<jdlee>

apparently

19:15

<jdlee>

[pwgr]: jpa2 will have much, more than criteria

19:15

<jdlee>

i spent 90 minutes in that presentation, and I know there was more than that :P

19:22

<[pwgr]>

is the presentation on the webz?

19:28

<jdlee>

i don't know. they posted some, but those might have been only the general sessions

20:46

<bendahmon>

Hey... I'm starting up a web app with Netbeans 6.1 and GlassFish V2... And I'm asked for a password.. which password is this? none of the default passwords work :)

20:48

<jdlee>

does it want the admin password?

20:48

<jdlee>

does it want the admin passowrd?

20:49

<bendahmon>

well, it suggests that admin user

20:49

<cheeser>

jdlee: mag f?

20:51

<jdlee>

wha?

20:51

<jdlee>

oh! haha

20:51

<jdlee>

sometimes this client does weird things and eats my text.. thought it did it this time too and didn't bother to check :P

20:51

<jdlee>

bendahmon: have you tried adminadmin?

20:52

<bendahmon>

yep

20:53

<jdlee>

hmm

20:53

<bendahmon>

ok, after going through all my passwords I managed to find what I changed it to :)

21:16

<jdlee>

haha

21:17

<[pwgr]>

helping yourself++

21:18

<cheeser>

creating your own problems--

21:18

<cheeser>

8^)=

21:18

<[pwgr]>

ls

21:19

<javabot>

[pwgr]: wrong window, genius

21:19

<[pwgr]>

phoooker

21:20

<jdlee>

hahahaha

21:20

<jdlee>

w00t!

21:22

<cheeser>

~javabot++

21:22

<javabot>

javabot has a karma level of 174, cheeser

21:22

<[pwgr]>

rm

21:22

<javabot>

[pwgr]: wrong window, Einstein

21:22

<[pwgr]>

mv

21:22

<[pwgr]>

vi

21:23

<cheeser>

it used to scan /usr/bin and respond to anything there. but you'd be amazed at how many "Einsteins" are on the net.

21:23

<cheeser>

8^)=

21:23

<[pwgr]>

yeah

21:23

<cheeser>

in fact, i just found another one!

22:15

<ankylose1>

i am a looser

22:15

<jdlee>

how ironic is that spelling :P

22:17

<ankylose1>

javaee is too hard for me

22:18

<ankylose1>

i don't speak english jdlee :-

22:20

<jdlee>

ankylose1: ah! that makes a difference

22:20

<jdlee>

sort of. there are native english speakers that do the same thing

Drone v1.4 © 2002-2005 Uwyn RIFE powered