Jump to content
We've recently updated our Privacy Statement, available here ×

export in in 1.1 and import in 1.2.1


Herbert

Recommended Posts

Hi All

 

I'm in the process of updating from version 1.1.0 to 1.2.1. First of all, I have read that there should exist a description about this process somewhere, but unfortunately, I have not found the appropriate document, maybe someone can enlight me...

 

I have exported my repository using ji-export --uri , ji-export --users ans so on. Now I'm trying to use the ji-import on my 1.2.1 server using the following command:

ji-import --input-dir=jasper_backupreports_OPC

 

and various variations. The command does take a couple seconds until it compleats, but there is no output at all and nothing gets imported. Also the file jasperserver.log in the scripts directory is empty. If I intensionally misspell the directory where the backup is located, I get at least an exception thrown...

 

Any hint would be great!

 

Regards,

 

Herbert

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Herbert,

 

The import into 1.2.1 that you are trying should work. You should check the settings used by the importer-exporter utility to make sure that the right DB is being pointed to, etc. It's located at scripts/ji-export-util/js.jdbc.properties. You can also turn on more logging using scripts/ji-export-util/log4j.properties. Also, the import does not overwrite/update same named repository objects.

 

There is documentation on steps for ugrading from 1.1.0 to 1.2.1. There is a section on this in the docs/JasperServer-WarFile-Install-Guide.pdf (section 2.5.4). You can use the scripts in scripts/upgrade to turn your existing 1.1.0 DB into a 1.2.1 DB. This might be the simplest thing to do.

 

-Tony

Link to comment
Share on other sites

Hi Tony

 

Thanks for your answer. I have checked the settings in the jdbc.properties file and to my knowledge, it looks ok. I have enabled info messages in log4j and the XMLA server messages.

 

However, I don't see any message which gives me a clue. When I try to export something (ji-export --uri=/images --output-dir=jasper_backupnewImages)from the repository, all I get is an index.xml file with the following content:

<?xml version="1.0" encoding="UTF-8" ?>

<export />

 

So there must be somethig fundamentally wrong.

 

Attached is the log aoutput

 

Btw. I have installed 1.2.1 using the windows installer. [file name=jasperserver.txt size=21628]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/jasperserver.txt[/file]

Post edited by: Herbert, at: 2007/04/27 09:07

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...