Debugging rt.jar

I'm trying to debug classes from rt.jar.
I'm using java version "1.4.2_01"
unfortunatly the classes are compiled without line numbers.
Now I'm trying to compile them myself, but I get tons of errors.
So I've got two questions:
1) Is there an rt.jar with debug information ?
2) Has someone a ant script that might to the apropriate ?
thx
matt

I believe you should still be able to obtain the java_g JRE distribution from Sun, java_g contains all the debugging information you need for that kind of troubleshooting. Back in the days java_g was distributed along with the standard JRE, but not anymore because of its bloated size, so I believe you have to request it explicitly from Sun.

Similar Messages

  • Debugging toplink.jar

    I'm trying to debug into a UnitOfWork.commit call and I've attached source.jar to toplink.jar in Eclipse 3.0.1.
    Problem: Eclipse can't find publicinterface.UnitOfWork in source.jar. There is no publicinterface folder in source.jar.
    Questions:
    1. Why is there no publicinterface folder in source.jar?
    2. What is the correct process for debugging toplink.jar?
    Thanks,
    Ed

    In my experience I have been able to use the source.jar in conjunction with the provided toplink.jar to debug functions in the source provided. However, the implementation of UnitOfWork is not provided.
    I would recommend using th evalidation levels on the UnitOfWork (JAVADOC: http://download-west.oracle.com/docs/cd/B10464_04/web.904/b10491/oracle/toplink/sessions/UnitOfWork.html).
    unitOfWork.performFullValidation()
    unitOfWork.performPartialValidation()
    Additionally you can try unitOfWork.validateObjectSpace()
    http://download-west.oracle.com/docs/cd/B10464_04/web.904/b10491/oracle/toplink/sessions/UnitOfWork.html#validateObjectSpace()
    These API's are intended to assist in UnitOfWork diagnostics.
    If this does not assist then please post specifics of the issue you are trying to debug.
    Doug

  • How to debug the jar files while developing the native extension for android

    ANyone???

    I'm having the same problem. I learned FB and Eclipse. I've read the tutorials, created an ane, and built it into a test app. I can debug my test app within FB 4.7 on my mobile device via USB. But there are bugs and they silently fail. Despite all my Log statements in my android java code, they won't output to the FB console. I'm blind, without even trace statements to help fix my ane. I've searched the internet and can't find anything. It must either be terribly obvious or arcane, because no one mentions it.
    Can anyone tell me how to get trace out of an ane?
    The Android reference claims debug and verbose priority are stripped out at runtime. I switched to Log.i() but still get nothing. I suppose for now I'll try throwing errors and see if I can report trace info that way if possible.
    Anyone perhaps have a JUnit test that will mimic AIR using the ane jar file as an extension? Perhaps it will be easier to go full native until the android side is debugged.
    Update Edit: Ok, now spending more time reading the Android developers website. I've found I can use logcat to get all kinds of useful system logs, including the log output of my embedded ane. I created a nice big command line window (180 char wide with a 500 deep buffer so I can scroll back through all the messages), then from the android platform tools directory I ran 'adb shell', then at the shell prompt $>logcat
    Links to info that helped me:
    http://developer.android.com/tools/debugging/index.html
    http://developer.android.com/tools/help/logcat.html

  • Is there way to debug JAR file,which doesnt has sources.

    Hi
    I have jar file called myjar.jar,which contains only .class files.Assume,I dont have sources for this jar.
    Is there way to debug myjar.jar file??
    However,I can use Djcompiler and get the sources for the jar and use it for debugging.I think,Its not good Idea??
    Thanks in advance.
    Thanks
    kaleem

    Hello,
    Yes - Alt+92 works, but it is too complicated method for most users. As \ is used so often (e.g. login into domain, file and UNC paths) there should be more direct support in keyboard layout.
    Some users are using other Languages (English, Russian) keyboard layout, just to enter that single character.
    Those who know about presence of Microsoft Keyboard Layout Creator load the existing layout and modify it so that VK_OEM_5 key with "\ |" on it in combination with space produce "\" and not "°".
    I would suggest to map "\" to AltGr + "/" key, because it is physically close to VK_OEM_5 and also conceptually idea that AltGr changes meaning from one slash to other is quite logical. That combination is not currently used, so it can be used for that new
    purpose without breaking anything.
    Dainis

  • How to tell if program is launched from JAR?

    I have a program that needs to launch itself at some point in the program. The class is called CalcSolidsWindow.
    The only problem is that I launch it from Eclipse to debug, and it's not in a JAR. However, I pack it into a JAR to distirbute it. To do so, I put this into the code:
    if (runningInJar) {
        Runtime.getRuntime().exec("java -jar [...JAR name...] [...arguments...]"); //JAR launch
    } else {
        Runtime.getRuntime().exec("java CalcSolidsWindow [...arguments...]"); //Non-JAR launch (mainly debug...)
    }The problem is how to set the runningInJar vairable. I've tried:
    File runFile = new File(CalcSolidsWindow.class.getProtectionDomain().getCodeSource().getLocation().getPath()).getCanoncialFile();
    boolean runningInJar = runFile.getName().endsWith(".jar");However, that does not yield the correct result. After printing some stuff to the console, I realize that runFile is just the directory in which the program is running.
    Is there a way to determine if a program was launched from a JAR or not? Thanks in advance for anyone's help!
    Edited by: Vetruvet on Oct 22, 2009 10:25 AM

    Vetruvet wrote:
    I have a program that needs to launch itself at some point in the program. The class is called CalcSolidsWindow.
    The only problem is that I launch it from Eclipse to debug, and it's not in a JAR. I am almost certain that Eclipse can do debugging for Jars, so why ever run it as loose class files?

  • Oracle jdbc driver with debug capability

    I have been using MagicDraw UML to reverse engineer DDL and UML classes from Oracle databases. I recently loaded some public domain hydrology data using FEM, a geophysical data translation tool. After doing this, I get:
    Parsing failed (Oracle - sample) ORA-00942: table or view does not exist
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@331fd8]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@93068a]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@f18070]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@17b9223]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@107eafc]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@f2a824]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@53d29b]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@27d525]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@15d84e0]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@792357]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1f92ac0]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@517dc]
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
    SQLException: SQLState(42000) vendor code(942)
    MagicDraw support has suggested that I use jar or zip that provides debug capability. Where can I find such a driver?

    In the Downloads section, there are the regular JDBC drivers (i.e. ojdbc14.zip) and the debug JDBC drivers (i.e. ojdbc14_g.zip).
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • ZipException when trying to start connection debug

    We have a problem with leaking connections and I have tried to start the connection debug entering
    java -Djdbc.connection.debug=true -jar orion.jar in the windows command prompt. While doing this I receive the error:
    Exception in thread "Main" java.util.zip.zipexception: The system cannot find the file specified
    at java.util.zip.zipfile.open..........
    We are running Oracle Application Server 10g (9.0.4). Can anybody help me with this?
    Annika

    Hej!
    I get the same error when specifying a file it cannot find, so possibly environment is not set up (CLASSPATH?) and/or absolute pathname is required (java cant see orion.jar).
    C:\oracle\product\10.1.0\Client_5\jdk\bin>.\java -Djdbc.connection.debug=true -jar orion.jar
    Exception in thread "main" java.util.zip.ZipException: Det gÕr inte att hitta filen
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:65)
    Using c:\...\file.jar instead should do the trick.
    Hth,
    Fredrik

  • Debug tracing in JDBC

    I have turned on Debug tracing with my 8.1.6 JDBC driver and it is generating megabytes of trace information. All I have done so far
    is just connect to a database and call getTables on the connection.
    So far I have 500 M of trace information and
    my program has not done anything useful so far!!
    Is there anyway to get less trace information?
    This is a really nasty bug and makes it very hard to figure out what the driver is doing.
    I just checked the size of the output and it has gone up by another 200M and as I said before, my program has not even got over the
    connection phase....
    null

    I believe debug version of thin driver is available from oracle site. The name should end with _g. The
    file you need is classes12_g.zip
    Put that file first in your classpath and it should take care of your problem.
    Thanks,
    Mitesh
    joe wrote:
    I am using wl 7.0 sp2, have turned on jdbc logging and debug to std out (have it
    at info level) and log to std out .
    After restarting weblogic, i see that it creates a jdbc log file.Within log file
    i get this
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file.
    How do i get over this ?
    contents of jdbc log file:
    =================
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@77d
    ab3]
    DriverManager.getDriver("jdbc:oracle:thin:@evnoltq1:1615:evnoltq1")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@77dab3]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver
    @77dab3]
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@2c7456]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@6bf0b6]

  • Debug toplink connections

    Hi all,
    I am trying to debug some connection leaks in my application.This is because I saw connections reached maximum error, though I have max connections settings set to 300.
    I am trying to start my container using
    "D:\oc4j\j2ee\home>C:\jdk1.3.1_12\bin\java -Xmx256M -Djdbc.connection.debug=true
    -jar oc4j.jar"
    I dont see any debug while I run my application.
    "-Ddatasource.verbose = true" works fine.
    I have sessions.xml settings for logging as follows.
    <enable-logging>true</enable-logging>
    <logging-options>
    <log-exceptions>true</log-exceptions>
    <log-exception-stacktrace>true</log-exception-stacktrace>
    <print-thread>true</print-thread>
    <print-session>true</print-session>
    <print-connection>true</print-connection>
    <print-date>true</print-date>
    </logging-options>
    Any Ideas , on what is going wrong?
    Thanks in advance.
    Giri.

    I'd cross pose this question to the App Server forums... I assume you are not using TopLink's basic connection pool and instead are pointing it to the app server connection pool (recommended)? If so, you will not see any specific logging in TopLink, it's the app servers responsibility. If you were using TopLink's connection pool, then you'd see the logging (but would get less flexibility and control than what the app server offers).
    - Don

  • Coredump loading xmlparser.jar

    I'm trying to load the xmlparser.jar file in my Oracle 8i
    database on AIX 4.2.1 and I have a coredump running loadjava.
    Here is the output of the loadjava command (with -debug flag)
    Do you have any idea of what is wrong ?
    Thanks.
    $ loadjava -resolve -verbose -user "scott/tiger" -debug
    xmlparser.jar
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver:
    driver[className=oracle.jdbc.driver.OracleDriver,context=null,or
    acle.jdbc.driver.OracleDriver@60063aa]
    registerDriver:
    driver[className=oracle.jdbc.driver.OracleDriver,context=null,or
    acle.jdbc.driver.OracleDriver@60063ea]
    DriverManager.getConnection("jdbc:oracle:oci8:@")
    trying
    driver[className=oracle.jdbc.driver.OracleDriver,context=null,ora
    cle.
    jdbc.driver.OracleDriver@60063aa]
    DBAccess.logon
    Segmentation fault(coredump)
    null

    Christophe Roux (guest) wrote:
    : I'm trying to load the xmlparser.jar file in my Oracle 8i
    : database on AIX 4.2.1 and I have a coredump running loadjava.
    : Here is the output of the loadjava command (with -debug flag)
    : Do you have any idea of what is wrong ?
    : Thanks.
    : $ loadjava -resolve -verbose -user "scott/tiger" -debug
    : xmlparser.jar
    : DriverManager.initialize: jdbc.drivers = null
    : JDBC DriverManager initialized
    : registerDriver:
    : driver
    [className=oracle.jdbc.driver.OracleDriver,context=null,or
    : acle.jdbc.driver.OracleDriver@60063aa]
    : registerDriver:
    : driver
    [className=oracle.jdbc.driver.OracleDriver,context=null,or
    : acle.jdbc.driver.OracleDriver@60063ea]
    : DriverManager.getConnection("jdbc:oracle:oci8:@")
    : trying
    : driver
    [className=oracle.jdbc.driver.OracleDriver,context=null,ora
    : cle.
    : jdbc.driver.OracleDriver@60063aa]
    : DBAccess.logon
    : Segmentation fault(coredump)
    It looks like you may have not properly initialized JServer for
    you database instance. Try re-initializing it. Also, is there a
    reason you are using v1 of our parser instead of v2?
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Multiple issues, Berkeley JE 3.2.15, 3.2.76

    Hi all,
    We have been using JE 3.2.15 with great satisfaction for more than a year, but we've been recently running into what seems to be a deadlock with the following stack trace:
    #1) "Thread-12" daemon prio=4 tid=0x0b174320 nid=0x72 in Object.wait() [0x208cd000..0x208cdbb8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xf4202fc0> (a com.sleepycat.je.txn.Txn)
    at com.sleepycat.je.txn.LockManager.lock(LockManager.java:227)
    - locked <0xf4202fc0> (a com.sleepycat.je.txn.Txn)
    at com.sleepycat.je.txn.Txn.lockInternal(Txn.java:295)
    at com.sleepycat.je.txn.Locker.lock(Locker.java:283)
    at com.sleepycat.je.dbi.CursorImpl.lockLNDeletedAllowed(CursorImpl.java:2375)
    at com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2297)
    at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:1983)
    at com.sleepycat.je.Cursor.searchInternal(Cursor.java:1188)
    at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:1158)
    at com.sleepycat.je.Cursor.search(Cursor.java:1024)
    at com.sleepycat.je.Database.get(Database.java:557)
    The call does not seem to return, not for as long as 22 hours anyway. Or maybe it's just very slow performing a single get (these are done in loops), giving the appearance that it's stuck. It appears more or less randomly (every couple of months, maybe) at various sites. We have not been able to reproduce it on our test systems.
    We recently upgraded to 3.2.76, kinda hoping that this issue had been fixed. While the new version appeared to work fine during internal testing and then for 2 deployments, if failed repeatedly during the third deployment. The original issue just manifested itself again (the above stack trace is from 3.2.76). We also experienced the following:
    #2) Environment invalid because of previous exception: com.sleepycat.je.log.DbChecksumException: (JE 3.2.76) Read invalid log entry type: 49
    at com.sleepycat.je.log.LogEntryHeader.<init>(LogEntryHeader.java:69)
    at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:631)
    at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:597)
    at com.sleepycat.je.tree.IN.fetchTarget(IN.java:958)
    at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:1963)
    at com.sleepycat.je.Cursor.searchInternal(Cursor.java:1188)
    at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:1158)
    at com.sleepycat.je.Cursor.search(Cursor.java:1024)
    at com.sleepycat.je.Database.get(Database.java:557)
    #3) <DaemonThread name="Checkpointer"/> caught exception: com.sleepycat.je.DatabaseException: (JE 3.2.76) fetchTarget of 0x61d/0xa2d452 parent IN=147872417 lastFullVersion=0x69c/0x27e251 parent.getDirty()=true state=0 com.sleepycat.je.log.DbChecksumException: (JE 3.2.76) Read invalid log entry type: 58
    com.sleepycat.je.DatabaseException: (JE 3.2.76) fetchTarget of 0x61d/0xa2d452 parent IN=147872417 lastFullVersion=0x69c/0x27e251 parent.getDirty()=true state=0 com.sleepycat.je.log.DbChecksumException: (JE 3.2.76) Read invalid log entry type: 58
    at com.sleepycat.je.tree.IN.fetchTarget(IN.java:989)
    at com.sleepycat.je.cleaner.Cleaner.migrateLN(Cleaner.java:1100)
    at com.sleepycat.je.cleaner.Cleaner.lazyMigrateLNs(Cleaner.java:928)
    at com.sleepycat.je.tree.BIN.logInternal(BIN.java:1117)
    at com.sleepycat.je.tree.IN.log(IN.java:2657)
    at com.sleepycat.je.recovery.Checkpointer.logTargetAndUpdateParent(Checkpointer.java:975)
    at com.sleepycat.je.recovery.Checkpointer.flushIN(Checkpointer.java:810)
    at com.sleepycat.je.recovery.Checkpointer.flushDirtyNodes(Checkpointer.java:670)
    at com.sleepycat.je.recovery.Checkpointer.doCheckpoint(Checkpointer.java:442)
    at com.sleepycat.je.recovery.Checkpointer.onWakeup(Checkpointer.java:211)
    at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:191)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.sleepycat.je.log.DbChecksumException: (JE 3.2.76) Read invalid log entry type: 58
    at com.sleepycat.je.log.LogEntryHeader.<init>(LogEntryHeader.java:69)
    at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:631)
    at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:597)
    at com.sleepycat.je.tree.IN.fetchTarget(IN.java:958)
    ... 11 more
    * An out of memory condition:
    #4) Exception in thread "Cleaner-1" java.lang.OutOfMemoryError: Java heap space
    at com.sleepycat.je.log.LogUtils.readByteArray(LogUtils.java:204)
    at com.sleepycat.je.log.entry.LNLogEntry.readEntry(LNLogEntry.java:104)
    at com.sleepycat.je.log.FileReader.readEntry(FileReader.java:238)
    at com.sleepycat.je.log.CleanerFileReader.processEntry(CleanerFileReader.java:140)
    at com.sleepycat.je.log.FileReader.readNextEntry(FileReader.java:321)
    at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java:411)
    at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:259)
    at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:161)
    at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:191)
    at java.lang.Thread.run(Thread.java:595)
    It is possible, of course, that the actual memory issue is somewhere else in the application and Berkeley just happened to be the one getting the error. However the load is very much 24 hours-periodic and the most significant change was the Berkeley upgrade, which does not seem to be running entirely correctly...
    I was wondering:
    - is issue #1 indeed a deadlock? Has anyone else experienced it? Is there a fix/workaround?
    - are #2 and #3 known issues? Note that these happened both while processing 3.2.15 files and, after failure and deletion, pure 3.2.76 files.
    - is it possible that an invalid log entry would cause #4? Or is there a memory leak/incorrect allocation in BDB?
    If that helps, the standard installation is on Sun x86 hardware running Solaris and (Sun) Java 1.5.0_11. Berkeley is run as an XA resource. Like I said we haven't seen any of these issues on our internal test systems. The customer that experienced #2, #3 and #4 has since been rolled back to 3.2.15, and #1 is rather infrequent. So that's pretty much all the information we have and are going to get, but if there's anything else you'd like to know...
    Thanks in advance,
    Matthieu Bentot

    Hello Matthieu,
    Thank you for your clear explanation.
    On #1, the deadlock, I don't see any known JE bug that could cause this, in the current release or that has been fixed since 3.2.15. The thread dump you sent implies that a thread is waiting to acquire a record lock, which means that some other thread or transaction holds the record lock at that time. There are a few things that come to mind:
    1) If you are setting the lock timeout to a large value, or to zero which means "wait forever", this kind of problem could occur as the result of normal record lock contention. I assume you're not doing this or you would have mentioned it, but I thought I should ask. Are you calling EnvironmentConfig or TransactionConfig.setLockTimeout, or setting the lock timeout via the je.properties file?
    2) Are you performing retries when DeadlockException is thrown (as suggested in our documentation)? By retry I mean that when you catch DeadlockException, you close any open cursors, abort the transaction (if you're using transactions), and then start the operation or transaction from the beginning. One possibility is that two threads are continuously retrying, both trying to access the same record(s). If so, one possible solution is to delay for a small time interval before retrying, to give other threads a chance to finish their operation or transaction.
    3) The most common reason for the problem you're seeing is that a cursor or transaction is accidentally left open. A cursor or transaction holds record locks until it is closed (or committed or aborted in the case of a transaction). If you have a cursor or transaction that has "leaked" -- been discarded without being closed -- or you have a thread that keeps a cursor or transaction open for a long period, another thread trying to access the record will be unable to lock it. Normally, DeadlockException will be thrown in one thread or the other. But if you are setting the lock timeout (1) or retrying operations (2), this could cause the problem you're seeing. Are you seeing DeadlockException?
    If you can describe more about how you handle DeadlockException, send your environment, database, cursor and transaction configuration settings, and describe how you close cursors and commit/abort transactions, hopefully we will be able to narrow this down.
    Your #2 and #3 are the same problem, which is very likely a known problem that we're currently focussed on. It is interesting that you never saw this problem in 3.2.15 -- that could be a clue for us.
    When you started seeing the problem, were there any changes other than moving to JE 3.2.76? Did you start using a network file system of some kind? Or use different hardware that provides more concurrency? Or update your application to perform with more concurrency?
    You mentioned that this occurred in a deployment but not in your test environment. If you have the JE log files from that deployment and/or you can reproduce the problem there, we would very much like to work with you to resolve this. If so, please send me an email -- mark.hayes at the obvious .com -- and I'll ask you to send log files and/or run with a debugging JE jar file when trying to reproduce the problem.
    It is possible that #4 is a side effect of the earlier problems, but it's very difficult to say for sure. I don't see any known bugs since 3.2.76 that could cause an OutOfMemoryError.
    Please send us more information on #1 as I mentioned above, and send me email on the checksum problem (#2 and #3).
    Thanks,
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Could not replicate HttpSession in OC4J

    Hi.
    I have 2 OC4J containers version 10.1.3 in standalone mode-No AplicationServer, just the containers- that i need to cluster to do httpsession replication with peer to peer.
    I've put in the j2ee/home/config/application.xml file for
    AppServer1:
    <cluster>
    <protocol>
    <peer start-port="7900" range="3" timeout="6000">
    <node host="ip_of_AppServer2" port="7900" />
    </peer>
    </protocol>
    </cluster>
    in AppServer2:
    <cluster>
    <protocol>
    <peer start-port="7900" range="3" timeout="6000">
    <node host="ip_of_AppServer1" port="7900" />
    </peer>
    </protocol>
    </cluster>
    The problem is that i cannot get the two containers to replicate the httpsession.
    I start the server with
    java -Dhttp.cluster.debug=true -Dhttp.session.debug=true -Dcluster.debug=true -jar oc4j.jar
    I get the following eror:
    06/11/02 17:53:29 [ERROR] ClientGmsImpl - -handleJoin() should not be invoked on an instance of org.jgroups.protocols.pbcast.ClientGmsImpl
    06/11/02 17:53:29 [ERROR] GMS - -class org.jgroups.protocols.pbcast.ClientGmsImpl.handleJoin(192.168.16.90:7900) returned null: will not be able to multicast new view
    while at first it says:
    06/11/02 18:04:07 [INFO] ConnectionTable - -created socket to 192.168.16.56:7900 --the ip of the other server
    06/11/02 18:04:07 [INFO] ConnectionTable - -input_cookie is bela
    06/11/02 18:04:07 [INFO] ConnectionTable - -created socket to 127.0.0.1:7900
    The 192.168.16.90 is the ip of the server that i'm on seeing this message. I guess it tries to put itself in the cluster.
    The session however is not getting replicated.
    Ok so i tried just to see if it works doing the httpsession replication in the database.
    <cluster>
    <database data-source="jdbc/DASGGERRE"/>
    </cluster>
    I gave the connection a dummy name that is for sure not in the datasources file. No errors are being reported it's as if this setting is altogether ignored.
    Any help would be grately apreciated,
    Serban Balamaci.

    Hi Steve,
    It must have been what you said. I had done a clean install and it worked with no problems. Well, actually I've got a really big problem. I have a simple session counter program. After a few clicks on the first server i get:
    Server1:
    06/11/06 15:44:06 FINE: JGroupHttpSession.beginRequest ClusteredHttpSession.beginRequest()
    06/11/06 15:44:06 FINE: JGroupHttpSession.attributeModified attribteModified -- counter newValue: 14 oldValue 13
    06/11/06 15:44:06 FINE: JGroupHttpSession.endRequest ClusteredHttpSession.endRequest(), accessed=true, modified=true
    06/11/06 15:44:07 FINEST: Manager.reapReplicas reaped 0 replicated sessions
    06/11/06 15:44:07 FINEST: Manager.reapReplicas reaped 0 replicated sessions
    06/11/06 15:44:11 FINE: JGroupHttpSession.beginRequest ClusteredHttpSession.beginRequest()
    06/11/06 15:44:11 FINE: JGroupHttpSession.attributeModified attribteModified -- counter newValue: 15 oldValue 14
    06/11/06 15:44:11 FINE: JGroupHttpSession.endRequest ClusteredHttpSession.endRequest(), accessed=true, modified=true
    06/11/06 15:44:11 FINE: JGroupHttpSession.beginRequest ClusteredHttpSession.beginRequest()
    06/11/06 15:44:11 FINE: JGroupHttpSession.attributeModified attribteModified -- counter newValue: 16 oldValue 15
    06/11/06 15:44:11 FINE: JGroupHttpSession.endRequest ClusteredHttpSession.endRequest(), accessed=true, modified=true
    06/11/06 15:44:11 FINE: JGroupHttpSession.beginRequest ClusteredHttpSession.beginRequest()
    06/11/06 15:44:11 FINE: JGroupHttpSession.attributeModified attribteModified -- counter newValue: 17 oldValue 16
    06/11/06 15:44:11 FINE: JGroupHttpSession.endRequest ClusteredHttpSession.endRequest(), accessed=true, modified=true
    06/11/06 15:44:38 FINEST: Manager.reapReplicas reaped 0 replicated sessions
    06/11/06 15:44:38 FINEST: Manager.reapReplicas reaped 0 replicated sessions
    On the same time, on Server2, i get:
    06/11/06 18:38:50 FINEST: SessionReplica.applyDelta Applied 1 puts and 0 removes
    06/11/06 18:38:50 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:38:50 FINEST: SessionReplica.applyDelta Applying put: counter value: [B@cd75d9
    06/11/06 18:38:50 FINEST: SessionReplica.applyDelta Applied 1 puts and 0 removes
    06/11/06 18:38:51 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:38:51 FINEST: SessionReplica.applyDelta Applying put: counter value: [B@f4388b
    06/11/06 18:38:51 FINEST: SessionReplica.applyDelta Applied 1 puts and 0 removes
    06/11/06 18:38:51 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:38:51 FINEST: SessionReplica.applyDelta Applying put: counter value: [B@1ac5211
    06/11/06 18:38:51 FINEST: SessionReplica.applyDelta Applied 1 puts and 0 removes
    06/11/06 18:38:51 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:38:51 FINEST: SessionReplica.applyDelta Applying put: counter value: [B@4000e7
    06/11/06 18:38:51 FINEST: SessionReplica.applyDelta Applied 1 puts and 0 removes
    06/11/06 18:38:52 FINEST: Manager.reapReplicas reaped 1 replicated sessions
    06/11/06 18:38:52 FINEST: Manager.reapReplicas reaped 0 replicated sessions
    06/11/06 18:39:02 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:39:02 FINEST: SessionReplica$ApplyDelta.applyTo Replicated object no longer exists
    06/11/06 18:39:02 FINEST: SessionReplica$ApplyDelta.applyTo Replicated object no longer exists
    06/11/06 18:39:07 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:39:07 FINEST: SessionReplica$ApplyDelta.applyTo Replicated object no longer exists
    06/11/06 18:39:08 FINEST: AbstractGroup.dispatch dispatching message: ApplyDelta- - 7f00000122b7be6fe46d3b144d7585fda5865557535e
    06/11/06 18:39:08 FINEST: SessionReplica$ApplyDelta.applyTo Replicated object no longer exists
    The message that gives me trouble is " Replicated object no longer exists". I guess that means that this server can no longer find the session with that session id so it can apply the modifications. If my load balancer switches to that, the app no longer sees the session and it creates a new one.
    Why is the session lost? As you can see, the time beetween operations by no means suggests that the session expired.
    Do not be alarmed by the different time on the servers. I will remedy that, and i assure you that they were running at the same time. In the mean time, i will switch to the broadcast method to see how it behaves, although the loosing of the session seems to be connected to another reason.
    Thanks for your answer.
    Message was edited by:
    user540557

  • Issue Invoking 10.1.2 BPEL Process from 10.1.3 Embedded server.

    Hi All,
    I am trying to connect to BPEL 10.1.2 from 10.1.3 embedded server. When I run following
    code in debug it just stays at
    Locator locator = new Locator("default","bpel",jndi); line. It does not give any error message.
    Please help. Let me know if I am doing anything wrong here.
    Thank you.
    Jigar
    package com.sjrwmd.bpel;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.rmi.RemoteException;
    import java.util.Hashtable;
    import java.util.Map;
    import javax.naming.Context;
    public class TestBPEL {
    public TestBPEL() {
    public static void main(String[] args) {
    try{
    Hashtable jndi = null;
    String ssn = "123456789";
    jndi = new Hashtable();
    jndi.put(Context.PROVIDER_URL, "ormi://dell17316/orabpel");
    jndi.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    jndi.put(Context.SECURITY_PRINCIPAL, "admin");
    jndi.put(Context.SECURITY_CREDENTIALS, "welcome");
    //jndi.put("dedicated.connection", "true");
    String xml = "<ssn xmlns=\"http://services.otn.com\">" + ssn + "</ssn>";
    Locator locator = new Locator("default","bpel",jndi);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to collaxa server
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    NormalizedMessage res =
    deliveryService.request ("CreditRatingService", "process", nm);
    Map payload = res.getPayload();
    System.out.println( "BPELProcess CreditRatingService executed!" );
    System.out.println( "Credit Rating is " + payload.get("payload") );
    } catch( com.oracle.bpel.client.ServerException se ){
    se.printStackTrace();
    } catch (RemoteException e) {
    // TODO
    }

    Hi Clemens,
    Do don't have to say sorry. It happens sometime. I have remove patch from 10.1.3 and apply back to 10.1.2.
    This is my obsetenv.bat file
    @REM --------------------------------------------------
    @REM ADJUST THESE VARIABLE TO MATCH YOUR ENVIRONMENT
    @REM --------------------------------------------------
    @REM Where has Orabpel been installed on this machine?
    set OB_HOME=C:\OraBPELPM\integration\orabpel
    @REM Which is app server going to use on this machine?
    set OB_PLATFORM=oc4j_10g
    @REM Is there a classpath that you would like Orabpel to add to it's
    @REM classpath? We recommend that you append any additional directories
    @REM to the environment classpath. For example,
    @REM
    @REM set MY_CLASSES_DIR=%CLASSPATH%
    set MY_CLASSES_DIR=%OB_HOME%\system\classes
    set MY_CLASSPATH=%MY_CLASSES_DIR%
    set PROXY_SET="[HTTP_PROXY_SET]"
    @REM Where has the JDK (supporting 1.4.1 or higher) been installed on
    @REM this machine?
    set JAVA_HOME=C:\OraBPELPM\jdk
    if %PROXY_SET% == "true" goto set_proxy
    set OB_JAVA_PROPERTIES=
    goto end_set_proxy
    :set_proxy
    set OB_JAVA_PROPERTIES="-Dhttp.proxySet=true" "-Dhttp.proxyHost=[HTTP_PROXY_HOST]" "-Dhttp.proxyPort=[HTTP_PROXY_PORT]" "-Dhttp.nonProxyHosts=[HTTP_NON_PROXY_HOSTS]"
    :end_set_proxy
    @REM Where the j2ee applications can be deployed, this environment variable
    @REM is application server dependent. The process developers will use this
    @REM this env. variable to deploy their J2EE applications
    @REM (e.g. .war or .ear files)
    set J2EE_APPLICATIONS=C:\OraBPELPM\integration\orabpel\system\appserver\oc4j\j2ee\home\applications
    @REM --------------------------------------------------
    @REM PLEASE DO NOT UPDATE THE REST OF THIS FILE
    @REM --------------------------------------------------
    @REM Classpath
    set OB_LIB=%OB_HOME%\lib
    @REM List of Orabpel and Orabpel related libraries.
    set BASE_OB_CLASSPATH=%MY_CLASSPATH%;%JAVA_HOME%\lib\tools.jar;%OB_LIB%\orabpel-common.jar;%OB_LIB%\orabpel-thirdparty.jar;%OB_LIB%\orabpel.jar;%OB_LIB%\orabpel-ant.jar;%OB_LIB%\ant-launcher_1.6.2.jar;%OB_LIB%\ant_1.6.2.jar;%OB_LIB%\oracle_http_client.jar;%OB_LIB%\xmlparserv2.jar;%OB_LIB%\olite40.jar;%OB_LIB%\aqapi.jar;%OB_LIB%\orawsdl.jar;%OB_LIB%\bpm-infra.jar;%OB_HOME%\system\services\lib\bpm-services.jar;%OB_LIB%\bipres.jar;%OB_LIB%\bicmn.jar;%OB_LIB%\uix2.jar;%OB_LIB%\share.jar;%OB_LIB%\regexp.jar
    @REM Core java runtime libraries
    set JAVA_CLASSPATH=%JAVA_HOME%\jre\lib\rt.jar
    @REM The Xerces and Xalan libraries need to loaded via the bootclasspath option
    @REM since JDK 1.4 packages an older version of Xalan.
    @REM
    set BOOT_LIBS=%OB_LIB%\orabpel-boot.jar;%OB_LIB%\connector15.jar
    @REM Combined classpath
    set OBDK_CLASSPATH=%JAVA_CLASSPATH%;%BASE_OB_CLASSPATH%;%OB_LIB%\j2ee_1.3.01.jar;
    set OB_CLASSPATH=%BASE_OB_CLASSPATH%
    goto finish
    :finish
    @REM --------------------------------------------------
    @REM END OF FILE
    @REM --------------------------------------------------
    This is my startorabpel.bat
    @echo off
    set ECHO=off
    call "C:\OraBPELPM\integration\orabpel\bin\obsetenv.bat"
    @rem Launch Oracle Lite
    @rem
    @rem start /d "C:\OraBPELPM\integration\orabpel\bin" /min /realtime start_olite.bat
    @rem java -Dorabpel.home=C:\OraBPELPM\integration\orabpel -Doracle.mdb.fastUndeploy=60 -Ddatasource.verbose=true -Djdbc.debug=true -Djms.debug=true -Dtransaction.debug=true -jar oc4j.jar
    set OPTS=-Doracle.mdb.fastUndeploy=60 -Doc4j.userThreads=true %OB_JAVA_PROPERTIES%
    set MEM_ARGS=-Xms512m -Xmx512m -Xmn300m -XX:MaxPermSize=80m
    set JAVA_VM=-server
    cd "C:\OraBPELPM\integration\orabpel\system\appserver\oc4j\j2ee\home"
    "C:\OraBPELPM\jdk\bin\java" -Xbootclasspath/p:"%BOOT_LIBS%" %JAVA_VM% %MEM_ARGS% -Dorabpel.home=C:\OraBPELPM\integration\orabpel %OPTS% -jar oc4j.jar -verbosity 10
    Let me know if you need anything more from me.
    Thanks for your help resolving this.
    Jigar

  • BAD Command Argument Error. 11 writing to Exchange 2007 - Help Please...

    Hi,
    I am writing an IMAP to IMAP mailbox converter. I am testing a UW mailbox that I have approx. 1200 messages in to a MS Exchange 2007 Server. I am performing a javax.mail.Folder destFolder.appendMessages(sourceFolder.getMessages()). I transfer almost half the messages this why when i get the following exception. I have googled and not found any reference to it, nor does the protocol trace look bazaar :
    javax.mail.MessagingException: A4 BAD Command Argument Error. 11;
    nested exception is:
    com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
    at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2337)
    at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1289)
    at edu.yale.its.tp.email.conversion.IMAPConverter.copyMessages(IMAPConverter.java:83)
    at edu.yale.its.tp.email.conversion.IMAPConverter.copyFolder(IMAPConverter.java:75)
    at edu.yale.its.tp.email.conversion.IMAPConverter.convert(IMAPConverter.java:36)
    at edu.yale.its.tp.email.conversion.IMAPConverter.start(IMAPConverter.java:27)
    at edu.yale.its.tp.email.conversion.IMAPConverter.main(IMAPConverter.java:16)
    Caused by: com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
    at com.sun.mail.iap.Protocol.handleResult(Protocol.java:296)
    at com.sun.mail.imap.protocol.IMAPProtocol.appenduid(IMAPProtocol.java:881)
    at com.sun.mail.imap.protocol.IMAPProtocol.append(IMAPProtocol.java:835)
    at com.sun.mail.imap.IMAPFolder$10.doCommand(IMAPFolder.java:1292)
    at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2377)
    at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
    ... 6 more
    Here is the protocol trace...
    0 [main] INFO - start Conversion
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.providers (No such file or directory)
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.address.map (No such file or directory)
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.partialfetch: false
    * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] pantheon-po09.its.yale.edu IMAP4rev1 2002.336 at Fri, 21 Sep 2007 09:34:04 -0400 (EDT)
    IMAP DEBUG: AUTH: PLAIN
    IMAP DEBUG: AUTH: LOGIN
    A0 CAPABILITY
    * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN
    A0 OK CAPABILITY completed
    IMAP DEBUG: AUTH: PLAIN
    IMAP DEBUG: AUTH: LOGIN
    DEBUG: protocolConnect login, host=pantheon-po09.its.yale.edu, user=jjv6, password=<non-null>
    A1 AUTHENTICATE PLAIN
    +
    +*<----REMOVED---->*+
    A1 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User jjv6 authenticated
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.providers (No such file or directory)
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.address.map (No such file or directory)
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.partialfetch: false
    * OK Microsoft Exchange Server 2007 IMAP4 service ready
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    DEBUG: protocolConnect login, host=connect.yale.edu, user=jjv6, password=<non-null>
    A1 LOGIN +*<----Removed---->*+
    A1 OK LOGIN completed.
    A2 LIST "" "Sakai-Dev List"
    * LIST (\HasNoChildren) "/" "Sakai-Dev List"
    A2 OK LIST completed.
    DEBUG: connection available -- size: 1
    A2 EXAMINE "Sakai-Dev List"
    * 1206 EXISTS
    * 2 RECENT
    * OK [UIDVALIDITY 1151671867] UID validity status
    * OK [UIDNEXT 11497] Predicted next UID
    * FLAGS (Junk NonJunk $Label5 $Label1 $Label2 $Label3 $Label4 $MDNSent \Answered \Flagged \Deleted \Draft \Seen)
    * OK [PERMANENTFLAGS ()] Permanent flags
    * OK [UNSEEN 8] first unseen message in /imap/j/jjv6/Sakai-Dev List
    A2 OK [READ-ONLY] EXAMINE completed
    DEBUG: connection available -- size: 1
    A3 SELECT "Sakai-Dev List"
    * 524 EXISTS
    * 0 RECENT
    * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
    * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
    * OK [UIDVALIDITY 13758] UIDVALIDITY value
    * OK [UIDNEXT 525] The next unique identifier value
    A3 OK [READ-WRITE] SELECT completed.
    A3 LIST "" "Sakai-Dev List"
    * LIST (\NoInferiors \UnMarked) "/" "Sakai-Dev List"
    A3 OK LIST completed
    3080 [main] DEBUG - Source Messages : 1206
    3080 [main] DEBUG - Dest Messages : 524
    3080 [main] DEBUG - Copying 1206 Messages
    A4 FETCH 1 (ENVELOPE INTERNALDATE RFC822.SIZE)
    * 1 FETCH (ENVELOPE ("Tue, 21 Aug 2007 13:35:23 -0700 (PDT)" "Re: Sakai portlet problem in uPortal" (("Onur Sirin" NIL "onursirin" "sabanciuniv.edu")) (("Onur Sirin" NIL "onursirin" "sabanciuniv.edu")) (("Onur Sirin" NIL "onursirin" "sabanciuniv.edu")) ((NIL NIL "sakai-dev" "collab.sakaiproject.org")) NIL NIL "<[email protected]>" "<[email protected]>") INTERNALDATE "21-Aug-2007 16:37:20 -0400" RFC822.SIZE 7024)
    A4 OK FETCH completed
    A5 FETCH 1 (BODY[])
    * 1 FETCH (BODY[] {7024}
    Received: from mr4.its.yale.edu (mr4.its.yale.edu [130.132.50.10])
    by pantheon-po09.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbJRC006741
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
    Tue, 21 Aug 2007 16:37:19 -0400
    Received: from paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184])
    by mr4.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbH3b030903;
    Tue, 21 Aug 2007 16:37:18 -0400
    Received: from paploo.uhi.ac.uk (localhost [127.0.0.1])
    by paploo.uhi.ac.uk (Postfix) with ESMTP id 7F70050E80;
    Tue, 21 Aug 2007 20:54:16 +0100 (BST)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Received: from prod.collab.uhi.ac.uk ([194.35.219.182])
    by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 665
    for <[email protected]>;
    Tue, 21 Aug 2007 20:53:07 +0100 (BST)
    Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158])
    by shmi.uhi.ac.uk (Postfix) with ESMTP id 347909F12
    for <[email protected]>; Tue, 21 Aug 2007 21:35:26 +0100 (BST)
    Received: from isper.nabble.com ([192.168.236.156])
    by kuber.nabble.com with esmtp (Exim 4.63)
    (envelope-from <[email protected]>)
    id 1INaRf-0004yq-5U
    for [email protected]; Tue, 21 Aug 2007 13:35:23 -0700
    Date: Tue, 21 Aug 2007 13:35:23 -0700 (PDT)
    From: Onur Sirin <[email protected]>
    To: [email protected]
    Subject: Re: Sakai portlet problem in uPortal
    In-Reply-To: <[email protected]>
    X-Content-Type-Outer-Envelope: text/plain; charset=us-ascii
    X-Nabble-From: [email protected]
    References: <[email protected]> <[email protected]>
    X-Content-Type-Message-Body: text/plain; charset=us-ascii
    Content-Type: text/plain; charset=us-ascii
    X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
    X-Yale-Not-Spam: For more info see: http://www.yale.edu/email/spam/content.html
    X-Yale-Spam-Score: (0)
    X-Yale-Filter-Score: 0
    X-Scanned-By: MIMEDefang 2.52 on 130.132.50.10
    Hi Charles,
    I used a portlet you created first but not in trunk. (as sakai-dash.war
    file) This might be older one.
    From catalina.out i get following logs.First, as always i get:
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,279
    SearchBuilder_0_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,285
    SearchBuilder_0_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,460
    SearchBuilder_1_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,466
    SearchBuilder_1_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what it is. !!!
    And then, when i logged into portal, i get the following message:
    SakaiPortalLogin.loginAndCreate id=onursirin pw=plugh-xyzzy sec=plugh-xyzzy
    fn=Onur ln=Sirin [email protected] ip=10.4.3.1
    Site exists...~onursirin
    That's all what i see in catalina.out.
    By the way, we are using Cisco CSS (Content Switch) for Load Balancing
    process.
    Behind CSS, there is apache server and application server installed on two
    servers which mentioned in this page
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    as thin client .
    CSS DNS address = sucourse.sabanciuniv.edu
    App server DNS address = sakws1.sabanciuniv.edu and sakws2.sabanciuniv.edu
    It is enough to type sucourse.sabanciuniv.edu address in web browser.
    Their sakai.properties files are similar. However, there are following
    parameters that i didn't use in my sakai.properties file. May be i should
    use them. !!
    [email protected]
    [email protected]
    [email protected]
    Now, i have changed my connection type by connecting Campus VPN server with
    Checkpoint VPN client, i got my sakai course pages correctly via sakai
    portlet. However, in campus i had same problem today.
    So, like i said, the situation is changing due to unknown reason.
    From portlet, i clicked on any course, i get blank screen with followingaddress in web browser address bar.
    https://sucourse.sabanciuniv.edu/sakai-login-tool/container?sakai.session=02274ca6-fc19-413c-80d9-4332ae4e4499&ticket=ST-5342-bLIfR5lVs29HB1ZAeRrMA3bbmQtVWRJqQ6N-20
    That's all.
    Thank you for your response Charles !
    Regards
    Charles Severance wrote:
    View this message in context: http://www.nabble.com/Sakai-portlet-problem-in-uPortal-tf4304476.html#a12262587
    Sent from the Sakai - Development mailing list archive at Nabble.com.
    This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site.
    You can modify how you receive notifications at My Workspace > Preferences.
    A5 OK FETCH completed
    A6 FETCH 1 (FLAGS)
    * 1 FETCH (FLAGS (\Seen \Deleted NonJunk))
    A6 OK FETCH completed
    A4 APPEND "Sakai-Dev List" (\Deleted \Seen NonJunk) "21-Aug-2007 16:37:20 -0400" {7024+}
    A7 FETCH 1 (BODY[])
    * 1 FETCH (BODY[] {7024}
    Received: from mr4.its.yale.edu (mr4.its.yale.edu [130.132.50.10])
    by pantheon-po09.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbJRC006741
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
    Tue, 21 Aug 2007 16:37:19 -0400
    Received: from paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184])
    by mr4.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbH3b030903;
    Tue, 21 Aug 2007 16:37:18 -0400
    Received: from paploo.uhi.ac.uk (localhost [127.0.0.1])
    by paploo.uhi.ac.uk (Postfix) with ESMTP id 7F70050E80;
    Tue, 21 Aug 2007 20:54:16 +0100 (BST)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Received: from prod.collab.uhi.ac.uk ([194.35.219.182])
    by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 665
    for <[email protected]>;
    Tue, 21 Aug 2007 20:53:07 +0100 (BST)
    Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158])
    by shmi.uhi.ac.uk (Postfix) with ESMTP id 347909F12
    for <[email protected]>; Tue, 21 Aug 2007 21:35:26 +0100 (BST)
    Received: from isper.nabble.com ([192.168.236.156])
    by kuber.nabble.com with esmtp (Exim 4.63)
    (envelope-from <[email protected]>)
    id 1INaRf-0004yq-5U
    for [email protected]; Tue, 21 Aug 2007 13:35:23 -0700
    Date: Tue, 21 Aug 2007 13:35:23 -0700 (PDT)
    From: Onur Sirin <[email protected]>
    To: [email protected]
    Subject: Re: Sakai portlet problem in uPortal
    In-Reply-To: <[email protected]>
    X-Content-Type-Outer-Envelope: text/plain; charset=us-ascii
    X-Nabble-From: [email protected]
    References: <[email protected]> <[email protected]>
    X-Content-Type-Message-Body: text/plain; charset=us-ascii
    Content-Type: text/plain; charset=us-ascii
    X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
    X-Yale-Not-Spam: For more info see: http://www.yale.edu/email/spam/content.html
    X-Yale-Spam-Score: (0)
    X-Yale-Filter-Score: 0
    X-Scanned-By: MIMEDefang 2.52 on 130.132.50.10
    Hi Charles,
    I used a portlet you created first but not in trunk. (as sakai-dash.war
    file) This might be older one.
    From catalina.out i get following logs.First, as always i get:
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,279
    SearchBuilder_0_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,285
    SearchBuilder_0_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,460
    SearchBuilder_1_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,466
    SearchBuilder_1_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what it is. !!!
    And then, when i logged into portal, i get the following message:
    SakaiPortalLogin.loginAndCreate id=onursirin pw=plugh-xyzzy sec=plugh-xyzzy
    fn=Onur ln=Sirin [email protected] ip=10.4.3.1
    Site exists...~onursirin
    That's all what i see in catalina.out.
    By the way, we are using Cisco CSS (Content Switch) for Load Balancing
    process.
    Behind CSS, there is apache server and application server installed on two
    servers which mentioned in this page
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    as thin client .
    CSS DNS address = sucourse.sabanciuniv.edu
    App server DNS address = sakws1.sabanciuniv.edu and sakws2.sabanciuniv.edu
    It is enough to type sucourse.sabanciuniv.edu address in web browser.
    Their sakai.properties files are similar. However, there are following
    parameters that i didn't use in my sakai.properties file. May be i should
    use them. !!
    [email protected]
    [email protected]
    [email protected]
    Now, i have changed my connection type by connecting Campus VPN server with
    Checkpoint VPN client, i got my sakai course pages correctly via sakai
    portlet. However, in campus i had same problem today.
    So, like i said, the situation is changing due to unknown reason.
    From portlet, i clicked on any course, i get blank screen with followingaddress in web browser address bar.
    https://sucourse.sabanciuniv.edu/sakai-login-tool/container?sakai.session=02274ca6-fc19-413c-80d9-4332ae4e4499&ticket=ST-5342-bLIfR5lVs29HB1ZAeRrMA3bbmQtVWRJqQ6N-20
    That's all.
    Thank you for your response Charles !
    Regards
    Charles Severance wrote:
    View this message in context: http://www.nabble.com/Sakai-portlet-problem-in-uPortal-tf4304476.html#a12262587
    Sent from the Sakai - Development mailing list archive at Nabble.com.
    This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site.
    You can modify how you receive notifications at My Workspace > Preferences.
    A7 OK FETCH completed
    Received: from mr4.its.yale.edu (mr4.its.yale.edu [130.132.50.10])
    by pantheon-po09.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbJRC006741
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
    Tue, 21 Aug 2007 16:37:19 -0400
    Received: from paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184])
    by mr4.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbH3b030903;
    Tue, 21 Aug 2007 16:37:18 -0400
    Received: from paploo.uhi.ac.uk (localhost [127.0.0.1])
    by paploo.uhi.ac.uk (Postfix) with ESMTP id 7F70050E80;
    Tue, 21 Aug 2007 20:54:16 +0100 (BST)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Received: from prod.collab.uhi.ac.uk ([194.35.219.182])
    by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 665
    for <[email protected]>;
    Tue, 21 Aug 2007 20:53:07 +0100 (BST)
    Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158])
    by shmi.uhi.ac.uk (Postfix) with ESMTP id 347909F12
    for <[email protected]>; Tue, 21 Aug 2007 21:35:26 +0100 (BST)
    Received: from isper.nabble.com ([192.168.236.156])
    by kuber.nabble.com with esmtp (Exim 4.63)
    (envelope-from <[email protected]>)
    id 1INaRf-0004yq-5U
    for [email protected]; Tue, 21 Aug 2007 13:35:23 -0700
    Date: Tue, 21 Aug 2007 13:35:23 -0700 (PDT)
    From: Onur Sirin <[email protected]>
    To: [email protected]
    Subject: Re: Sakai portlet problem in uPortal
    In-Reply-To: <[email protected]>
    X-Content-Type-Outer-Envelope: text/plain; charset=us-ascii
    X-Nabble-From: [email protected]
    References: <[email protected]> <[email protected]>
    X-Content-Type-Message-Body: text/plain; charset=us-ascii
    Content-Type: text/plain; charset=us-ascii
    X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
    X-Yale-Not-Spam: For more info see: http://www.yale.edu/email/spam/content.html
    X-Yale-Spam-Score: (0)
    X-Yale-Filter-Score: 0
    X-Scanned-By: MIMEDefang 2.52 on 130.132.50.10
    Hi Charles,
    I used a portlet you created first but not in trunk. (as sakai-dash.war
    file) This might be older one.
    From catalina.out i get following logs.First, as always i get:
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,279
    SearchBuilder_0_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,285
    SearchBuilder_0_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,460
    SearchBuilder_1_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,466
    SearchBuilder_1_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what it is. !!!
    And then, when i logged into portal, i get the following message:
    SakaiPortalLogin.loginAndCreate id=onursirin pw=plugh-xyzzy sec=plugh-xyzzy
    fn=Onur ln=Sirin [email protected] ip=10.4.3.1
    Site exists...~onursirin
    That's all what i see in catalina.out.
    By the way, we are using Cisco CSS (Content Switch) for Load Balancing
    process.
    Behind CSS, there is apache server and application server installed on two
    servers which mentioned in this page
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    as thin client .
    CSS DNS address = sucourse.sabanciuniv.edu
    App server DNS address = sakws1.sabanciuniv.edu and sakws2.sabanciuniv.edu
    It is enough to type sucourse.sabanciuniv.edu address in web browser.
    Their sakai.properties files are similar. However, there are following
    parameters that i didn't use in my sakai.properties file. May be i should
    use them. !!
    [email protected]
    [email protected]
    [email protected]
    Now, i have changed my connection type by connecting Campus VPN server

    The command that seems to be causing problems for Exchange is this one:
    A4 APPEND "Sakai-Dev List" (\Deleted \Seen NonJunk) "21-Aug-2007 16:37:20 -0400" {7024+}
    As far as I can see, there's nothing wrong with the syntax of that command.
    My first guess is that Exchange is unhappy with the flags. Possibly
    it refuses to append a message with the \Deleted flag set. If you're
    willing to modify the flags in the source mailbox, I would try turning
    off the DELETED flag. Or, try not copying deleted messages.
    If that doesn't work, the next thing to try is to get rid of all of the
    flags. You might want to copy the message into a local copy
    in order to lose all the flags from the original.

  • Java.sql.SQLException: Statement cache size has not been set

    All,
    I am trying to create a light weight SQL Layer.It uses JDBC to connect to the database via weblogic. When my application tries to connect to the database using JDBC alone (outside of weblogic) everything works fine. But when the application tries to go via weblogic I am able to run the Statement objects successfully but when I try to run PreparedStatements I get the following error:
    java.sql.SQLException: Statement cache size has not been set
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_812_WLStub.prepareStatement(Unknown Source)
    i have checked the StatementCacheSize and it is 10. Is there any other setting that needs to be implemented for this to work? Has anybody seen this error before? Any help will be greatly appreciated.
    Thanks.

    Pooja Bamba wrote:
    I just noticed that I did not copy the jdbc log fully earlier. Here is the log:
    JDBC log stream started at Thu Jun 02 14:57:56 EDT 2005
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@c0a150]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@17dff15]
    SQLException: SQLState(null) vendor code(17095)
    java.sql.SQLException: Statement cache size has not been set
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)Hi. Ok. This is an Oracle driver bug/problem. Please show me the pool's definition
    in the config.xml file. I'll bet you're defining the pool in an unusual way. Typically
    we don't want any driver-level pooling to be involved. It is superfluous to the functionality
    we provide, and can also conflict.
    Joe
         at oracle.jdbc.driver.OracleConnection.prepareCallWithKey(OracleConnection.java:1037)
         at weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_OracleConnection.prepareCallWithKey(Unknown Source)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection.prepareCallWithKey(Unknown Source)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    SQLException: SQLState(null) vendor code(17095)

Maybe you are looking for

  • FILE SENDER ADAPTER -  TO GET A DINAMIC FILE NAME IN THE DIRECTORY

    Hi,      Please help me.      I have to read by a file sender adapter a specific file in the directory that its name is Dyyyymmdd, where yyyymmdd is variable according with the current day:      D      - fixed letter      yymmdd - year,month and day

  • Return Invoice

    Hi, We created return order with ref. to previous invoice and we changed excise duties. with ref. to that we done retun delivery, at the time of creating invoice system is not picking excise duties as per my return order it is picking that duties fro

  • Help opening a CS5.5 AE project in CS6 & CC?

    Hello everybody, Can anybody help me open an AE CS5.5 project in CS 6 and CC? A couple of years ago, I created an After Effect template with CS5.5, which works great in CS5 (thanks to backwards compatibility) and CS5.5 (of course). The problem is tha

  • How to debug the webdynpro application

    Hi , i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON  and also enable debugging of  process also but it is giving error mes

  • How can I revert o 3.6.15 on mac os 10.5 non intel?

    Installed Firefox 4 b4 checking requirements. Mac OS 10.5 with G5 processor not supported. How do I revert to 3.6.15?