Search the web
Sign In
New User? Sign Up
JSX-ideas · Ideas on Java Serialization for XML
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2171 - 2200 of 2200   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#2200 From: "egroups_yow" <melbourne.research@...>
Date: Thu Oct 15, 2009 5:04 am
Subject: JSX now costs less and gives more
egroups_yow
Offline Offline
Send Email Send Email
 
Hi,

For new licenses, JSX can be used in all your projects and products.
(it previously was restricted to a "named product"; we've now moved to
per-developer licensing).

There are volume discounts for 5 and 25 developer packs - respectively saving
20% and 36%.

Details on the website: www.jsx.org/buy.html


kind regards,
Brendan Macmillan.
JSX Enterprises

#2199 From: "freshmeat.net" <noreply@...>
Date: Mon Aug 17, 2009 12:33 pm
Subject: Java Serialization to XML 2.2.7.4 has been released [freshmeat.net]
noreply@...
Send Email Send Email
 
Dear freshmeat.net subscriber,

yow just announced version 2.2.7.4 of Java Serialization to XML on
freshmeat.net.

The changes are as follows:

The Object fromString(String xml) convenience method was added to the JSX.P
object, to be used with String asString(Object obj).

Project description:

Java Serialization to XML (JSX) translates between Java objects and XML, making
it possible to search, test, profile, and audit your object data with ordinary
XML and text processing tools. Your data can be migrated to new application
versions, to C++, and to other applications by transforming the XML. Unlike
other Java XML serializers, JSX is accurate for all objects.

Detailed history and release notes are available here:

     http://freshmeat.net/projects/jsx#release_304033

If you want to change your subscription to this project, please log in to:

     http://freshmeat.net/account/subscriptions

Best regards,
freshmeat.net

#2198 From: "freshmeat.net" <noreply@...>
Date: Thu Aug 13, 2009 8:47 am
Subject: Java Serialization to XML 2.2.7.3 has been released [freshmeat.net]
noreply@...
Send Email Send Email
 
Dear freshmeat.net subscriber,

yow just announced version 2.2.7.3 of Java Serialization to XML on
freshmeat.net.

The changes are as follows:

toFile and asString convenience methods were added to JSX.P.

Project description:

Java Serialization to XML (JSX) translates between Java and XML, making it
possible to search, test, profile, and audit your object data with ordinary XML
and text processing tools. Your data can be migrated to new application
versions, to C++, and to other applications by transforming the XML. Unlike
other Java XML serializers, JSX is
accurate for all objects.

Detailed history and release notes are available here:

     http://freshmeat.net/projects/jsx#release_303843

If you want to change your subscription to this project, please log in to:

     http://freshmeat.net/account/subscriptions

Best regards,
freshmeat.net

#2197 From: "egroups_yow" <melbourne.research@...>
Date: Sun Aug 9, 2009 5:15 am
Subject: NOTICE: Pricing and terms will change dramatically this month.
egroups_yow
Offline Offline
Send Email Send Email
 
Hi,

We are conducting a review of our licensing terms and prices this month to align
them with standard industry practices and customer expectations.  The aim is to
make them more familiar to customers and therefore easier to understand, assess
and make decisions about - and to fit in with internal procedures.

If the current prices and terms are suitable for your needs, it is worthwhile
considering taking advantage of them while the opportunity is still available.

To all who have already licensed JSX under the current generous (though
non-standard) terms: thanks for your support!


kind regards,
Brendan Macmillan

#2196 From: "freshmeat.net" <noreply@...>
Date: Wed Jul 29, 2009 1:22 pm
Subject: Java Serialization to XML 2.2.7.2 has been released [freshmeat.net]
noreply@...
Send Email Send Email
 
Dear freshmeat.net subscriber,

yow just announced version 2.2.7.2 of Java Serialization to XML on
freshmeat.net.

The changes are as follows:

JSX.P.p(Object obj) was added, which is a method for general debugging. It
reveals the internals of any object graph, including classes, superclasses,
fields, inherited fields, hidden fields, cyclic references, and more.

Project description:

Java Serialization to XML (JSX) translates between Java and XML, making it
possible to search, test, profile, and audit your object data with ordinary XML
and text processing tools. Your data can be migrated to new application
versions, to C++, and to other applications by transforming the XML. Unlike
other Java XML serializers, JSX is
accurate for all objects.

Detailed history and release notes are available here:

     http://freshmeat.net/projects/jsx#release_303196

If you want to change your subscription to this project, please log in to:

     http://freshmeat.net/account/subscriptions

Best regards,
freshmeat.net

#2195 From: Brendan Macmillan <melbourne.research@...>
Date: Mon May 25, 2009 12:06 pm
Subject: Inner Classes with JSX
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Teody,

Yes, JSX can serialize inner classes.

JSX is a precise re-implementation of Java serialization, so if Java
serialization can do it, JSX can too.

Here is an instance of the example you gave, and its XML:
     A a = new A();
     Inner ia = a.new Inner();
     ia.listOfA = new ArrayList();
     ia.listOfA.add(new A());
     ia.listOfA.add(new A());
     try {
       new JSX.ObjectWriter().writeObject(ia);
     } catch (Exception e) {
       e.printStackTrace();
     }


<?xml version='1.0' encoding='UTF-8'?>
<!-- jsx.org, (c) -->
<jsx major='1' minor='1' format='JSX.DataReader'>
  <object id='i0' class='A$Inner' superclasses=''>
   <declaredClass class='A$Inner'>
    <default>
     <collection field='listOfA' id='i1' class='java.util.ArrayList'>
      <object id='i2' class='A' superclasses=''>
       <declaredClass class='A'>
        <default/>
       </declaredClass>
      </object>
      <object id='i3' class='A' superclasses=''>
       <declaredClass class='A'>
        <default/>
       </declaredClass>
      </object>
     </collection>
     <object field='this$0' id='i4' class='A' superclasses=''>
      <declaredClass class='A'>
       <default/>
      </declaredClass>
     </object>
    </default>
   </declaredClass>
  </object>
