Servoy 7.0

Servoy announcements

Re: Servoy 7.0

Postby Harjo » Fri Apr 05, 2013 8:39 am

Rafi,

first of all, you can use a proxy server for updating and even start a servoy application-server, just add two (or more options) to your servoy_server bat or sh file (ask the IT department what the proxy host & port is)

java -Dhttp.proxyHost=x.x.x.x -Dhttp.proxyPort=xxxx (and here follows the rest of the commandline)
What happens if you do that??

2. you have asked this multiple times, look here: viewtopic.php?f=16&t=18446&p=100588&hilit=proxy+bat#p100579
and the answer is still: No! 8)

for the rest, the whole story is very contradictory. Are you sure the popup you see (even with the demo server of servoy) isn't just a java popup asking credentials for a proxy??
It looks like this client, has a very strict network, and you are struggling with IT & network stuff here. (That's a whole different ballgame, than being a developer, trust me! :wink: )
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4271
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 7.0

Postby jcompagner » Fri Apr 05, 2013 9:57 am

Caused by: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamWriter
at com.servoy.j2db.util.serialize.JSONSerializerWrapper.getSerializer(JSONSerializerWrapper.java:197)
at com.servoy.j2db.util.serialize.JSONSerializerWrapper.fromJSON(JSONSerializerWrapper.java:97)


that part is strange, this is because it can't find the library xtream.jar but that one should be referenced in the jnlp file that you have.
So it should work just fine.

That Ad thing is not important, it fails because of that json serialize problem for you.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 7.0

Postby rafig » Fri Apr 05, 2013 12:33 pm

Hi Harjo, thanks for your reply...
Harjo wrote:Rafi,

first of all, you can use a proxy server for updating and even start a servoy application-server, just add two (or more options) to your servoy_server bat or sh file (ask the IT department what the proxy host & port is)

java -Dhttp.proxyHost=x.x.x.x -Dhttp.proxyPort=xxxx (and here follows the rest of the commandline)
What happens if you do that??

I'm not sure it's as easy as that, users enter username & password details to use certain sites, but I'm sure the server is configured for that.
I'll have to check next week when I am there (I'm only there once a week...)

Harjo wrote:2. you have asked this multiple times, look here: viewtopic.php?f=16&t=18446&p=100588&hilit=proxy+bat#p100579
and the answer is still: No! 8)

Wow, you've got a better memory than me ;-)
I've obviously had this frustration before and posted about it 8-)
Shame the answer is still 'No'

Harjo wrote:for the rest, the whole story is very contradictory. Are you sure the popup you see (even with the demo server of servoy) isn't just a java popup asking credentials for a proxy??
It looks like this client, has a very strict network, and you are struggling with IT & network stuff here. (That's a whole different ballgame, than being a developer, trust me! :wink: )

The dialog is not a proxy credentials dialog for certain. It is definitely a Servoy password request box.

Maybe I can get further with Johan & his reply...

Thanks

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 7.0

Postby rafig » Fri Apr 05, 2013 12:37 pm

Hi Johan,
jcompagner wrote:Caused by: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamWriter
at com.servoy.j2db.util.serialize.JSONSerializerWrapper.getSerializer(JSONSerializerWrapper.java:197)
at com.servoy.j2db.util.serialize.JSONSerializerWrapper.fromJSON(JSONSerializerWrapper.java:97)


that part is strange, this is because it can't find the library xtream.jar but that one should be referenced in the jnlp file that you have.
So it should work just fine.

That Ad thing is not important, it fails because of that json serialize problem for you.

I'm not sure what this means :?
What do I need to do now??
Does Servoy 7 need external access or something that it is not getting?
And is the old way of logging in not valid anymore?
Thanks

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 7.0

Postby jcompagner » Fri Apr 05, 2013 12:49 pm

no your setup misses a jar
that it should just download from where it gets all the other jars..
called xtream.jar in the jnlp file that is being downloaded (you could try to save it to disk)
<jar href="lib/xstream.jar" version="1362386737000" download="eager"/>

that should be in and on the server you should have that jar

Somehow it doesn't have that file. and then that exception happens.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 7.0

Postby jcompagner » Fri Apr 05, 2013 3:36 pm

can you test if this:

http://localhost:8080/lib/xstream.jar

(fill in host:port to what ever you use)

give back a jar file that you can open with a zip tool?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 7.0

Postby jcompagner » Fri Apr 05, 2013 3:54 pm

ah now i see it its a Server side error not a Smart client problem..

You start through the wrapper i guess. there is a bug in the wrapper.conf:

wrapper.java.classpath.46=lib\xstream.jar
wrapper.java.classpath.46=lib\prompt.jar

but it must be:
wrapper.java.classpath.46=lib\xstream.jar
wrapper.java.classpath.47=lib\prompt.jar

the number wasn't upped when a new jar was added.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 7.0

Postby rafig » Fri Apr 05, 2013 4:01 pm

jcompagner wrote:can you test if this:

http://localhost:8080/lib/xstream.jar

(fill in host:port to what ever you use)

give back a jar file that you can open with a zip tool?


Tested!
It downloaded a JAR, which unzips fine.
Just before you posted this I had a look on the server to see if the JAR file was there and (obviously) it was.
Also, the JNLP file does list it, so I still don't know what I need to do to fix this issue??
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 7.0

Postby rafig » Fri Apr 05, 2013 4:51 pm

jcompagner wrote:ah now i see it its a Server side error not a Smart client problem..

You start through the wrapper i guess. there is a bug in the wrapper.conf:

wrapper.java.classpath.46=lib\xstream.jar
wrapper.java.classpath.46=lib\prompt.jar

but it must be:
wrapper.java.classpath.46=lib\xstream.jar
wrapper.java.classpath.47=lib\prompt.jar

the number wasn't upped when a new jar was added.

Thanks!!
That fixed it!
I'm surprised no one else came across this before :?
:wink:

Anyway, thanks for working it out.
Any answers to my other questions (I guess not the one about installing over an older version - Harjo)?
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 7.0

Postby Harjo » Fri Apr 05, 2013 9:30 pm

you lost me... ;-)

can you sum what is working right now, and what is not?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4271
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 7.0

Postby rafig » Sat Apr 06, 2013 12:08 am

Harjo wrote:you lost me... ;-)

Sorry Harjo, the comment with your name was to tell Johan not to worry about that question (the one I keep asking...) [but maybe he will answer the other ones]
Harjo wrote:can you sum what is working right now, and what is not?

The main point of my post (the REALLY long bit) was that I couldn't get my solution to launch at all past the login, this is now working!
Everything else was secondary/supplementary to that bit, as that is what I had spent my day trying to sort that out.
Have a good weekend
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest