Child pages
  • Known Problems - 6.0

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Known Problems - 6.0

Welcome window takes minutes to load

There appears to be a problem with the HTML declaration at the top of the default welcome window HTML snippet, /home/dmlserv/Variations-6.0/public_html/welcome.html. To workaround this problem, remove the HTML declaration from welcome.html:

Code Block

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/html/DTD/xhtml1-transitional.dtd">

Statistics never identified as "in library"

The statistic generating scripts have a bug which keeps them from identifying an IP as being "in library" even when configured properly. To fix this problem, download the following patch files to /home/dmlserv/Variations-6.0 (or /home/dmlserv/Variations for Variations 5.0.7 or earlier).

generateStats.pl.patch
generateQTstats.pl.patch

Then perform the following commands:

Code Block

patch bin/generateStats.pl generateStats.pl.patch
patch bin/generateQTstats.pl generateQTstats.pl.patch

Variations Web Services fail to connect to the Variations server

Sometimes the Variations Web Services fail to connect to the Variations server when started. The log file (log/variations-ws-server.log) should report an error like the following:

Code Block

03 Oct 2010 07:07:43,313 ERROR [Timer-5] authentication.VariationsLoginProxy  Could not log into Variations.
edu.indiana.dml.library.auth.AuthenticationException: Couldn't decrypt the password
	at edu.indiana.dml.library.auth.PasswordAuth.decrypt(PasswordAuth.java:85)
	at edu.indiana.dml.library.auth.PasswordAuth.authenticateByIUGuest(PasswordAuth.java:110)
	at edu.indiana.dml.library.LibraryConnectionManager.getConnection(LibraryConnectionManager.java:182)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
	at edu.indiana.dml.library.LibraryConnectionManager_Stub.getConnection(Unknown Source)
	at edu.indiana.variations.ws.server.authentication.VariationsLoginProxy.connect(VariationsLoginProxy.java:215)
	at edu.indiana.variations.ws.server.authentication.VariationsLoginProxy.getConnection(VariationsLoginProxy.java:121)
	at edu.indiana.variations.ws.server.repo.VariationsRepository.createConnection(VariationsRepository.java:109)
	at edu.indiana.variations.ws.server.repo.VariationsRepository.access$400(VariationsRepository.java:47)
	at edu.indiana.variations.ws.server.repo.VariationsRepository$KeepAliveTimerTask.keepAlive(VariationsRepository.java:154)
	at edu.indiana.variations.ws.server.repo.VariationsRepository$KeepAliveTimerTask.run(VariationsRepository.java:145)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
Caused by...
javax.crypto.BadPaddingException: Given final block not properly padded
	at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
	at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
	at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA13*..)
	at javax.crypto.Cipher.doFinal(DashoA13*..)
	at edu.indiana.dml.library.auth.PasswordAuth.decrypt(PasswordAuth.java:83)
	at edu.indiana.dml.library.auth.PasswordAuth.authenticateByIUGuest(PasswordAuth.java:110)
	at edu.indiana.dml.library.LibraryConnectionManager.getConnection(LibraryConnectionManager.java:182)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)

One workaround for this is to delete the encryption keys stored while connecting to the Variations server as a client and restarting the web services webapp.

Code Block
rm /usr/local/tomcat/.variations2/*

Variations data files (e.g., v2t, v2p) won't open from Outlook Web Access

...

Some possible fixes to request from your Exchange Server administrator are given below.

...