</jsx>

Note that the XML includes the inner classname ("A$Inner"), and the
inner class's hidden field that refers to the outer class ("this$0").

Note also that if you serialize the outer class (variable a in the
above), you won't see the inner class, because the outer class doesn't
have a reference to it. The only reference is from the inner class to
the outer class. This isn't an issue in practice, because it is just
the same as Java serialization: if it works there, it works here.

Let me know if you have any other questions.


kind regards,
Brendan Macmillan

On 25/05/2009, Teody <teody...> wrote:
> Hi,
>
> Can your product serialize private inner classes?
> My class structure is this:
> public class A {
>     private class Inner {
>         List<A> listOfA;
>     }
> }
>
> It is immutable so I can't change the design. What we are looking for is a
> serialization library that can serialize the inner class. Java serialization
> works but it would be a good option to have something that's human readable.
>
> Thanks
> Teody


--
The competent programmer is fully aware of the strictly limited size
of his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the
plague. - Dijkstra

#2194 From: <noreply@...>
Date: Mon Feb 9, 2009 10:10 am
Subject: [fmII] Java Serialization to XML 2.2.7.1 released (Default branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.7.1' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
This release fixes a problem with java.util.Calendar's latest version
being unable to read XML serialized from JDK1.3.

Release focus:
7 - Major bugfixes

Project added:
Tue, Oct 10th 2000 01:06 (8 years, 4 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and categories
you're subscribed to in the right column, which you may cancel by
highlighting the project or category in question and clicking the 'delete'
button.

Sincerely,
freshmeat.net

#2193 From: <noreply@...>
Date: Mon Dec 8, 2008 2:24 pm
Subject: [fmII] Java Serialization to XML 2.2.7.0 released (Commercial branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.7.0' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
This release fixes a bug that affected Enums. The bug occurred in
recent releases of Java 1.6 (starting from JDK 1.6.0_07, and confirmed
in JDK 1.6.0_10).

Release focus:
7 - Major bugfixes

Project added:
Tue, Oct 10th 2000 01:06 (8 years, 2 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and categories
you're subscribed to in the right column, which you may cancel by
highlighting the project or category in question and clicking the 'delete'
button.

Sincerely,
freshmeat.net

____________________________| Advertising |____________________________
Perforce SCM: Versions and manages

Install Perforce in less than 10 min. and get your projects under source
control.

http://ad.doubleclick.net/clk;206902539;13503038;y?http://www.sourceforge.net/po\
werbar/perforce/?referrer=sfnews

____________________________| Advertising |____________________________

#2192 From: "Brendan Macmillan" <melbourne.research@...>
Date: Thu Oct 16, 2008 4:18 am
Subject: Re: Fwd: enum and JDK 1.6.0_07
egroups_yow
Offline Offline
Send Email Send Email
 
Thanks Paul, Daniel and Joël,

(I've replied to these bug reports privately already - this reply is
really for you users on the mailing list)

Sun made some changes in the serialization of Enums, in Java 1.6.0_07.

I've diagnosed the problem (with the help of your excellent bug
reports), and produced a fix. This is working, but I still need to
ensure it causes no problems with older JVMs (e.g. Java 1.4, which
didn't have Enums).

It will be released soon.


cheers,
Brendan Macmillan
--
The competent programmer is fully aware of the strictly limited size
of his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the
plague. - Dijkstra

#2191 From: "JSX Enterprises Sales" <melbourne.research@...>
Date: Thu Oct 16, 2008 4:08 am
Subject: Fwd: Question about JSX
egroups_yow
Offline Offline
Send Email Send Email
 
[forwarded from Joël]
Dear Sir, Dear Madam,

We are using JSX 2.2.3.8 (full version) and encountered problems with
recent Sun JRE (early revisions of 1.5 and 1.6 were OK). We have the
following testcase:

=====================================================================
import java.io.*;
import JSX.*;

public class test
{
        enum E { X }
        public static void main(String[] args)
        {
                try {
                        File f = new File("test.xml");
                        new ObjectWriter(new FileWriter(f)).writeObject(E.X);
                        new ObjectReader(new FileReader(f)).readObject();
                } catch (Exception e)
                {
                        e.printStackTrace();
                }
        }
}
=====================================================================

I have tried even with the latest JSX (trial version) 2.2.6.0, but I
always get:

java.io.InvalidObjectException: can't deserialize enum

Could you please forward this to the technical support, so we could have
some advice to solve or work around this problem ?

In advance, many thanks

Best Regards,

Joël Bourquard




--
The competent programmer is fully aware of the strictly limited size
of his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the
plague. - Dijkstra

#2190 From: "JSX Enterprises Sales" <melbourne.research@...>
Date: Thu Oct 16, 2008 4:06 am
Subject: Fwd: JSX and JDK 1.6.0
egroups_yow
Offline Offline
Send Email Send Email
 
[forwarded on behalf of Daniel]
Hi,

JSX stops us from upgrading from JDK 1.6.0_05 to JDK 1.6.0_07 and JDK 1.6.0_10.

When will you provide an upgrade of the  jsx library? Can you suggest
a work-around for us until this upgrade is available?

The problem is that Sun has apperantly decided to disable default
serialization of Enum objects by adding the following code into
Enum.java JDK 1.6.0_07 and now also in JDK 1.6.0_10rc2:

     /**
       * prevent default deserialization
       */

     private void readObject(ObjectInputStream in) throws IOException,
         ClassNotFoundException {
             throw new InvalidObjectException("can't deserialize enum");
     }

     private void readObjectNoData() throws ObjectStreamException {
         throw new InvalidObjectException("can't deserialize enum");
     }


Regards,
Daniel Marell
System Architect
Ericsson AB

#2189 From: "JSX Enterprises Sales" <melbourne.research@...>
Date: Thu Oct 16, 2008 4:04 am
Subject: Fwd: JSX problem with java.lang.enum
egroups_yow
Offline Offline
Send Email Send Email
 
[forwarded on behalf of Paul]
Hello,

I am developing a Java program I plan on distributing, and it needs
Object Serialization. I need to use JDK version 1.6 and I cannot
deserialize the class java.lang.Enum with JSX. Can you advise me on
this problem?

Thank you for your time, help, and future business partnership we may have,
-Paul Klemstine
The Klemstine Group

#2188 From: "Brendan Macmillan" <melbourne.research@...>
Date: Sat Mar 29, 2008 5:04 pm
Subject: Re: Issue with styled text document containing components
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Ed,

OK, I've just had a look at the attachments, and I don't see any
obvious problems.

Because JOS behaves the same as JSX, it sounds like a bug in the code
in the UI classes that customize their serialization (either for
writing or reading). I suggest checking Sun's bug parade - they often
have workarounds, too.

It's very odd that XMLEncoder also fails - one commonality is your own
code, although normally this wouldn't cause serialization issues.  But
do you subclass any UI components? It could be that such a subclass
must handle serialization in some way. A careful scan of the javadocs
should reveal this (esp the "serial form", hyperlinked just before the
constructors, methods etc are listed).  But I think this is unlikely,
unless you are changing some UI fundamentals.

The XMLEncoder problem is also worth checking out in the bug parade.

Apart from that, I can only offer the old path of narrowing down the
problem, by methodically removing things one at a time, until the
problem goes away. If nothing else, it might reveal a workaround.

Let me know how you go.


cheers,
Brendan

#2187 From: "Brendan Macmillan" <melbourne.research@...>
Date: Sat Mar 29, 2008 5:02 pm
Subject: Issue with styled text document containing components
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Ed,

  A simple first test is to try it with JOS (ie. replace
  JSX.ObjectWriter with java.io.ObjectOutputStream and equivalent for
  reading)

  JSX emulates JOS, so this may show where the problem is.

  BTW: Sun recommends XMLEncoder/Decoder for UI components - not JOS. If
  you are doing *pure* UI only, this may be a better choice.

  Please let me know how you go (though I might not be up much later tonight ;-)


  cheers,
  Brendan

  PS: it's preferable if you post technical questions to the mailing
  list, so others can provide help (and have access to the answers). You
  can search it, too:
  http://tech.groups.yahoo.com/group/JSX-ideas/

  I've forwarded this email to it.



  On 29/03/2008, Ed Hewlett <hewlett@syz...> wrote:
  > Hi Brendan,
  >
  >  Didn't expect an answer at 0300 Saturday morning your time.
  >
  >  Here's the text of my original message:
  >
  >  I'm developing a specialized editor that uses a JTextPane
containing objects that extends JComponent.
  >
  >  My development environment is Eclipse 3.3.1 and Java 1.6.
  >
  >  I'm using your application to i/o the styled text document to
disk. The problem occurs after reading in the document. Specifically,
I read in the document and set in on the text pane. Everything looks
good until I place the cursor on the right edge of a component then
press a key; the component disappears.
  >
  >  Any help you can provide would be greatly appreciated.
  >
  >  *************************************************************
  >  Some additional info not in the original text:
  >
  >  Once the text pane is in this state, any additional components I
add don't show up. However, if I save the doc and reload it they show
up albeit with the above behavior.
  >
  >  And if I compare the original document to the reloaded version
using the document equals method it return a false value. However, I
don't know that this is a valid test.
  >
  >  **************************************************************
  >
  >
  >  Ed Hewlett
  >  Senior Software Engineer
  >  Syzygy Technologies, Inc..
  >  1450 Frazee Road, Suite 701
  >  San Diego, CA 92108
  >  www.syzygy-tech.com <http://www.syzygy-tech.com/>
  >  Company: 619 297 0970
  >  Lab: 619 553 4849
  >  Cell: 619 981 0274
  >
  >  ________________________________
  >
  >
  > From: melbourne.research@... on behalf of JSX Enterprises Sales
  >  Sent: Fri 3/28/2008 8:52 AM
  >  To: Ed Hewlett
  >  Subject: Re: [JSX autoreply] Issue with styled text document
containing components
  >
  >
  >
  >
  >  HI Ed,
  >
  >  Please resend your email about JSX - all I see is the subject line.
  >
  >
  >  cheers,
  >  Brendan
  >
  >  On 29/03/2008, Ed Hewlett <hewlett@...> wrote:
  >  > Will do.
  >  >
  >  >  Hope to hear from someone soon.
  >  >
  >  >  Ed Hewlett
  >  >  Senior Software Engineer
  >  >  Syzygy Technologies, Inc..
  >  >  1450 Frazee Road, Suite 701
  >  >  San Diego, CA 92108
  >  >  www.syzygy-tech.com <http://www.syzygy-tech.com/>
  >  >  Company: 619 297 0970
  >  >  Lab: 619 553 4849
  >  >  Cell: 619 981 0274
  >  >
  >  >  ________________________________
  >  >
  >  >  From: JSX Enterprises Sales [mailto:sales@...]
  >  >  Sent: Thu 3/27/2008 4:37 PM
  >  >  To: Ed Hewlett
  >  >  Subject: [JSX autoreply] Issue with styled text document
containing components
  >  >
  >  >
  >  >
  >  >  Hi,
  >  >
  >  >  Please include "JSX" somewhere in the subject (otherwise we
don't see it).
  >  >
  >  >  This is for spam protection.
  >  >
  >  >  Sorry for the hassle - spam is just awful.
  >  >
  >  >
  >  >  cheers,
  >  >  Brendan Macmillan
  >  >
  >  >
  >  >
  >  >
  >
  >
  >  --
  >  The competent programmer is fully aware of the strictly limited size
  >  of his own skull; therefore he approaches the programming task in full
  >  humility, and among other things he avoids clever tricks like the
  >  plague. - Dijkstra
  >
  >
  >
  >



--

The competent programmer is fully aware of the strictly limited size
  of his own skull; therefore he approaches the programming task in full
  humility, and among other things he avoids clever tricks like the
  plague. - Dijkstra


--
The competent programmer is fully aware of the strictly limited size
of his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the
plague. - Dijkstra

#2186 From: "Brendan Macmillan" <melbourne.research@...>
Date: Sat Mar 29, 2008 4:59 pm
Subject: test
egroups_yow
Offline Offline
Send Email Send Email
 
sorry for the message; testing

#2185 From: "JSX Enterprises Sales" <melbourne.research@...>
Date: Wed Mar 26, 2008 6:54 pm
Subject: Fwd: JSX question
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Edison,

  You can customize the JSX serialization of the class using the
  standard techniques as for JOS (Java Object Serialization). See below.
  But first, let me ask something:

  How much shorter do you need it to be?  The JSX output truly is
  verbose; but even if shorter, XML is still pretty verbose:
   (1). Would zipping the XML help enough? Due to the redundancy of
  JSX's XML, it compresses very well.
   (2). If you have an "image file", is there any way to just save that
  file (eg in a DB, or in the filesystem), and refer to it from the XML,
  instead of serializing as XML what is already a serial format?  (I
  recognize there can be good reasons for not doing this)


  Customizing JSX:
  For example, you could create a string that represents the image (in
  base64, or whatever you want), and record that as the serial form (and
  the decoder to read this back). Here's two ways of making JSX use your
  code:

  If the class is your own (ie you can edit it), you do this by writing
  writeObject() and readObject() methods in your class - these are
  call-back methods that JSX will call in your class.

  If the class is not your own (ie you can't edit it), you can subclass
  JSX.ObjectWriter, and implement the "Object objectReplace(Object obj)"
  method: in it, you detect if the object is of the class in question,
  and if it is, construct a new object, which has a field initialized to
  the String you want (as above).  For reading, you subclass
  JSX.ObjectReader, and implement "Object resolveObject(Object obj)" etc


  There are lots of resources available for how to do this. There's the
  JSX manual on www.jsx.org/support.html

  http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/output.html

  http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/input.html

  There are many tutorials online: search for JOS customization.

  Please post to the mailing list how you are going, and any questions you have.


  Hope this helps,
  Brendan


  On 26/03/2008, edison ouyang <edison728@...> wrote:
  > Hi:
  >    I am using the trial version JSX to serialize and de-serialize the
  > object.
  >    I serialized an image file, this is the output for the image:
  >   <primitive type='byte' value='-119'/>
  >        <primitive type='byte' value='80'/>
  >       <primitive type='byte' value='78'/>
  >       <primitive type='byte' value='71'/>
  >       <primitive type='byte' value='13'/>
  >        <primitive type='byte' value='10'/>
  >       <primitive type='byte' value='26'/>
  >       <primitive type='byte' value='10'/>
  >       <primitive type='byte' value='0'/>
  >        <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='13'/>
  >       <primitive type='byte' value='73'/>
  >        <primitive type='byte' value='72'/>
  >       <primitive type='byte' value='68'/>
  >       <primitive type='byte' value='82'/>
  >       <primitive type='byte' value='0'/>
  >        <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='-6'/>
  >       <primitive type='byte' value='0'/>
  >        <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='-6'/>
  >       <primitive type='byte' value='8'/>
  >        <primitive type='byte' value='6'/>
  >       <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='0'/>
  >        <primitive type='byte' value='-120'/>
  >       <primitive type='byte' value='-20'/>
  >       <primitive type='byte' value='90'/>
  >       <primitive type='byte' value='61'/>
  >        <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='0'/>
  >       <primitive type='byte' value='5'/>
  >        ......................
  >
  > this method to keep the image in the xml makes the file quite big.
  > Is it possible to customize the other encoding methods defined in the API
  > such as using base 64 for image.
  >
  > Thanks for your time.
  >
  > edison
  >
  >
  >
  >
  >
  >
  >



--
  The competent programmer is fully aware of the strictly limited size
  of his own skull; therefore he approaches the programming task in full
  humility, and among other things he avoids clever tricks like the
  plague. - Dijkstra


--
The competent programmer is fully aware of the strictly limited size
of his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the
plague. - Dijkstra

#2184 From: "Brendan Macmillan" <melbourne.research@...>
Date: Sat Jun 23, 2007 3:33 am
Subject: Re: [JSX] How to let JSX run on Java 1.5 or higher?
egroups_yow
Offline Offline
Send Email Send Email
 
Hi,

Officially, we don't support the GPL version, and work stopped on the GPL codebase before Java 1.5 was released.
(The commercial version of course supports Java 1.5 and 1.6, but that's not relevant here).


Here's what I can do:

1. send you the latest GPL version of JSX, which was for Java 1.4 (in Aug 2004). It also works for Java 1.5. I'll send the jar directly to your address in a separate email.

2. you'll need to modify to check for the version of Java, so it accepts Java 1.5. It's a simple change. The file is:
  MagicClassFactory.java
which is in the "JSX/magic" directory of the jar.

3. WARNING: This will work for most classes, but some classes will not be handled correctly. For example, the new typesafe enums in Java 1.5 require extra coding elsewhere.


It maybe simpler for you to switch to another project for XML serialization; or you could update the old GPL version of JSX as you go along. It's up to you.

I hope this is helpful to you.


cheers,
Brendan

On 22/06/07, Juan Carlos Sanchez Recio < tupijallegar@...> wrote:

Hello,

I am working on a GPL project which uses the old GPL JSX version, how coud solve this problem:

---ATTENTION!---  JSX could not recognize your implementation of java, which is:
        implVendor='Sun Microsystems Inc.'
        specVersion='1.5'
        implVersion='1.5.0_06'
Please post this information to: jsx-ideas@yahoogroups.com
In the meantime, JSX will try to use the standard implementation for Java 1.3 - which will probably work
Exception in thread "main" java.lang.InternalError: java.lang.NoSuchMethodException: java.io.ObjectInputStream

.allocateNewObject(java.lang.Class, java.lang.Class)
        at JSX.magic.MagicClass13.<init>(MagicClass13.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at JSX.magic.MagicClassFactory.newInstance(MagicClassFactory.java:88)
        at JSX.XMLDeserialize.<clinit>(XMLDeserialize.java:111)
        at JSX.ObjIn.<init>(ObjIn.java:54)
        at JSX.ObjIn.<init>(ObjIn.java:88)
        at jfreevote.shared.Serializer.deserialize(Serializer.java:83)
        at jfreevote.server.auth.censusdrivers.XMLFile_CensusDriver.Init(XMLFile_CensusDriver.java:73)
        at jfreevote.server.auth.CensusManager.<init>(CensusManager.java:65)
        at jfreevote.server.JFreeVoteServer.main(JFreeVoteServer.java:66)

Thanks,

J. Carlos Sanchez Recio



#2183 From: "Juan Carlos Sanchez Recio" <tupijallegar@...>
Date: Fri Jun 22, 2007 8:27 am
Subject: How to let JSX run on Java 1.5 or higher?
tupijallegar@...
Send Email Send Email
 
Hello,

I am working on a GPL project which uses the old GPL JSX version, how coud solve this problem:

---ATTENTION!---  JSX could not recognize your implementation of java, which is:
        implVendor='Sun Microsystems Inc.'
        specVersion='1.5'
        implVersion='1.5.0_06'
Please post this information to: jsx-ideas@yahoogroups.com
In the meantime, JSX will try to use the standard implementation for Java 1.3 - which will probably work
Exception in thread "main" java.lang.InternalError: java.lang.NoSuchMethodException: java.io.ObjectInputStream
.allocateNewObject(java.lang.Class, java.lang.Class)
        at JSX.magic.MagicClass13.<init>(MagicClass13.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at JSX.magic.MagicClassFactory.newInstance(MagicClassFactory.java:88)
        at JSX.XMLDeserialize.<clinit>(XMLDeserialize.java:111)
        at JSX.ObjIn.<init>(ObjIn.java:54)
        at JSX.ObjIn.<init>(ObjIn.java:88)
        at jfreevote.shared.Serializer.deserialize(Serializer.java:83)
        at jfreevote.server.auth.censusdrivers.XMLFile_CensusDriver.Init(XMLFile_CensusDriver.java:73)
        at jfreevote.server.auth.CensusManager.<init>(CensusManager.java:65)
        at jfreevote.server.JFreeVoteServer.main(JFreeVoteServer.java:66)

Thanks,

J. Carlos Sanchez Recio

#2182 From: "egroups_yow" <melbourne.research@...>
Date: Thu Mar 1, 2007 4:15 am
Subject: Re: JDK 1.6.0 Compatibility
egroups_yow
Offline Offline
Send Email Send Email
 
--- In JSX-ideas@yahoogroups.com, "dcmacrae_boston" <dcmacrae@...> wrote:

> Do we have to pay to be compatible with the latest version of the JDK?

Just to confirm: the just released version of JSX is compatible with
Java 1.6, and it is free for you because your license covers all 2.2.*
version of JSX.

The JSX version you originally purchased was released before Java 1.5
- and there are some Java features introduced in Java 1.5 (Enums) that
required special support in serialization.

I recommend you upgrade. It's free for you.

I will send you the download URL again (ie for the purchase version,
that doesn't expire in 30 days) directly.


cheers,
Brendan Macmillan

#2181 From: <noreply@...>
Date: Mon Feb 26, 2007 2:13 pm
Subject: [fmII] Java Serialization to XML 2.2.6.0 released (Commercial branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.6.0' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
Compatibility with Java 1.6 was added.

Release focus:
5 - Major feature enhancements

Project added:
Tue, Oct 10th 2000 01:06 (6 years, 4 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and
categories you're subscribed to in the right column, which you may cancel
by highlighting the project or category in question and clicking the
'delete' button.

Sincerely,
freshmeat.net

____________________________| Advertising |____________________________
Open source and Linux from HP


From eight consecutive years of Linux market leadership to countless
community outreach programs, HP has proven solutions you can value, on a
next generation, highly-efficient BladeSystem platform ideal for Linux,
with the approach, experience, and customer commitment you can trust.


http://showcase.linux.com/hpos.tmpl
____________________________| Advertising |____________________________

#2180 From: Brendan <melbourne.research@...>
Date: Fri Feb 23, 2007 1:46 am
Subject: Re: [JSX] Re:JDK 1.6.0 Compatibility
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Damien,

Thanks, it's good to hear what is needed. It's the time for Java 1.6 (your enterprise license will cover this, regardless of the work involved).


cheers,
Brendan

On 23/02/07, Damien Evans <damien.daddy@...> wrote:

We just came across this as well.

An update would be appreciated.  :)

 -- Damien



#2179 From: Brendan <melbourne.research@...>
Date: Fri Feb 23, 2007 1:44 am
Subject: Re: [JSX] JDK 1.6.0 Compatibility
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Duncan,

Thanks for posting full information.

> Does JSX continue to operate properly despite the message?
We have not yet made JSX compatible with Java 1.6 - there is clearly a need for this now.

> Do we have to pay to be compatible with the latest version of the JDK?
It depends on what is involved in this update - we have not had a major upgrade since Java 1.4, and there have been many releases since then.

An Enterprise license includes all future upgrades, major or minor, for free. You have a Site license, which gives you all minor upgrades for free, relative to the version you purchased. For your specific case, these minor upgrades already covered the transition from Java 1.4 to 1.5

JSX is always distributed with version information in the filename, such as:
    JSX2.2.5.6.jar                  // trial version
    JSX2.2.5.6full.jar              // purchased version
Sometimes users rename jars and this information is lost.

The date of your purchase (22/Jun/2004) implies you have version 2.2.1, which was before Java 1.5 support. Your license includes all versions with the same major version number (ie 2.2.*.*), which includes the current version (2.2.5.6).


> What are our options?
If the upgrade is major, you need a Site or Enterprise license: http://jsx.org/buy.html

I'll get back to you next week on this once we've established what is involved in compatibility. We need to consider the cumulative changes since the last major version upgrade (in early 2004 - almost 3 years ago).


cheers,
Brendan




On 22/02/07, dcmacrae_boston < dcmacrae@...> wrote:


We have a site license for JSX. We have upgraded our project to
JDK1.6.0
and now JSX is complaining. Does JSX continue to operate properly
despite the message? Do we have to pay to be compatible with the
latest
version of the JDK? What are our options?

**** MESSAGE ****
---ATTENTION!--- JSX could not recognize your implementation of
java, which is:
implVendor="Sun Microsystems Inc."
specVersion="1.6"
implVersion="1.6.0"
In the meantime, JSX2 will try the standard implementation for Java
1.4 - which will probably work
Please post the above information to: jsx-ideas@yahoogroups.com
- in particular, please state whether the standard implementation
worked or not, for both writing and reading. Please do a few tests
before you post.

If JSX's guess really does work, it can be fixed with:
if (implVendor.equals("Sun Microsystems Inc.") &&
specVersion.equals("1.6") && implVersion.equals("1.6.0"))
magicName = "JSX.magic.MagicClass14";

**** LICENSE Type****
Description: JSX Site Distribution License
From: Brendan Macmillan t/as JSX Enterprises Merchant's cart ID: JSX
Site Distribution License Authorisation Date/Time: 22/Jun/2004
15:59:52

**** VERSION ****
I don't know what version we are using. There is no version info. In
the jar manifest. The is no version info in the jar name, such a
axis-1.1.jar. I did a quick search of the user manual, and did not
see a runtime way to display jar version.



#2178 From: "Damien Evans" <damien.daddy@...>
Date: Thu Feb 22, 2007 3:17 pm
Subject: Re:JDK 1.6.0 Compatibility
damien_m_evans
Offline Offline
Send Email Send Email
 
We just came across this as well.

An update would be appreciated.  :)

 -- Damien

#2177 From: "dcmacrae_boston" <dcmacrae@...>
Date: Wed Feb 21, 2007 9:20 pm
Subject: JDK 1.6.0 Compatibility
dcmacrae_boston
Offline Offline
Send Email Send Email
 
We have a site license for JSX. We have upgraded our project to
JDK1.6.0
and now JSX is complaining. Does JSX continue to operate properly
despite the message? Do we have to pay to be compatible with the
latest
version of the JDK? What are our options?



**** MESSAGE ****
---ATTENTION!---  JSX could not recognize your implementation of
java, which is:
   implVendor="Sun Microsystems Inc."
   specVersion="1.6"
   implVersion="1.6.0"
In the meantime, JSX2 will try the standard implementation for Java
1.4 - which will probably work
Please post the above information to: jsx-ideas@yahoogroups.com
  - in particular, please state whether the standard implementation
worked or not, for both writing and reading.  Please do a few tests
before you post.

   If JSX's guess really does work, it can be fixed with:
   if (implVendor.equals("Sun Microsystems Inc.") &&
specVersion.equals("1.6") && implVersion.equals("1.6.0"))
   magicName = "JSX.magic.MagicClass14";


**** LICENSE Type****
Description: JSX Site Distribution License
From: Brendan Macmillan t/as JSX Enterprises Merchant's cart ID: JSX
Site Distribution License Authorisation Date/Time: 22/Jun/2004
15:59:52

**** VERSION ****
I don't know what version we are using. There is no version info. In
the jar manifest. The is no version info in the jar name, such a
axis-1.1.jar. I did a quick search of the user manual, and did not
see a runtime way to display jar version.

#2176 From: <noreply@...>
Date: Wed Jan 31, 2007 2:15 pm
Subject: [fmII] Java Serialization to XML 2.2.5.6 released (Commercial branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.5.6' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
Documentation was added for class evolution/object migration by
transforming the XML using XSLT.

Release focus:
2 - Documentation

Project added:
Tue, Oct 10th 2000 01:06 (6 years, 3 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and
categories you're subscribed to in the right column, which you may cancel
by highlighting the project or category in question and clicking the
'delete' button.

Sincerely,
freshmeat.net

____________________________| Advertising |____________________________
Track & Manage Your Source Code and Digital Assets for FREE with Perforce


Discover how you can manage your source code and digital assets faster and
easier with Perforce. Perforce offers visual client interfaces for
Linux, Mac, Solairs,FreeBSD and Windows. Learn more and get a free two
user download at


http://sel.as-us.falkag.net/sel?cmd=lnk&kid=133888&bid=282689&dat=121642&opt=0&r\
dm=[timestamp]

____________________________| Advertising |____________________________

#2175 From: <noreply@...>
Date: Mon Jan 15, 2007 2:20 pm
Subject: [fmII] Java Serialization to XML 2.2.5.5 released (Commercial branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.5.5' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
JSX now works with recent versions of BEA's JRockit 1.4 and 1.5.

Release focus:
4 - Minor feature enhancements

Project added:
Tue, Oct 10th 2000 01:06 (6 years, 3 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and
categories you're subscribed to in the right column, which you may cancel
by highlighting the project or category in question and clicking the
'delete' button.

Sincerely,
freshmeat.net

#2174 From: <noreply@...>
Date: Mon Jan 8, 2007 7:30 am
Subject: [fmII] Java Serialization to XML 2.2.5.4 released (Commercial branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.5.4' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
Unknown JVMs no longer cause warnings (which cluttered up logfiles),
unless the hooks required by JSX are missing.

Release focus:
6 - Minor bugfixes

Project added:
Tue, Oct 10th 2000 01:06 (6 years, 3 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and
categories you're subscribed to in the right column, which you may cancel
by highlighting the project or category in question and clicking the
'delete' button.

Sincerely,
freshmeat.net

#2173 From: Brendan <melbourne.research@...>
Date: Mon Jan 8, 2007 1:35 am
Subject: serialPersistentFields
egroups_yow
Offline Offline
Send Email Send Email
 
Hi Stephen,

"serialPersistentFields" is the approach I was talking about. Here's an example:
http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/examples.html

You customize how the object is serialized and deserialized by adding
callback methods to it, readObject and writeObject - JSX will call
these. Within these, you can use the serialPersistentFields (an array
that defines the class's fields for the purposes of serialization - so
they can differ from the actual fields of the class), and GetField and
PutField to read/write them.

So, you can customize how fields are read in, with these virtual
fields that you can process in whatever way you need to before
assigning the values to fields. For serialization, you can write out
the fields as normal.

I recommend having a play around with this. You can use this as a
migration mechanism, to read in the old version and write out the new.
You can inspect the XML to verify it has made the change you intended
to make.

For simple changes, it may be easier to modify the XML directly.

Note: for primitive type changes, JSX automatically converts them to
the expected type.


Here's the JOS spec.
http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/serialTOC.html


BTW: There's only one change to serialization in Java 1.6 (very esoteric):
   
http://java.sun.com/javase/6/docs/technotes/guides/serialization/relnotes6.html

cheers,
Brendan

#2172 From: <noreply@...>
Date: Mon Jan 1, 2007 3:16 pm
Subject: [fmII] Java Serialization to XML 2.2.5.3 released (Commercial branch)
noreply@...
Send Email Send Email
 
This email is to inform you about the release of version '2.2.5.3' of 'Java
Serialization to XML' through freshmeat.net. All URLs and other useful
information can be found at

     http://freshmeat.net/projects/jsx/

The changes in this release are as follows:
This version has been confirmed with HP's 1.5 JVM. This version also
regains compatibility with Java 1.2, though final fields cannot be
set in Java 1.2.

Release focus:
4 - Minor feature enhancements

Project added:
Tue, Oct 10th 2000 01:06 (6 years, 2 months ago)

Project description:
Java Serialization to XML (JSX) translates between Java and XML,
making it possible to search, test, profile, and audit your object
data with ordinary XML and text processing tools. Your data can be
migrated to new application versions, to C++, and to other
applications by transforming the XML. Unlike other Java XML
serializers, JSX is accurate for all objects.

Trove categories:
[Development Status  ] 5 - Production/Stable
[Environment         ] Console (Text Based), MacOS X, Other Environment,
Web Environment, Win32 (MS Windows)
[Intended Audience   ] Developers
[License             ] OSI Approved :: GNU General Public License (GPL),
Other/Proprietary License with Free Trial
[Programming Language] Java
[Topic               ] Communications, Database, Software Development,
Software Development :: Libraries, Software Development :: Libraries ::
Java Libraries, Software Development :: Object Brokering, System ::
Archiving, System :: Recovery Tools, Text Processing :: Markup :: XML

If you would like to cancel subscription to releases of this project,
login to freshmeat.net and choose 'home' from the personal menubar at the
top of the page. You'll be presented with a list of projects and
categories you're subscribed to in the right column, which you may cancel
by highlighting the project or category in question and clicking the
'delete' button.

Sincerely,
freshmeat.net

#2171 From: Brendan <melbourne.research@...>
Date: Mon Jan 1, 2007 2:07 pm
Subject: Re: [JSX] Two Issues : JSX detecting JVM and JSX telling us it is expired.
egroups_yow
Offline Offline
Send Email Send Email
 
Hi James,

I've just released a version of JSX that does not output warning messages for your JVM - sorry for the delay. That is, for this JVM:
  implVendor="Hewlett-Packard Co."
  specVersion="1.5"
  implVersion=" 1.5.0.05"

It is version 2.2.5.3, and is available as both a trial and purchase version.

I would appreciate it if you could confirm that it works correctly on your actual installation when you get a chance.


cheers,
Brendan

On 30/12/06, Brendan <melbourne.research@...> wrote:
Hi James,

Thanks a lot, that's exactly the info I need. I'll get on to it tomorrow.


cheers,
Brendan


On 30/12/06, James Maes <jjmaes@...> wrote:


Sorry. I went a reply via email last week but looks like it never
made it into the system.

Here is a copy of that email:

Here is the message from JSX while running on the HP's.
[java] ---ATTENTION!--- JSX could not recognize your
implementation of java, which is:
[java] implVendor="Hewlett-Packard Co."
[java] specVersion="1.5"
[java] implVersion=" 1.5.0.05"
[java] In the meantime, JSX2 will try the standard
implementation for Java 1.4 - which will probably work
[java] Please post the above information to: jsx-
ideas@yahoogroups.com
[java] - in particular, please state whether the standard
implementation worked or not, for both writing and reading. Please
do a few tests before you post.

[java] If JSX's guess really does work, it can be fixed with:
[java] if (implVendor.equals("Hewlett-Packard Co.") &&
specVersion.equals("1.5") && implVersion.equals ("1.5.0.02"))
[java] magicName = "JSX.magic.MagicClass14";

Also, I wont post the URL that I downloaded the file from, but could
you send it to me privately since the URL that i used last time no
longer works.

--- In JSX-ideas@yahoogroups.com, Brendan <melbourne.research@...>
wrote:
>
> Hi James,
>
> Did the current download work for you?
>
> When you get a chance, could you send the version info that JSX
outputs. I
> need the exact strings to be able to check for them, so I can
remove these
> messages for you It would also help me determine how best to avoid
you
> seeing these messages in future.
>
> I hope you're feeling reassured.
>
>
> cheers,
> Brendan
>

> On 27/12/06, Brendan <melbourne.research@...> wrote:
> >
> > Hi James,
> >
> > We should be able to fix these hassles up quickly.
> >
> > Expired:
> > I just checked the purchase version now, and confirmed that it is
working
> > normally (ie. not expired, and not giving the message you saw).
> >
> > (1) Could you download it again, and confirm whether this fixes
the
> > problem? This would be a simple fix.
> >
> > BTW: I have been working on our release system over the past few
weeks, so
> > it is possible you got an incorrect version at the exact time you
> > downloaded. Seems unlikely, but that would explain what you are
seeing. The
> > purchased version of the jar has a few extra characters appended
to the
> > filename, relative to the trial version.
> >
> >
> > JVM:
> > The immediate solution to your problem is to add your specific
JVM to the
> > next release.
> >
> > (2) JSX should write out a detailed report on the JVM version
etc -
> > could you include that, please?
> >
> > This release should happen within a day of getting that info from
you.
> >
> > Yes, you're right that I'd decided to disable the JVM check - but
this
> > caused problems for other users. Managing the targetting of
multiple JVM
> > versions and manufacturers is difficult.
> >
> >
> > cheers,
> > Brendan
> > PS: It's late here right now, so I'll revisit the JVM problem in
detail
> > tomorrow. The problem is to target your JVM so that you won't get
your logs
> > filled up when you upgrade your JVM next time; and that won't
interfere with
> > JSX detecting a JVM it hasn't seen before. The difficulty is that
whenever a
> > JVM is upgraded, it is a "JVM it hasn't seen before", as it is
*possible*
> > the internal implementation of the JVM's serialization has been
changed (ie,
> > of JOS, Java Object Serialization) - and JSX relies on this
internal
> > implementation.
> >
> > But in reality, JOS doesn't change very often; I've only seen it
change
> > between major version releases of the specification (Java 1.2,
1.3, 1.4,
> > 1.5) - implementation versions haven't changed the implementation
at all,
> > in fact. It's not something that other manufacturers want to mess
around
> > with either.
> >
> >
> > On 27/12/06, James Maes <jjmaes@...> wrote:
> > >
> > > Good Morning All.
> > >
> > > I have two issues that I am hoping someone can help us address.
We
> > > purchased JSX around 9 months ago and have been very happy but
have
> > > noticed a couple of little issues recently.
> > >
> > > First, we upgraded our version of Java (we run on HP-UX PA-RISC
> > > systems) to 1.5.5 and now JSX is complaining about not being
able to
> > > determine the version of the JVM it is running for and says it
is
> > > defaulting to a 1.4 version. I am happy to report that this is
still
> > > working fine, it's just filling up our logs and causing the
Systems
> > > Admins to yell at my team a little.
> > >
> > > I remember this issue coming up around 4 or 5 months ago, and I
> > > thought the new version of JSX removed this check. Working under
> > > that assumption, we downloaded a new version of JSX (from a URL
that
> > > we downloaded our purchased version from, just incremented the
> > > version number as needed) but now we are seeing this.
> > >
> > > [java] Thanks for evaluating JSX for 30 days.
> > > [java] Thanks for evaluating JSX for 30 days.
> > > [java] If you need more time, please contact
company@...<company%40jsx.org>
> > > (for work)
> > > [java] If you need more time, please contact
company@...<company%40jsx.org>

> > > (for work)
> > > [java] For students, an academic version is avaiable at:
> > > www.jsx.org/academic
> > > [java] For students, an academic version is avaiable at:
> > > www.jsx.org/academic
> > > [java] Buy JSX at www.jsx.org/buy.html
> > > [java] Buy JSX at www.jsx.org/buy.html
> > >
> > > We just downloaded the new version 2 weeks ago, plus we have
what I
> > > thought was the proper purchased version so I am really
confused and
> > > scared.
> > >
> > > Right now this only happens on our test box, but if it starts in
> > > production, things could get bad.
> > >
> > > In addition to this error, the new JSX jar (JSX2.2.5.2) is still
> > > complaining about the JVM version.
> > >
> > > For now I am rolling back our version of JSX from JSX2.2.5.2 to
> > > JSX2.2.5.1, but would like to know how to address the issues
above
> > > and where to get a proper jar for the upgraded version
(hopefully
> > > without the JVM check).
> > >
> > > Details:
> > > OS: HP-UX PA-RISC
> > > JVM: HP's JVM 1.5.5
> > > JSX Version: JSX2.2.5.1 and JSX2.2.5.2
> > >
> > > Thanks
> > > -JM
> > >
> > >
> > >
> >
> >
>




Messages 2171 - 2200 of 2200   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help