Today — Monday, 15 March 2010
|
| DataSource connection problem C.Moreno 00:08:33 |
| | Hello:
I have a problem when I define a DataSource (Oracle JDBC Provider without XA) and I try to assign a user and password in a "Component-managed authentication alias" before defined in "J2EE Connector Architecture (J2C) authentication data entries".
My problem is when I try to do a test connection. The error in the administrative console is:
Test connection failed for data source proves on server nodeagent at node mymachineNode01 with the following exception: java.lang.Exception: java.sql.SQLException: invalid arguments in callDSRA0010E: SQL State = null, Error Code = 17,433. View JVM logs for further details.
And the log file of my nodeagent is the next:
[11/30/05 11:04:42:563 CET] 00006208 DataSourceCon E DSRA8040I: Failed to connect to the DataSource. Encountered "": java.lang.Exception: java.sql.SQLException: invalid arguments in callDSRA0010E: SQL State = null, Error Code = 17,433 at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2227) at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:528) at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code)) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code)) at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code)) at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code)) at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code)) at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code)) at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code)) at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code)) at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code)) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code)) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code)) at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java(Compiled Code)) at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java(Compiled Code)) at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java(Compiled Code)) at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) .
I have been searching information in Internet and I found this error.They said that it is a problem with the JDBC connection because the machine doesn't close the connection correctly and the connection remains open.
The curious is that if I write the user and password as custom properties the connection works fine. Then I supose that the JDBC connection is not the problem.
Anybody has the same problem or know a solution?
Thanks in advance.
c.
|
| | 4 answer | Add comment |
Friday, 12 March 2010
|
Some Views of Picking a Good DVD Making Program xinmama 08:13:21 |
| | Some points of how to select a good DVD making program:
The first point: Compatible with almost all popular video formats.
I bet that nobody want to use a DVD creator which is weak in most video formats or it can not import and convert nothing but MP4, AVI, WMV. With uSeesoft DVD Creator, you won’t have to worry about this for it can import and convert almost all popular video formats like 3GP/3GPP, 3G2/3GP2, MJPEG, AVI, DivX, Xvid, MPG, MPEG(MPEG-1/2), DAT, FLV, MKV(Matroska), QuickTime(MOV,QT), MP4, M4V, WMV, ASF, MPEG-4 AVC, DVR-MS, H.263, H.264, X.264. It will probably meet your need converting and burning videos to DVD.
The second point: Concise and fresh interface. You know how irritating it occurs to you when you want to make a playable DVD disc with a complicated-interface software. So for a freshman making DVD disc or DVD files, a DVD creator with a understandable, easy and concise interface is quite important.uSeesoft DVD Creator is just the right choice for you to choose.
With a simple, concise and fresh interface, you can easily start to make your own DVD with the DVD Creator. The main interface contains four functional tags including ‘Source’,’Menu’,’Preview’,’Burn’. These tags clearly show you the steps of making a good and professional DVD. First you need to import source files to make titles which are needed to built the main part of DVD. Second you will need to make a DVD menu to make your DVD look more professional and nicer(Also, you may ignore this step if you need no menu for your DVD and want to burn to DVD disc directly). After you’ve made necessary settings for your DVD, you can watch the slideshow of how your DVD will be in the ‘Preview’tag. If you have checked all the steps and made sure there is nothing to be modified, you can skip to the last tag ‘Burn’ to make DVD. So how easy and convenient a concise and fresh interface is for you to make DVD.
The last point: Powerful for you to customize your DVD. It is rather boring that some DVD creator wouldn’t allow you to import your own favorite images or music to make background image or background soundtrack. You can only use the horrible preset images or music for your DVD menu. But this DVD Creator will help you customize your DVD menu! You can import your own images to make your own beautiful background for DVD menu and add music of your own taste into the creator to make background soundtrack. Also, if you are kind of the lazy who want to make a quick DVD menu, you are welcome to use the preset images and music in the creator.
Besides create your own pretty DVD menu, you can easily edit your files by cropping your files for best screen size or cut off black edges, trimming your files to get rid of the worst parts of your files, changing the effects of your files and adding text or image watermark into your files.
Download to have a try here :http://www.useesoft.com/dvd-burning-tool/dvd-creator.html |
| | Add comment |
Wednesday, 10 March 2010
|
| intial context problem Guest 12:39:34 |
| | i m very new to websphere i m using websphere 6 and rational application developer6, i have deployed my simple staless ejb bean on websphere and i m calling from the standalone application from the RAD, this is my client code, i m getting error please can any give me the code and what r the jar file and property files should be included?
package ejbs;
import java.util.Properties;
import javax.naming.Context; import javax.naming.InitialContext;
public class Client { public static void main(String str[]) { try { Properties props = System.getProperties(); System.out.println("props"+props.toString()); System.out.print("1"); props.put (Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory"); System.out.print("2"); props.put(Context.PROVIDER_URL,"iiop://localhost:2809"); System.out.print("3"); Context context = new InitialContext(props); System.out.print("4"); MyFirstHome myhome =(MyFirstHome)context.lookup("ejb/ejbs/MyFirstHome"); MyFirst myremote=myhome.create(); String s=myremote.getMSG("from client side"); System.out.print("the total string" +s); } catch (Exception e) { e.printStackTrace(); }
}
}
// and the error is May 30, 2005 3:47:53 PM com.ibm.ws.naming.util.CommonHelpers WARNING: jndiproviderProperties May 30, 2005 3:47:54 PM com.ibm.ws.naming.util.CommonHelpers WARNING: jndiproviderProperties May 30, 2005 3:47:54 PM com.ibm.websphere.naming.WsnInitialContextFactory WARNING: noInitCtxFactoryImpl
|
| | 4 answer | Add comment |
Thursday, 4 March 2010
|
| [WAS6] ClassCastException when running debug service... Guest 15:14:23 |
| | All,
I am getting the following exception when running our application with the debug service enabled: Caused by: java.lang.ClassCastException: com.ibm.debug.xdi.jaxp.xalan.interpreted.DebugTransformerFactory at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) ...
The error is coming from inside an Apache Cocoon 2.1.5 installation running on a JDK1.4.2 VM on Red Hat Enterprise. I presume that the error is caused by WAS substituting a JAXP TransformerFactory with is somehow assignment incompatible with the version of the JAXP interfaces that Cocoon are using.
Any ideas on how to work around this?
Thanks, -M
|
| | 2 answer | Add comment |
Wednesday, 3 March 2010
|
| WSADMIN - Find contextroot of an installed war Enrico_gf 17:53:04 |
| | Hi all, I have to update some applications (packaged in war files) including the version in the appname. To do so I will unistall and reinstall the app with the new name and the "old" parameter like the "contextroot". How to get the "contextroot" of an installed application with wsadmin ?
Thank you in advance,
Enrico_gf
|
| | 13 answers | Add comment |
|
| javax.xml.parsers.FactoryConfigurationError: Provider null could not be instantiated: java.lang.Null Guest 13:18:12 |
| | Hi,
I am facing the following issue when I try to Start my application in Websphere Application Server 5.1
Any pointers on this will be much appriciated.
log4j:WARN Please initialize the log4j system properly. [3/20/06 12:33:30:945 IST] 3e3e2c26 SystemErr R javax.xml.parsers.FactoryConfigurationError: Provider null could not be instantiated: java.lang.NullPointerException [3/20/06 12:33:30:945 IST] 3e3e2c26 SystemErr R at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source) [3/20/06 12:33:30:945 IST] 3e3e2c26 SystemErr R at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:121) [3/20/06 12:33:30:955 IST] 3e3e2c26 SystemErr R at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:99)
|
| | 1 answer | Add comment |
|
| QBPro.ver 5.00: Restoring problem Alvin.G 11:41:00 |
| | Hi! After much considerations, I have finally decided to upgrade to Win.XP service pack 2. But now when I am attempting to restore my QBPro.backups
I keep getting the
" Application Error: QBW caused a general protection Fault in module QBWPR.DLL at 0001:06E6 Choose close: QBW will close".
As I recall there are many times, I have restore bkups with Win.98SE. There is never a problem.
Anybody can help me? Thank -you in advance. Eric.s
|
| | 1 answer | Add comment |
Monday, 1 March 2010
|
| Unable to find rsadapter.jar Amit Jindal 02:07:08 |
| | Hi,
I am trying out the Sample Program to "Test a connection to a data source" in the websphere Information center. This program has an import statement "import com.ibm.websphere.rsadapter.DSPropertyEntry". I have checked all the jars given in the folder WAS_HOME\lib, but not able to find any jar that contains this file.
I can see a rsadapter.rar but it also doesn't contains this file. It contains a HowTo.html that says that rsadapter .jar is part of this rar, but its not.
Where can we find this file? I am using WBISF 5.1.1.
Regards Amit
|
| | 1 answer | Add comment |
Monday, 22 February 2010
|
| Re: QB Pro Timer 2006 Run-time error'6' Overflow Gc 22:01:26 |
| | After 2 hours withTech Support we discoved the Timer program installed from the CD is old. The latest version 6 is available on the internet but difficult to find. I installed this latest version & had the same error.
They finally asked me if I was running dual monitors. Ah Ha! Quickbooks Pro Timer does not work with dual monitor set up. Tech support reports Intuit did not anticipate anyone would use Quickbooks Pro timer while using dual monitors.
I am contacting Quickbooks to see when thay will add this to functionality.
Anyone now any other equivelent time loging programs compatible with QB I can try fro now?
Gary
|
| | 1 answer | Add comment |
Sunday, 21 February 2010
|
How to convert protected wma playlist to mp3 terry007 13:42:13 |
| | Music songs downloaded from Windows Media Player are under DRM protection. You can only play it back on the compatible device. In order to enjoy them on incompatible devices, you have to remove the protection mechanism and convert the music files. There is a simple method to remove DRM from WMA within two steps: 1. Burn the protected WMA files to a CD. 2. Rip them off to your computer, then the DRM should be removed from the WMA files. But it's not very convenient and may wear out your CR-ROM. Also, it is a time consuming process if you have a library of music files ready to be converted.
TuneClone is a unique audio converter software. Compared with other audio converter programs, TuneClone converts music files via a virtual CD Driver. All you need to do is burn your playlist to TuneClone's virtual CD drive by using your media player software, such as iTunes, Windows Media Player, RealPlayer, WinAMP, etc. The key step to use TuneClone is to select TuneClone's virtual CD-RW drive as CD burner and then burn your playlist. Your music files will be automatically converted during the burning process.
Below is the detailed tutorial about how to burn WMA playlist to TuneClone's virtual CD drive with Windows Media Player:
Step 1. Download TuneClone from http://www.tuneclone.com and install it.
TuneClone is fully compatible with Windows XP, Vista. A virtual CD Burner will be installed. This virtual CD-RW will be used to convert music files.
Step 2. Set Burn option at Windows Media Player.
Launch Windows Media Player and click Burn button in the main window to enable the burning function of Windows Media Player. From the drop-down list, please tick Burn option if it is currently unchecked.
Step 3. Select the TuneClone's Virtual CD Burner.
Click the Next Drive button to select TuneClone's Virtual CD Burner.
Step 4. Start burning.
Drag your music files to the Burn List, and click the Start Burn button to burn the playlist.
After the burning gets started, TuneClone will automatically convert the music file to MP3. You can open the manager screen to show all the converted music files.
The most important step is to choose the cd burner. Then the software can convert the music files automatically. It is exceedingly easy when you want to batch convert lots of files.
Note: Under Windows Vista, Windows Media Player 11 may not able to choose the TuneClone's virtual CD burner. |
| | 11 answers | Add comment |
Tuesday, 9 February 2010
|
| SECJ0369E: Authentication failed when using LTPA. The exception is <null>. V Ratnala 18:19:24 |
| | Hi,
My client is using WAS Version 5.0.2.10.
LTAP is confiured with "Timeout" set to 120 minutes, the users are able to successfully login. It appears such a way that, after 2 hours of each user's successful login , a LTPA exception "SECJ0369E" is being logged to SystemOut.log followed by the exception "SECJ4001E".
Here are the exceptions from SystemOut.log, The corrsponding message string for Exception "SECJ0369E" is always NULL. -----------------------------------------------------------
[1/10/06 16:27:55:924 CST] 10902571 LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. The exception is <null>. [1/10/06 16:27:55:939 CST] 10902571 JaasLoginHelp E SECJ4001E: Login failed for XXXXXXX/default ------------------------------------------------------------------
Any idea why it is happening? Appreciate any help.
-thanks, Vijaya
|
| | 3 answer | Add comment |
|
| QB Startup Error Message Pestilence76 18:17:08 |
| | When I start QB and choose the file I want to open I receive the following message:
"Runtime error! Program: C:/Program Files/Intuit/QuickBooks 2005/qbw32.exe abnormal program termination"
I thought I could repair the installation but QB wants to install Flash 7 and that errors out because I have Flash 9 installed which is required by other software I am using. Thank you for your assistance.
Brian
|
| | 5 answers | Add comment |
Monday, 8 February 2010
|
| Quickpar - force repair if not enough data Unfrostedpoptart 18:16:25 |
| | Hi.
I have a question about quickpar. Sometimes I have a large, downloaded rar/par2 archive that doesn't have enough pieces to fix. What I'd like to do is have quickpar fix what it can, starting with the first rar piece. That way I can run winrar, tell it to keep incomplete files, and at least get most of the original file back.
Can someone tell me how to do this? The repair button is grayed out in quickpar.
Thanks,
David
|
| | 7 answers | Add comment |
Saturday, 23 January 2010
|
| Stresstest reveals exception at AsyncConnectCB.destroy() Sven Vermeulen 11:18:18 |
| | When running stresstests against a cluster, we notice the following exception after several hours:
[6/29/06 5:17:32:497 MEST] 00000017 LogAdapter W DCSV9421W: General networking problem occurred on socket address /10.152.30.26:9353. Exception is java .lang.Exception: AsyncConnectCB.destroy(): Connection establish timeout exeeded 160172, connection: UnicastConnection@2667413, address: 10.152.30.26:9353 | 0, isOutbound: true, isValid: true (false false). at com.ibm.rmm.ptl.tchan.transmitter.AsyncConnectCB.destroy(AsyncConnectCB.java:90) at com.ibm.ws.channel.framework.impl.OutboundVirtualConnectionImpl.destroy(OutboundVirtualConnectionImpl.java:131) at com.ibm.wsspi.channel.base.OutboundConnectorLink.destroy(OutboundConnectorLink.java:58) at com.ibm.ws.tcp.channel.impl.TCPConnLink.destroy(TCPConnLink.java:886) at com.ibm.wsspi.channel.base.OutboundConnectorLink.close(OutboundConnectorLink.java:45) at com.ibm.ws.tcp.channel.impl.TCPConnLink.close(TCPConnLink.java:869) at com.ibm.ws.tcp.channel.impl.TCPConnLink.connectFailed(TCPConnLink.java:470) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptConnectWork(WorkQueueManager.java:919) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:980) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1041) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)
This exception occurs both on the Deployment Manager as on the Node Agent (in the SystemOut). The CPU usage suddenly drops dramatically, the web servers connections take a lot longer (making it reach it maximum allowed connections) and the number of active simultaneous sessions goes down.
I've searched for information about AsyncConnectCB.destroy() or the com.ibm.rmm.ptl.tchan.transmitter package but didn't find anything useful.
The /etc/hosts file is correct, the issue occurred after more than 8 hours of testing and occurred several times ever since (a few dozen times in a couple of hours).
Our system is at 6.0.2.11.
If anyone could shed a light on anything related (like what WebSphere is actually trying to do here) it would be much appreciated.
Wkr, Sven Vermeulen
|
| | 2 answer | Add comment |
Monday, 28 December 2009
|
| Apache FileUpload Problem with Websphere/IBM HTTP v6.1 Michael Brady 13:28:01 |
| | Has anyone experienced problems with the standard Apache FileUpload java class and the new release of IBM HTTP Server (Apache 2.0.47.1-PK25355) & Websphere 6.1 on SuSe 9? Small file uploads work fine, but larger files fail with an eventual socket timeout.
Error in HTTP Websphere Plugin Log: WARNING: mod_was_ap20_http: cb_read_body: Failed to read the full body from the browser. just_read = -1 of the expected 65536 [Sat Jul 1 17:37:43 2006] 0000325e 411efbb0 - WARNING: ws_common: websphereExecute: Error reading post data from client [Sat Jul 1 17:37:43 2006] 0000325e 411efbb0 - DEBUG: lib_stream: destroyStream: Destroying the stream [Sat Jul 1 17:37:43 2006] 0000325e 411efbb0 - DEBUG: lib_rio: rclose: socket 22 closed
Works fine with remote iPlanet Web Server and same plugin.
|
| | 3 answer | Add comment |
Sunday, 27 December 2009
|
| Create second node on websphere 6 ND Guest 10:43:43 |
| | Dear,
We need create second node on WAS6 ND. When i create using Admin console. It show below message. The node name still use serverNode01. It can't auto rename to serverNode02....How can i fix it? ********* Adding node ADMU0001I: Begin federation of node server1Node01 with Deployment Manager at server:8879.
ADMU0009I: Successfully connected to Deployment Manager Server: server61:8879
ADMU0033E: The node serverNode01 already has been added to the cell.
ADMU0027E: An error occurred during federation ADMU0033E: The node serverNode01 already has been added to the cell.; rolling back to original configuration.
ADMU0211I: Error details may be seen in the file: c:\WebSphere\AppServer/profiles/AppSrv01\logs\addNode.log
The add node operation failed. Check the server logs for details. ******
|
| | 4 answer | Add comment |
Sunday, 6 December 2009
|
| unable to install cimatron software... Guest 10:39:58 |
| | unable to install cimatron software.The error that is coming is "Unable to get the licence". |
| | 3 answer | Add comment |
Tuesday, 1 December 2009
|
| SessionContex W SESN0066E: Response is already commited to client.
Session cookie cannot be set. Guest 08:06:06 |
| | Recenly our WAS server is showing the following message in System.Out logs every minute. I never saw these messages earlier.
[6/28/06 22:32:28:212 EDT] 1fc212d SessionContex W SESN0066E: Response is alrea dy commited to client. Session cookie cannot be set.
I have foud the following thread discussing this problem and suggests to apply the patch PQ82389. http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13802478&cat=9&thread=112404&treeDisplayType=threadmode1&forum=266#13802478
Here is my WAS configuration: WebSphere Platform 5.1 [BASE 5.1.1.7 cf70540.03] [ND 5.1.1.7 cf70540.03] [JDK 1. 4.2 1.4.2_04-b05] running with process name PLDProdCell\pld1\QUOTE_Cluste r_Mem1 and process id 29726 Host Operating System is SunOS, version 5.8
Recently our session-timeout value is changed from 30 minutes to 10 minutes. Does this change causes this problem. There were no recent code changes related to user session management.
Please let me know if we need to apply the patch PQ82389 for WAS 5.1. Also if I increase the session time again to 30 minutes, is it going to help us.
Do we need to make any changes at App Server to change session storage: cookies or url redirection.
Many Thanks!!!!
|
| | 2 answer | Add comment |
Wednesday, 11 November 2009
|
Topic awaiting moderation losesound09 03:20:57 |
Tuesday, 10 November 2009
|
Topic awaiting moderation comingstorm 04:19:51 |
Thursday, 29 October 2009
|
| WAS 6.0 - what happened to implfactory.properties Dave_g 09:34:36 |
| | I am migrating an application from WAS 5.1 to WAS 6.0. My EAR deploys propertly and my html clients will run. I am having trouble with a remote java client. When I try to get a user transaction, I get an exception. Buried in the exception message is:
"Invalid Implementation Key, com.ibm.ws.transaction.UtxImpl"
In WAS 5.1 this key was found in implfactory.properties with default entry:
#JTA UserTransaction implementation class com.ibm.ws.transaction.UtxImpl=com.ibm.ws.Transaction.JTA.UserTransactionImpl
I can find implfactory.properties referenced in the the WAS 6.0 documentation so it appears that it is expected that the old way of accessing the property should work.
However there is no implfactory.properties file in the properties directory under my profile or under the appserver home directory.
I even tried copying in the copy from WAS 5.1 but it was not accessed so the mechanism must have changed. If this is correct where is this documented?
Thanks for any help provided!
|
| | 2 answer | Add comment |
|
| AdminApp options in jython script P Lall 07:44:36 |
| | Hi,
I need to write a jython script that installs an application with both the -MapRunAsRolesToUsers and -MapRolesToUsers options together. I can install my app with either otion by itself successflly, but not together. This is because the -MapRunAsRolesToUsers must be passed in as a jython list, while the -MapRolesToUsers only seem to work if they are passed in as a string.
Here is an excerpt from my script:
#THIS WORKS - uses lists
defapp="C:/temp/my.ear"
appOptions=['-appname', appName, '-node', node, '-server', server]
myUserList=[myRole, myUser, myPassword]
myList=[myUserList]
mapRunAsRolesOptions=['-MapRunAsRolesToUsers',myList]
appOptions.extend(mapRunAsRolesOptions)
AdminApp.install(defapp,appOptions)
#THIS WORKS AS WELL - uses strings
options='[-MapRolesToUsers [[' + myRole + ' No Yes ' + anotherUser + ' ""]]]'
AdminApp.install(defapp,options)
#This does not work
appOptions.extend(mapRunAsRolesOptions)
temp=str(appOptions)
options='[-MapRolesToUsers [[' + myRole + ' No Yes ' + anotherUser + ' ""]]]'
temp=temp+options
AdminApp.install(defapp,temp)
I have tried numerous combinations of strings/list to get in an effort to get these options to work seperately. As far as I can tell, MapRunAsRolesToUsers must use list, and MapRolesToUsers must use string
I also tried using AdminApp.install with one option and AdminApp.update for the other, but keep getting sytax errors on the update (it also overwrites what is done during AdminApp.install even if I specify merge options)
Any help anyone could offer would be most appreciated
Thanks a lot
|
| | 3 answer | Add comment |
Wednesday, 21 October 2009
|
| IBM Application Server Crash with JVMCI015:OutOfMemoryError Prashanth 12:42:04 |
| | Hi, I was wondering if you someone can provide some guidance as to the maximum allowable heap size for the IBM JVM when running on Windows Server 2003. Somewhere I heard that the max is 2048 MB and we set the Xmx to this value. But then the server crashed several times with JVMCI015:OutOfMemoryError during our testing. We did some research and found that lowering the heap size to 1536 prevented this problem. What I want to understand exactly is why setting the max heap to 2048 caused WebSphere to crash with JVMCI015:OutOfMemoryError. I understand that lowering the heap is a good thing because it is better for GC to have a smaller heap to clean, but what I need to be able to explain to our customer exactly why changing the max heap from 2048 to 1536 prevents the OutOfMemoryError.
Here is the exception stack trace:
[2/22/06 11:01:20:271 CST] 00000681 SystemErr R java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore threads due to memory or resource constraints at java.lang.Thread.start(Native Method) at com.ibm.ws.util.ThreadPool.addThread(ThreadPool.java:624) at com.ibm.ws.util.ThreadPool$3.run(ThreadPool.java:1086) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Inlined Compiled Code)) at com.ibm.ws.util.ThreadPool.execute(ThreadPool.java(Compiled Code)) at com.ibm.ws.util.ThreadPool.execute(ThreadPool.java(Compiled Code)) at com.ibm.ws.management.event.NotificationDispatcher.sendTrInSeparateThread(NotificationDispatcher.java(Inlined Compiled Code)) at com.ibm.ws.management.event.NotificationDispatcher.sendWarningInSeparateThread(NotificationDispatcher.java(Inlined Compiled Code)) at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Our enviroment : Websphere v6.0.2 Windows 2003 DB2 v8.2
Thanks Prashanth
|
| | 5 answers | Add comment |
Wednesday, 14 October 2009
|
Review Top 5 Mac Video Converters marryis 08:23:52 |
| | More and more video formats come into people’s life. For video conversion third-party software is on market. This article shows five professional video converter for different video formats for Mac users.
Top 1: Video Converter for Mac (Intel Version or Power PC Version)
http://tipard.com/guide/video-converter-for-mac/main.jpg
Video Converter for Mac is one highly recommended total Mac Video Converter, which can convert all video formats to what formats you need with unmatched conversion speed and excellent output quality, like convert AVI, MP4, MPG, MOD, TOD, MOV, MKV, WMV, DivX, XviD, MPEG-1/2, 3GP, 3G2, VOB, MOV, MPV, FLV, and HD videos (HD TS, HD MTS, HD M2TS, HD WMV, etc).
Top 2: HD Video Converter for Mac (Intel Version or Power PC Version)
http://tipard.com/guide/hd-converter-for-mac/main.jpg HD Converter for Mac is a powerful and comprehensive Mac HD Converter and takes the full control over converting HD (High Definition) video to HD video, HD video to SD (Standard Definition ) video, SD video to HD video, SD video to SD video.
Top 3: MTS Converter for Mac (Intel Version or Power PC Version)
http://tipard.com/guide/mts-converter-for-mac/main.jpg
MTS Converter for Mac is designed to be simple and intuitive for Mac users. It owns the solution to convert MTS to AVI, WMV, MP4, 3GP, FLV, MKV, VOB, DV, etc.
Top 4: AVC Converter for Mac (Intel Version or Power PC Version) http://tipard.com/guide/avc-converter-for-mac/main.jpg AVC Converter for Mac can convert 3GP, FLV, MP4, VOB, AVI, WMV, MKV, MOD, TOD, TS, MTS, M2TS etc to H.264/AVC video.
Top 5: TS Converter for Mac (Intel Version or Power PC Version)
http://tipard.com/guide/ts-converter-for-mac/main.jpg
TS Converter for Mac is reliable to convert TS file to AVI/MPG, WMV, FLV, SWF, MOV and all the popular video formats on Mac.
|
| | Add comment |
Wednesday, 7 October 2009
|
| datasource throws java.lang.NoSuchMethodException:com.ibm.ejs.j2c.DefaultSecurityHelper.<init> special Michael 11:27:24 |
| | Websphere 5.1.1.9 on HP-UX 11.11.b RISC I can create and use datasources version 4.
However I need non version 4 data source for 2.0 ejbs, I can create and test one in the admin console, but when the connection pool starts up an error is thrown (below).
an identical setup on a solaris 9 box works fine. and obviously so does my jboss app server.
[3/1/06 11:26:11:822 GMT] dd725b Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow: Context implementation: com.ibm.ws.naming.java.javaURLContextRoot Context method: lookup(Name) Context name: java: Target name: comp/env/GTWDataSource Other data: Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.NoSuchMethodException: com.ibm.ejs.j2c.DefaultSecurityHelper.<init>(javax.resource.spi.ManagedConnectionFactory, com.ibm.ejs.j2c.MCFExtendedProperties)]] at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:952) at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:152) at com.ibm.ws.naming.java.javaURLContextRoot.processBoundObjectForLookup(javaURLContextRoot.java:398) at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1278) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:196) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.ibm.ejs.container.BeanMetaData.doConnectionHandlePerformanceSettings(BeanMetaData.java:3146) at com.ibm.ejs.container.BeanMetaData.completeInitialization(BeanMetaData.java:1509) at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1039) at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:830) at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1575) at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115) at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
[snip]
Caused by: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.NoSuchMethodException: com.ibm.ejs.j2c.DefaultSecurityHelper.<init>(javax.resource.spi.ManagedConnectionFactory, com.ibm.ejs.j2c.MCFExtendedProperties)] at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:952) at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:701) at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1714) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1569) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1482) at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1189) at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:372) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:111) at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221)
[snip]
Caused by: java.lang.NoSuchMethodException: com.ibm.ejs.j2c.DefaultSecurityHelper.<init>(javax.resource.spi.ManagedConnectionFactory, com.ibm.ejs.j2c.MCFExtendedProperties) at java.lang.Class.getConstructor0(Class.java:1963) at java.lang.Class.getConstructor(Class.java:1032) at com.ibm.ejs.j2c.J2CXAResourceFactory.createSecurityHelper(J2CXAResourceFactory.java:1420) at com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntry(J2CXAResourceFactory.java:824) at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1420) at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1208) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:894) ... 43 more
|
| | 3 answer | Add comment |
|