Failed to allocate native stream - Leopard 10.5.4
I've got this little class which runs off the EDT that plays sounds:
private class PlayThread implements ThrowableVoidAction {
public void act( Object o ){
byte tempBuffer[] = new byte[512];
try{
AudioInputStream ain = AudioSystem.getAudioInputStream( Notify.class.getResourceAsStream( (String)o ) );
AudioFormat audioFormat = ain.getFormat();
DataLine.Info info = new DataLine.Info( SourceDataLine.class, audioFormat );
SourceDataLine sDataLine =(SourceDataLine)AudioSystem.getLine( info );
sDataLine.open(audioFormat);
sDataLine.start();
int cnt;
while( (cnt = ain.read( tempBuffer, 0, tempBuffer.length )) != -1 )
if(cnt > 0)
sDataLine.write( tempBuffer, 0, cnt );
sDataLine.drain();
sDataLine.close();
catch (Exception e) {
System.err.println( "[Notify|PlayThread] act : " + e.getMessage() );
}Works great in Linux/Windows XP/Vista, however, on the Apple 10.5.2+ JAva 1.6 build, it unfortunately spits out a "Failed to allocate native stream" in the catch block. Anyone have any ideas as to what the problem might be? Just a bad Apple JRE?
Thanks in advance!
Alex
In addition, a clip as follows fails as well:
import java.io.FileInputStream;
import sun.audio.AudioPlayer;
import sun.audio.AudioStream;
public class Test {
String fileName;
private Test( String s ){
fileName = s;
private void play(){
try{
System.out.println( "About to play stream" );
AudioStream as = new AudioStream( new FileInputStream( fileName ) );
AudioPlayer.player.start( as );
System.out.println( "Stream executed" );
catch( Exception x ){
x.printStackTrace();
public static void main( String [] args ){
Test t = new Test( "sounds/msg.wav" );
t.play();
}It outputs the final "Stream executed", but no sound is ever played..
Similar Messages
-
Appfabric 1.1 server setup on 3 Windows server 2008 R2 machines.
Client windows 7 64 bit.
Because there is no bulkupdate ,we are trying to persist around 4000 objects wrapped in a CLR object.
[Serializable]
public class CacheableCollection<T> : ICacheable, IEnumerable<T>
where T : class, ICacheable
[DataMember]
private Dictionary<string, T> _items;
public IEnumerator<T> GetEnumerator()
return _items.Values.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator()
return _items.Values.GetEnumerator();
[DataMember]
public string CacheKey { get; private set; }
public T this[string cacheKey] { get { return _items[cacheKey]; } }
public CacheableCollection(string cacheKey, T[] items)
if (string.IsNullOrWhiteSpace(cacheKey))
throw new ArgumentNullException("cacheKey", "Cache key not specified.");
if (items == null || items.Length == 0)
throw new ArgumentNullException("items", "Collection items not specified.");
this.CacheKey = cacheKey;
_items = items.ToDictionary(p => p.CacheKey, p => p);
We tried with the following options on server and client
Server:
<advancedProperties>
<partitionStoreConnectionSettings leadHostManagement="false" />
<securityProperties mode="None" protectionLevel="None">
<authorization>
<allow users="[email protected]" />
<allow users="[email protected]" />
</authorization>
</securityProperties>
<transportProperties maxBufferSize="500000000" />
</advancedProperties>
Client:
<transportProperties connectionBufferSize="131072" maxBufferPoolSize="500000000"
maxBufferSize="838860800" maxOutputDelay="2" channelInitializationTimeout="60000"
receiveTimeout="600000"/>
I see different people experiencing different memory size issues. What is the actual memory limit of an object that can be pushed to Appfabric.
Can some one please help ?
Stack trace:
Test method Anz.Cre.Pdc.Bootstrapper.Test.LoaderFuncCAOTest.AppFabPushAndRetrieveData threw exception:
System.InsufficientMemoryException: Failed to allocate a managed memory buffer of 268435456 bytes. The amount of available memory may be low. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
System.Runtime.Fx.AllocateByteArray(Int32 size)
System.Runtime.Fx.AllocateByteArray(Int32 size)
System.Runtime.InternalBufferManager.PooledBufferManager.TakeBuffer(Int32 bufferSize)
System.Runtime.BufferedOutputStream.ToArray(Int32& bufferSize)
System.ServiceModel.Channels.BufferedMessageWriter.WriteMessage(Message message, BufferManager bufferManager, Int32 initialOffset, Int32 maxSizeQuota)
System.ServiceModel.Channels.BinaryMessageEncoderFactory.BinaryMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)
System.ServiceModel.Channels.FramingDuplexSessionChannel.EncodeMessage(Message message)
System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSendCore(Message message, TimeSpan timeout)
System.ServiceModel.Channels.TransportDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)
System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)
Microsoft.ApplicationServer.Caching.WcfClientChannel.SendMessage(EndpointID endpoint, Message message, TimeSpan timeout, WaitCallback callback, Object state, Boolean async)
Microsoft.ApplicationServer.Caching.WcfClientChannel.Send(EndpointID endpoint, Message message, TimeSpan timeout)
Microsoft.ApplicationServer.Caching.WcfClientChannel.Send(EndpointID endpoint, Message message)
Microsoft.ApplicationServer.Caching.DRM.SendRequest(EndpointID address, RequestBody request)
Microsoft.ApplicationServer.Caching.RequestBody.Send()
Microsoft.ApplicationServer.Caching.DRM.SendToDestination(RequestBody request, Boolean recordRequest)
Microsoft.ApplicationServer.Caching.DRM.ProcessRequest(RequestBody request, Boolean recordRequest)
Microsoft.ApplicationServer.Caching.DRM.ProcessRequest(RequestBody request, Object session)
Microsoft.ApplicationServer.Caching.RoutingClient.SendMsgAndWait(RequestBody reqMsg)
Microsoft.ApplicationServer.Caching.DataCache.SendReceive(RequestBody reqMsg)
Microsoft.ApplicationServer.Caching.DataCache.ExecuteAPI(RequestBody reqMsg)
Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region)
Microsoft.ApplicationServer.Caching.DataCache.Put(String key, Object value, String region)
Anz.Cre.Pdc.DataCache.DataCacheAccess.Put[T](String cacheName, String regionName, T value) in C:\SVN\2.3_Drop3\app\Src\Anz.Cre.Pdc.DataCache\DataCacheAccess.cs: line 141
Anz.Cre.Pdc.DataCache.DataCacheAccess.Put[T](String cacheName, String regionName, Boolean flushRegion, T value) in C:\SVN\2.3_Drop3\app\Src\Anz.Cre.Pdc.DataCache\DataCacheAccess.cs: line 372
Anz.Cre.Pdc.Bootstrapper.Test.LoaderFuncCAOTest.AppFabPushAndRetrieveData() in C:\SVN\2.3_Drop3\app\Src\Anz.Cre.Pdc.Bootstrapper.Test\LoaderFuncCAOTest.cs: line 281Essentially what we are trying to do is the following.
we have different kinds of objects in our baseline. Objects of type CAO, Exposures, Limits that change everyday after close of business day.
We wanted to push these different objects in to respective named regions in the cache.
Region Name Objects
CAO ienumerable<caos>
Exposures ienumerable<exposures>
Limits ienumerable<limits>
we have a producer that pushes this data in to the cache and consumers of this data acting on the data when its available.
Now the issue we are facing is when we try to push around 4000 cao objects (roughly in the size of 300MB when serialized using xml) ,we are getting the above error. Increasing the size on the client and cache cluster didnt help.
The other alternative we were thinking about is chunking and pushing because appfabric doesnt support streaming. We might be able to push this data successfuly if we chunk. But how about the consumers ? wouldnt they face the same memory issue when we use
getallobjectsinregion ?
We thought if there was a way to figure out the keys in the region then probably the consumers can get one by one. However there is no such API.
The only option i see is using Appfabric notifications which msdn says isnt a reliable way.
Please help. -
Oracle 11g install failure, error, Failed to allocate port(s)
I'm having a very hard time reinstalling Oracle 11gR1 x64 bit after the hard drive where I first installed it failed and had to be replaced. The database I'm trying to setup is for personal use on this system only. I'm running Windows XP professional 64 bit edition and have .net framework version 1.1.4322.573 installed.
During installation the process hangs at the Database Configuration Assistant stage and will not progress till I manually end the lsnrctl.exe process in taskmanager. During the completing database process at the end I get this error -
SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
My first thoughts were the ports in question were in use or closed but I've been using both netbios and a port monitor program called currports to check and as far as I can tell the ports listed are open and not in use.
I did reconfigure the tnsnames.ora and listener.ora files to include valid port addresses (1521) and I can get the lsnrctl.exe to start manually now but still can't connect to the database using an open SQL command prompt.
I also tried running the emca.bat but still no change. I need help, I'm beating my head against the wall now.
Here are my etc/hosts, etc/services, and emconfig.log files
etc/hosts
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
172.23.153.30 gcihq1emconfig.log
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LOG_FILE value: G:\MainDB\cfgtoollogs\dbca\MainDB\emConfig.log
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: HOST value: gcihq1
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: MainDB
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER value: LISTENER
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER_OH value: G:\MainDB\DBHousing
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: G:\MainDB\DBHousing
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: MainDB
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: MainDB
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: G:\MainDB\DBHousing
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to false
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-backup' set to false
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to false
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig addEMCALogFile
CONFIG: ORACLE_BASE :G:\MainDB
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file G:\MainDB\cfgtoollogs\emca\emca_2010_03_22_17_48_04.log to G:\MainDB\cfgtoollogs\emca\MainDB\emca_2010_03_22_17_48_04.log
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at G:\MainDB\cfgtoollogs\dbca\MainDB\emConfig.log.
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: DBSNMP
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: MainDB
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: MainDB
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: MainDB
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 1536995688
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYSMAN
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: MainDB
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file G:\MainDB\DBHousing\sysman\config\emd.properties to G:\MainDB\DBHousing\sysman\config\emd.properties.emca.tmp
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file G:\MainDB\DBHousing\sysman\config\emd.properties has been copied to G:\MainDB\DBHousing\sysman\config\emd.properties.emca.tmp
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file G:\MainDB\DBHousing\sysman\config\emoms.properties to G:\MainDB\DBHousing\sysman\config\emoms.properties.emca.tmp
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file G:\MainDB\DBHousing\sysman\config\emoms.properties has been copied to G:\MainDB\DBHousing\sysman\config\emoms.properties.emca.tmp
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file G:\MainDB\DBHousing\sysman\emd\targets.xml to G:\MainDB\DBHousing\sysman\emd\targets.xml.emca.tmp
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file G:\MainDB\DBHousing\sysman\emd\targets.xml has been copied to G:\MainDB\DBHousing\sysman\emd\targets.xml.emca.tmp
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: MainDB Host: 172.23.153.30 Node: null OH: G:\MainDB\DBHousing agentHome: null isCentral: false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: MainDB Host: 172.23.153.30 Node: null OH: G:\MainDB\DBHousing isDBC: false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: MainDB Host: 172.23.153.30 Node: null OH: G:\MainDB\DBHousing isDBC: false
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_MainDB.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_MainDB.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_MainDB.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_MainDB.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [G:\MainDB\DBHousing]
Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME G:\MainDB\DBHousing
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from G:\MainDB\DBHousing\oc4j\j2ee\OC4J_DBConsole
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from G:\MainDB\DBHousing\oc4j\j2ee\OC4J_DBConsole
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from G:\MainDB\DBHousing\oc4j\j2ee\OC4J_DBConsole
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from G:\MainDB\DBHousing\sysman\config\emd.properties
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file G:\MainDB\DBHousing\install\staticports.ini
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
Refer to the log file at G:\MainDB\cfgtoollogs\dbca\MainDB\emConfig.log for more details.
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2481)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:744)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:251)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:178)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:221)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:460)
at java.lang.Thread.run(Thread.java:595)
Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
------------------------------------------------------------------------------------------------------------------------------ -
Hi,
I'm attempting to install oracle 10.2.0 on Solaris 10.
When I create a database i get the error:
Failed to allocate port(s) in the specified range(s) for the following process(es): .....
So I look at the logs and there looks like to be some configuration issues but i'm not sure where to start.
I've changed the port from NULL to 1521 in listener.ora.
It worried me that it was set to null.
Ive tried running emca -config -all db ( not sure what central agent home should be set it as /app/oracle/product/10.2.0/Db_1 seemed to accept that)
This gives me the same above error.
Any help is greatly appreciated. Please note im both a novice solaris and oracle user
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /app/oracle/product/10.2.0/Db_1/cfgtoollogs/dbca/test2/emConfig.log.
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: DBSNMP
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 691205234
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYSMAN
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties to /app/oracle/product/10.2.0/Db_1/sysman/config/emd.prop
erties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties has been copied to /app/oracle/product/10.2.0/Db_1/s
ysman/config/emd.properties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.properties to /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.
properties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.properties has been copied to /app/oracle/product/10.2.0/Db_1
/sysman/config/emoms.properties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml to /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml.emca.
tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml has been copied to /app/oracle/product/10.2.0/Db_1/sysman/
emd/targets.xml.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 agentHome: null isCentral: false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 isDBC: false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 isDBC: false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /app/oracle/product/10.2.0/Db_1/oui
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [app/oracle/product/10.2.0/Db_1]
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /app/oracle/product/10.2.0/Db_1
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /app/oracle/product/10.2.0/Db_1/install/staticports.ini
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Contro
l [5500-5519],EM Agent [3938] | [1830-1849]
Refer to the log file at /app/oracle/product/10.2.0/Db_1/cfgtoollogs/dbca/test2/emConfig.log for more details.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [55
40-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2266)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
at java.lang.Thread.run(Thread.java:534)
Also got thie error in another log
Cluster Error Message: PRKH-1010 : Unable to communicate with CRS Servicesthanks mathias,
but i have already done, netstat -na |grep portnumber
but nothing no port in range are set
thanks howevar
regards -
ORA-13193: failed to allocate space for geometry
I am having problems indexing a point layer using Locator in 8.1.6. The errors are:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13200: internal error [ROWID:AAAFs9AADAAAB30AAg] in spatial indexing.
ORA-13206: internal error [] while creating the spatial index
ORA-13193: failed to allocate space for geometry
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 7
ORA-06512: at line 1
ORA-06512: at "MDSYS.GEOCODER_HTTP", line 168
ORA-06512: at line 1
The table has 2 columns:
POSTCODE VARCHAR2(9)
LOCATION MDSYS.SDO_GEOMETRY
I loaded the point data with sqlloader rather than geocoding, so this could be the root of my problem, maybe I've missed something obvious:
POSTCODE
LOCATION(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
AB15 8SA
SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(3858, 8075, NULL), NULL, NULL)
AB15 8SB
SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(3864, 8077, NULL), NULL, NULL)
AB15 8SD
SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(3867, 8083, NULL), NULL, NULL)
I am trying to index using the following command, this is when I got the error:
SQL> execute geocoder_http.setup_locator_index('POSTCODE_POINTS', 'LOCATION');
User_sdo_geom_metadata has some metadata inserted with lat/long dimensions. My data is not in lat/long, so I updated this but still get the same error message.
Is it possible to use locator with data that's not in lat/long format?
Anyone got any ideas?
Thanks.1) If Locator needs lat/long coordinates, can anyone suggest a good route to convert coordinates for example from British National Grid to lat/long?
2) Are there plans for Locator to be able to use data from other coordinate systems like Spatial can? -
Hi, I have setup PowerPivot 2012 for SharePoint, but when I access'PowerPivot Management Dashboard' in Central Admin I get error message 'An error has occured'
Below is the error in the ULS,
Background file fill operation caught exception: System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'proc_FetchChunkFromDocStreams', database 'SharePoint_AdminContent_ca021d58-ef1f-4f30-9aeb-6f24db24862b', schema 'dbo'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader()
at System.Data.SqlClient.SqlCommand.InternalEndExecuteReader(IAsyncResult asyncResult, String endMethod)
at System.Data.SqlClient.SqlCommand.EndExecuteReader(IAsyncResult asyncResult)
at Microsoft.SharePoint.CoordinatedStreamBuffer.AsyncSqlSession.EndExecuteReader(IAsyncResult ar)
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPBackgroundSqlFileFiller.OnReadComplete(IAsyncResult result)
BaseWorkbook.CacheStream: Failed to read from stream. Error was: System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'proc_FetchChunkFromDocStreams', database 'SharePoint_AdminContent_ca021d58-ef1f-4f30-9aeb-6f24db24862b',
schema 'dbo'.
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPBackgroundFileFiller.Fill()
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBuffer.WaitForIntervalFill(SPInterval i)
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedMemoryStream.Read(Byte[] array, Int32 offset, Int32 count)
at Microsoft.SharePoint.SPFileStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbookManager.CacheStream(CachedFile cachedFile, FileLoader loader)
Regards,
Ayaz
SharePoint ArchitectHey Ayaz,
I do had the same error message when I click on "PowerPivot Management Dashboard". After few research I resolved this issue.
You need to provide the dbReader and dbWriter permission to powerpivot app pool account at "SharePoint_AdminContent_ca021d58-ef1f-4f30-9aeb-6f24db24862b"
Have a great day :-)
Santosh sethi -
" Server Error [2009]: Failed to allocate resources for results data" IR Error
Hi,
We recently moved form 9.3.3. to 11.1.2.3 and we run only IR and SQR reports. When we run few IR reports we get the below error.
"Script(x):uncaught exception: Server Error [2009]: Failed to allocate resources for results data."
Any thought on what could be the cause. I changed the DSA setting, HTTP config settings for timeouts. I followed a oracle Knowledge base document to make sure I'm setting the right parameters still it doesn't work.
Any advise will be appreciated.
Thank you.Hi,
Can you please try to increase the timeout settings for workspace and check the issue.
You can refer following KM article for more information :
Hyperion Interactive Reporting (IR) When Processing a BQY in Web Client and iHTML Error: "Server Error [2009] Failed To Allocate Resources To Results Data" [ID 1089121.1]
To try in 11.1.2.x check these settings in workspace :
Please go to Navigate -> Administer -> Reporting and Analysis -> Web Applications -> Right click on RA_FRAMEWORK_LWA and select Properties. A
Window pops up. In that, go to Applications tab and then go to Data Access Servlet. There are two values there
i) Hyperion Intelligence Client Polling Time(seconds) => Set this to zero
ii) DAS Response Timeout => Set this to 3600
Restart the R&A services and WebApp after this change.
Hope this information helps.
regards,
Harish. -
hi everybody
im retrieving all the assets in the system in an internal table and convert it to csv format using the fm SAP_CONVERT_TO_CSV_FORMAT, there are abt 50000 records
when executing the program, im getting an error ' Fails to allocate memory' and the prg is stopped
is there a way i can stop that?hi
you can use this FM for the download as a CVS format.
DATA: m_c_file TYPE string.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = C:\DATA\test.CSV
filetype = 'ASC'
* write_field_separator = 'X'
TABLES
data_tab = itab
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22. -
Emca: Failed to allocate port(s) in the specified range...
Hi,
this is Suse Professional 9.2 and Oracle 10.1.0.3.
When we try to start emca to configure the enterprise manager manually, we get the error message:
SEVERE: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
But those ports are not in use...
Anyone experienced the same thing?
./emca
STARTED EMCA um Thu Mar 17 14:34:24 CET 2005
Geben Sie die folgenden Informationen für die zu konfigurierende Datenbank ein
Listener-Port-Nummer: 1521
Datenbank-SID: fhoracle
Service-Name: fhoracle
E-Mail-Adresse für Benachrichtigung: ff
E-Mail-Gateway für Benachrichtigung: ff
Kennwort für dbsnmp:
Kennwort für sysman:
Kennwort für sys: :
Sie haben die folgenden Einstellungen angegeben
ORACLE_HOME von Datenbank ................ /home/fhserver/product/10.1.0/Db_2
ORACLE_HOME von Enterprise Manager ................ /home/fhserver/product/10.1.0/Db_2
Host-Name von Datenbank ................ linux.site
Listener-Port-Nummer ................ 1521
Datenbank-SID ................ fhoracle
Service-Name ................ fhoracle
E-Mail-Adresse für Benachrichtigung ............... ff
E-Mail-Gateway für Benachrichtigung ............... ff
Möchten Sie fortfahren? [ja/nein]: ja
17.03.2005 14:34:50 oracle.sysman.emcp.EMConfig checkParameters
SCHWERWIEGEND: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden Sie in der Log-Datei
Thanks,
HelmutHi,
I'm joining this thread late as I've just encountered the same problem.
None of the ports specified in the error message are in the etc/services file, and none of them are in use according to netstat either. sysctl.conf and ip_local_port_range are both correct too.
SEVERE: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
Werner Puschitz has something about this on his Suse installation page in the Troubleshooting section (http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml ) , but is does not seem to have got into his Red Hat page:
The problem is that ports listed in /etc/services are discounted.
The workaround is to specify the ports manually, see emca -h.
Use the following options and use the port ranges as specified in the above error message:
emca -RMI_PORT <port> -JMS_PORT <port> -AGENT_PORT <port> -DBCONSOLE_HTTP_PORT <port>
so it may be worth giving that a try. -
Crypto errors CTM ERROR: Failed to allocate x bytes of memory
Hi There.
I am currently getting a strange error when trying to use and crypto services on our ASA 5520 (8.0.3)
Initially I observed that a connected VPN had dropped.
Then when I attempted to use ASDM or SSH I was blocked.
In the end I opened telnet as a test and this was successful. Syslog also shows that traffic is passing as normal.
The only obvious error I can see when observing various debug traces is this;
FW02# CTM: rsa session with no priority allocated @ 0xCF1FBBA0
CTM: Session 0xCF1FBBA0 uses a nlite (Nitrox Lite) as its hardware engine
CTM: rsa context allocated for session 0xCF1FBBA0
CTM: rsa session with no priority allocated @ 0xCE7A5EA8
CTM: Session 0xCE7A5EA8 uses a nlite (Nitrox Lite) as its hardware engine
CTM: rsa context allocated for session 0xCE7A5EA8
CTM: rsa session with no priority allocated @ 0xCEF249D0
CTM: Session 0xCEF249D0 uses a nlite (Nitrox Lite) as its hardware engine
CTM: rsa context allocated for session 0xCEF249D0
CTM: dh session with no priority allocated @ 0xCEF249D0
CTM: Session 0xCEF249D0 uses a nlite (Nitrox Lite) as its hardware engine
CTM: dh context allocated for session 0xCEF249D0
CTM ERROR: Failed to allocate 279 bytes of memory, ctm_nlite_generate_dh_key_pair:183
Has anyone seen anything like this before as I am lost?
MikeThanks for that. It does look like its out of crypto memory...
DMA memory:
Unused memory: 23849516 bytes (30%)
Crypto reserved memory: 20537556 bytes (26%)
Crypto free: 0 bytes ( 0%)
Crypto used: 20537556 bytes (26%)
Block reserved memory: 34669024 bytes (44%)
Block free: 30734752 bytes (39%)
Block used: 3934272 bytes ( 5%)
Used memory: 185120 bytes ( 0%)
Unless there is a way to specifically restart only the crypto engine or clear crypto memory then I guess I am looking at a reload?
Mike -
Using the native Snow Leopard VPN Client
Hello,
The company I work for recently began using ciso anyconnect for vpn connections. Before the switch I was able to use the native snow leopard vpn client to connect to the cisco vpn. I would like to know if this is still possible with cisco anyconnect. Thanks for the help.Actually, we just answered our own question.
The cisco router is an older 2600 now slated with EoL.
Cisco IPSec protocol in the newer current Cisco IOS may not be compatible with OSX 10.6.4
The 2600 IOS is no longer supported, hence older IOS, hence the conflict.
So there ya go ... stay with current Cisco equipment and 10.6.4 native will probably work. 10.6.4 is dead to older Cisco.
Message was edited by: Walter Johnson -
Camera straight to Hardrive Native stream capture suggestions?
Looking for a portable hardrive native stream capture product.
Am using a ;laptop to hard drive with my camera connected but am looking for a hard drive that connects sttraight to my camera that I can use on the fly meaning that I can have in a backpack while I run walk or move in a vehicle
Still lookin...
Thanks for time!
HugoQuickstream and nNovia also.
-
CTX - failed to allocate 28 ports of CTMS
Hi All,
we having issue with allocating CTMS resouces from CTX. if you let me know where I should take a look at it, that would be appreciated?
thanks
Alex2014-10-09 07:57:21.55 spid59 Failed to allocate reserved pages: FAIL_RESERVED_PAGE_ALLOCATION 1
2014-10-09 07:57:21.56 spid59
select @@VERSION
Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
Oct 19 2012 13:38:57
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
Process/System Counts
I seem like a bug and same has been documented in below support article
http://support2.microsoft.com/kb/2769594
You must upgrade current SQL Server 2012 SP1 to
SQL Server 2012 SP2
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Xcode fails to launch on Snow Leopard
If I attempt to launch XCode from the dock (as a standard user), I simply get an error message (see end of his message). The same happens regardless of the way XCode is launched, ie, from Spotlight, from the Applications folder, from the Applications stack. However, if I switch to an administrators account, I can launch XCode successfully but ony if I launch from the dock; Spotlight launch fails with the same message.
I tried to redownload XCode from the App store but the App store version only supports Lion. What can I do about this apart from the obvious upgrade to Lion which I don't want to do just for the sake of XCode and am concerned about corrupting my bootcamp partition which is vital for me. I can't risk the upgrade to Lion if there is even an outside chance of losing my bootcamp partition as I have heard of from various forums.
Although I am an experienced windows developer, this is my first foray into developing for OS-X/iOS platform so I haven't got off to a great start.
Error message is as follows:
Process:
Xcode [18284]
Path:
/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:
com.apple.dt.Xcode
Version:
Build Info:
IDEApplication-990000~36
Code Type:
X86-64 (Native)
Parent Process: launchd [186]
Date/Time:
2012-08-03 19:58:59.516 +0100
OS Version:
Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report:
338200 sec
Crashes Since Last Report:
5
Per-App Crashes Since Last Report: 4
Anonymous UUID:
EA2D2983-5682-43C5-B52D-D4C8D3AAC826
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
Library not loaded: @rpath/DVTFoundation.framework/Versions/A/DVTFoundation
Referenced from: /Applications/Xcode.app/Contents/MacOS/Xcode
Reason: image not found
Binary Images:
0x7fff5fc00000 -
0x7fff5fc3bdef dyld 132.1 (???) <486E6C61-1197-CC7C-2197-82CE505102D7> /usr/lib/dyld
Model: MacBookPro5,2, BootROM MBP52.008E.B05, 2 processors, Intel Core 2 Duo, 2.66 GHz, 8 GB, SMC 1.42f4
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD7500BPKT-75PK4T0, 698.64 GB
Serial ATA Device: MATSHITADVD-R UJ-868
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0x24400000 / 2
USB Device: iPhone, 0x05ac (Apple Inc.), 0x1297, 0x26400000 / 2
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0237, 0x04600000 / 3
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x04500000 / 2
USB Device: SG-Lock USB Key, 0x1547, 0x1000, 0x06200000 / 3
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8217, 0x06110000 / 4Before giving up, make sure you can't download it from the App Store Purchase list. Sign in with the same Apple ID you purchased it with. I purchased Xcode 4 for $5 when I first got a Mac. I updated through the App Store through 4.2 before eventually updating to Lion. You can see Xcode for Snow Leopard still appears in my purchase list. I can't test this because I don't want to mess up my install.
-
Program fails in Krb5LoginModule on Snow Leopard (Mac OS X 10.6)
Hi,
FWIW, I've already file a bug report with Apple for this, but maybe you can help me. We have a program that authenticates against Active Directory using Krb5LoginModule. It's been working for years under Mac OS X, Windows, Linux and FreeBSD, but under Snow Leopard (Mac OS X 10.6), using JRE 1.6.0_15 it fails with the following stack trace:
09:16:36,451 ERROR LoginDialog:225 - Password check failed: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null!
at sun.security.krb5.EncryptionKey.<init>(EncryptionKey.java:214)
at sun.security.krb5.EncryptionKey.acquireSecretKeys(EncryptionKey.java:191)
at sun.security.krb5.EncryptionKey.acquireSecretKeys(EncryptionKey.java:159)
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:665)
at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:542)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at de.unikoeln.rrz.uklanadmin.services.LoginService.checkPassword(LoginService.java:47)I've read the source and found that pre-auth works. Actually that's all we care about, we don't need the keys at all! But this call in Krb5LoginModule fails:
// update keys after pre-auth
encKeys = EncryptionKey.acquireSecretKeys(
password, principal.getSalt());Please refer to http://openradar.appspot.com/radar?id=76405 for more details.Thanks. I'd already set debug=true in the config file (and with map.put in your example). Apple does indeed use /Library/Preferences/edu.mit.Kerberos instead of /etc/krb5.conf. I can see that the settings there are picked up by programs I run in the Terminal, e.g. kinit. I'm not so sure they're picked up by the JDK. I have tried to set permitted_enctypes to just des-cbc-crc, but that didn't seem to have any effect.
As for your code example, the result is exactly the same (as I had expected). krb5.initialize() works fine, but in login(), at exactly the same spot in the source, I get exactly the same stack trace. For reference, it's this block in attemptAuthentication():
669 // We can't get the key from the keytab so prompt
670 if (encKeys == null) {
671 promptForPass(getPasswdFromSharedState);
672
673 encKeys = EncryptionKey.acquireSecretKeys(
674 password, principal.getSalt());
675
676 if (isInitiator) {
677 if (debug)
678 System.out.println("Acquire TGT using AS Exchange");
679 cred = Credentials.acquireTGT(principal,
680 encKeys, password);
681 // update keys after pre-auth
682 encKeys = EncryptionKey.acquireSecretKeys(password,
683 principal.getSalt());
684 }
685 }The call in line 673 succeeds, but the one in line 682 fails. The reason is in this method:
182 public static EncryptionKey[] acquireSecretKeys(char[] password,
183 String salt, boolean pa_exists, int pa_etype, byte[] pa_s2kparams)
184 throws KrbExceptionThere it's this part:
204 EncryptionKey[] encKeys = new EncryptionKey[etypes.length];
205 for (int i = 0; i < etypes.length; i++) {
206 if (EType.isSupported(etypes)) {
207 encKeys[i] = new EncryptionKey(
208 stringToKey(password, salt, pa_s2kparams, etypes[i]),
209 etypes[i], null);
210 }For one of the values in etype[], the stringToKey method returns null. The source code is taken from OpenJDK. It's not available with Sun's JDK, so I haven't been able to step through that part in the debugger.
Edited by: TyrionLannister on Sep 18, 2009 2:21 AM (corrected a few mistakes)
Maybe you are looking for
-
The certificate for this server is invalid skype
I am attempting at access My Account on an iPhone 5, I am getting a message saying the certificate for this server is invalid. You might be connecting to a server that is pretending to be "secure.skype.com" which could put your confidential informat
-
Calling multiple sub-reports based on the values in a column in the main report
All, Say, I have a main report with 4 parameters and 8 columns in it's tablix, there is 1 column in this main report that can have 3 values, say A,B,C. If the user clicks on "A", he will be directed to Subreport A, clicks on "B", he will be directed
-
Hi, My data are displayed on the table in master page using rowIterator over 4 VOs with 3 VLs. I want to do create/edit/delete on the 4th VO. My application is using Struts/BC4J. In Action class, I pass "RowKey" to locate the Row selected by user. (C
-
How to build database driven mobile apps with dreamweaver and phonegap?
Hi all, I'm searching the easiest way to implement a simple database in my app. I can build application with php/mysql in seconds with dreamweaver. But how can I do something similar with dreamweaver cs5.5 and phonegap for mobile apps? I would like t
-
It seems to crash after a period of time and then will keep crashing constantly if I keep trying to open up Firefox. It does the same with Safari. It's a mac running on 10.5.8. Is it possible to download and use older versions of Firefox? Help! Pleas