Unable to add the Listener class in project .
Hi friends ,
I'm using deploytool of Sun's AppServer 8.2.
I'm not abel to add the Eventlistener class in the project.
In the Help Menu the given following discription to Add the Event Listener call
Web Application WAR File -> Event Listeners tabbed pane
1. Click Add to add an event listener to the Event Listener Classes list.
Locate any event listener classes contained in this WAR file in the drop-down list in the Event Listener Classes pane.
(note:There is no any drop-down list in in the Event Listener Classes pane.)
2. If the event listener class is not in the list, in the General tab, click Edit and to go to the Edit Contents dialog box where the event listener class can be added to the contents of the WAR file. Upon return the event listener class will be in the pull-down list.
(note:But the listener class is present in General tab ,WEB-INF->classes->listeners(In the Contents of the General tab.))
How could i resolved this , i mean how to add Event Listener Classes in project ?
(Same problem while adding error page and filter classes which are also present in the General tab)
Regards,
Sachin Warang.
I suggest using NetBeans IDE 5.5, which integrates easily with various appservers, including Sun Java System Application Server.
-cheng
Similar Messages
-
Hello.
Recently, I Add a New Server Node on Java Central Instance.
And Java Program Upload on Portal, then following error occured.
Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of
handleTopic
Original server node can upload successfully.
But, An error happens in New Additional node.
Please tell me way to resolve the error.
Regards.
Edited by: Masashi Fujita on Dec 24, 2008 5:29 AM
Edited by: Masashi Fujita on Dec 25, 2008 7:20 AMHi Masashi Fujita,
Check this Link for Uploading and Downloading files using Web Dynpro Java.
[Uploading and Downloading Files in Web Dynpro Java|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71]
[Upload Files Using Web Service in Web Dynpro Java Application|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929]
[Uploading and Downloading Files in Web Dynpro Tables|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f]
Thanks & Regards,
Sharma Kvbk. -
We're having troubles opening/viewing our 'prepsmart' project
on our production server. (It works fine in our test environment).
I have tried re-installing RoboEngine 4.0, and successfully
re-generated and re-published the project to the server. However,
when I try to access the project using a url like:
http://<servername>:<port>/RoboAPI.asp?project=prepsmart&context=700,
it displays the message: "Contragulations The RoboEngine has been
successfully created. To get started using RoboEngine, you need to
publish a project. Please see the getting started guide or
deployment manual that corresponds to your authoring tool for more
information. "
I see the same screen if I click on "View Project" within the
RogoEngine Configuration Manager.
When I click the Troubleshoot icon in the Configuration
manager, it lists the following errors:
Unable to load the 'C:\InetPub\robohelp\' project. The
project is invalid.
Project prepsmart cannot be found.
Unable to locate the ' ' window.
Cannot find the list of projects.
If I specify a specific page (i.e.
http://denpiis01:8000/Robo/BIN/Robo.dll?tpc=/robo/projects/prepsmart/Getting_Started.htm),
it displays the help page. So, I
think the web site is configured and working OK.
Any ideas why I can successfully publish the project, but
RoboEngine can't find the project?
Thanks,
GregHello Vipul Kumawat,
I saw a related thread from here:
http://stackoverflow.com/questions/15246449/visual-studio-xaml-designer-not-getting-loaded
Their solution is related to fix corrupt Visual Studio.
So may I clarify the following:
1. What's your Visual Studio version?
2. Have you ever tried to repair Visual Studio from control panel first?
3. Can you reproduce this issue when access any other new projects? For example, Store App, WPF App, or even new simple Windows Phone app? What's the result if you use them?
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I'm unable to add the email address for iMessage, that I was using before iOS 7 to my iPhone, because it says that it is "in use by another device," but I have no other devices. How do I resolve this so I can add this email address to my iPhone to send and recieve iMessages?
Sync your iPhone to iTunes, and see if that does the trick. Also you could try a Soft Reset with no Risk to Data. Holding down both the Sleep button and the Home button until the Apple logo appears and then waiting for the Reset to bring you iPhone back to the lock screen. Are you trying to add the email at Settings>Messages>Send and Receive from (2 Addresses) your iPhone number and your email address?
-
Unable to compile the java class in the SQL PLUS
Hi Team,
I am unable to compile the java class in the SQL PLUS in dev1 and dev2. It is giving the following error.
But the same class get Compiled in the Toad(Tool) without any error and working fine. Could someone help me
What to do for this for your reference ,Attaching the java class file.
“ORA-29536: badly formed source: Encountered "<EOF>" at line 1, column 28.
Was expecting one of:
----------------------Here is the Java class Code.....................
create or replace and compile java source named "XXVM_ZipFileUtil_Ela"
as
import java.math.BigDecimal;
import java.util.zip.Deflater;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import oracle.sql.*;
import oracle.jdbc.*;
import java.sql.*;
import java.io.*;
public class XXVM_ZipFileUtil_Ela
public static oracle.sql.BLOB getZipFile(
oracle.sql.CHAR zipFilePathCHAR, oracle.sql.CHAR zipFileNameCHAR,
int fileBufferSize, int zipFileBufferSize,
boolean deleteZipFile, java.sql.Array fileNames, java.sql.Array fileContents, java.sql.Array fileContentsLength)
throws IllegalArgumentException, FileNotFoundException, IOException, java.sql.SQLException
String zipFilePath = (zipFilePathCHAR == null) ? null : zipFilePathCHAR.stringValue();
String zipFileName = (zipFileNameCHAR == null) ? null : zipFileNameCHAR.stringValue();
String zipPathAndFileName = new String(
new String(zipFilePath == null || zipFilePath == "" ? "/tmp/" : zipFilePath) +
new String(zipFileName == null || zipFileName == "" ? System.currentTimeMillis() + ".zip" : zipFileName));
byte[] buffer = new byte[fileBufferSize == 0 ? 100000000 : fileBufferSize];
try
Connection conn = DriverManager.getConnection("jdbc:default:connection:");
oracle.sql.CLOB[] fileContentsCLOB = (oracle.sql.CLOB[])fileContents.getArray();
String[] fileNamesString = (String[])fileNames.getArray();
BigDecimal[] fileContentsLengthNumber = (BigDecimal[])fileContentsLength.getArray();
ZipOutputStream zipOut = new ZipOutputStream(new FileOutputStream(zipPathAndFileName));
zipOut.setLevel(Deflater.DEFAULT_COMPRESSION);
for (int i = 0; i < fileNamesString.length; i++) {
System.out.println(i);
zipOut.putNextEntry(new ZipEntry(fileNamesString));
InputStream asciiStream = fileContentsCLOB[i].getAsciiStream(1L);
int asciiReadCount = asciiStream.read(buffer,0,fileContentsLengthNumber[i].intValue());
zipOut.write(buffer, 0, fileContentsLengthNumber[i].intValue());
zipOut.closeEntry();
zipOut.close();
byte zipFileContents[] = new byte[zipFileBufferSize == 0 ? 100000000 : zipFileBufferSize];
FileInputStream zipIn = new FileInputStream(zipPathAndFileName);
int byteCount = zipIn.read(zipFileContents);
zipIn.close();
byte returnFileContents[] = new byte[byteCount];
System.arraycopy(zipFileContents,0,returnFileContents,0,byteCount);
String returnFileContentsString = new String(returnFileContents);
if (deleteZipFile)
boolean deletedFile = (new File(zipPathAndFileName)).delete();
oracle.sql.BLOB returnFileContentsBLOB = null;
returnFileContentsBLOB = BLOB.createTemporary(conn, true, BLOB.DURATION_SESSION);
returnFileContentsBLOB.open(BLOB.MODE_READWRITE);
//OutputStream tempBlobWriter = returnFileContentsBLOB.getBinaryOutputStream();
OutputStream tempBlobWriter = returnFileContentsBLOB.setBinaryStream(1);
tempBlobWriter.write(returnFileContents);
tempBlobWriter.flush();
tempBlobWriter.close();
returnFileContentsBLOB.close();
return returnFileContentsBLOB;
catch (IllegalArgumentException ex) {
ex.printStackTrace();
throw ex;
catch (FileNotFoundException ex) {
ex.printStackTrace();
throw ex;
catch (IOException ex)
ex.printStackTrace();
throw ex;
catch (java.sql.SQLException ex)
ex.printStackTrace();
throw ex;860411 wrote:
Hi Team,
I am unable to compile the java class in the SQL PLUS in dev1 and dev2. It is giving the following error.
But the same class get Compiled in the Toad(Tool) without any error and working fine. Could someone help me
What to do for this for your reference ,Attaching the java class file.
“ORA-29536: badly formed source: Encountered "<EOF>" at line 1, column 28.
Was expecting one of:
I believe the error message is clear and self-explanatory.
----------------------Here is the Java class Code.....................
create or replace and compile java source named "XXVM_ZipFileUtil_Ela"
as
import java.math.BigDecimal;
import java.util.zip.Deflater;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import oracle.sql.*;
import oracle.jdbc.*;
import java.sql.*;
import java.io.*;
public class XXVM_ZipFileUtil_Ela
public static oracle.sql.BLOB getZipFile(
oracle.sql.CHAR zipFilePathCHAR, oracle.sql.CHAR zipFileNameCHAR,
int fileBufferSize, int zipFileBufferSize,
boolean deleteZipFile, java.sql.Array fileNames, java.sql.Array fileContents, java.sql.Array fileContentsLength)
throws IllegalArgumentException, FileNotFoundException, IOException, java.sql.SQLException
String zipFilePath = (zipFilePathCHAR == null) ? null : zipFilePathCHAR.stringValue();
String zipFileName = (zipFileNameCHAR == null) ? null : zipFileNameCHAR.stringValue();
String zipPathAndFileName = new String(
new String(zipFilePath == null || zipFilePath == "" ? "/tmp/" : zipFilePath) +
new String(zipFileName == null || zipFileName == "" ? System.currentTimeMillis() + ".zip" : zipFileName));
byte[] buffer = new byte[fileBufferSize == 0 ? 100000000 : fileBufferSize];
try
Connection conn = DriverManager.getConnection("jdbc:default:connection:");
oracle.sql.CLOB[] fileContentsCLOB = (oracle.sql.CLOB[])fileContents.getArray();
String[] fileNamesString = (String[])fileNames.getArray();
BigDecimal[] fileContentsLengthNumber = (BigDecimal[])fileContentsLength.getArray();
ZipOutputStream zipOut = new ZipOutputStream(new FileOutputStream(zipPathAndFileName));
zipOut.setLevel(Deflater.DEFAULT_COMPRESSION);
for (int i = 0; i < fileNamesString.length; i++) {
System.out.println(i);
zipOut.putNextEntry(new ZipEntry(fileNamesString));
InputStream asciiStream = fileContentsCLOB[i].getAsciiStream(1L);
int asciiReadCount = asciiStream.read(buffer,0,fileContentsLengthNumber[i].intValue());
zipOut.write(buffer, 0, fileContentsLengthNumber[i].intValue());
zipOut.closeEntry();
zipOut.close();
byte zipFileContents[] = new byte[zipFileBufferSize == 0 ? 100000000 : zipFileBufferSize];
FileInputStream zipIn = new FileInputStream(zipPathAndFileName);
int byteCount = zipIn.read(zipFileContents);
zipIn.close();
byte returnFileContents[] = new byte[byteCount];
System.arraycopy(zipFileContents,0,returnFileContents,0,byteCount);
String returnFileContentsString = new String(returnFileContents);
if (deleteZipFile)
boolean deletedFile = (new File(zipPathAndFileName)).delete();
oracle.sql.BLOB returnFileContentsBLOB = null;
returnFileContentsBLOB = BLOB.createTemporary(conn, true, BLOB.DURATION_SESSION);
returnFileContentsBLOB.open(BLOB.MODE_READWRITE);
//OutputStream tempBlobWriter = returnFileContentsBLOB.getBinaryOutputStream();
OutputStream tempBlobWriter = returnFileContentsBLOB.setBinaryStream(1);
tempBlobWriter.write(returnFileContents);
tempBlobWriter.flush();
tempBlobWriter.close();
returnFileContentsBLOB.close();
return returnFileContentsBLOB;
catch (IllegalArgumentException ex) {
ex.printStackTrace();
throw ex;
catch (FileNotFoundException ex) {
ex.printStackTrace();
throw ex;
catch (IOException ex)
ex.printStackTrace();
throw ex;
catch (java.sql.SQLException ex)
ex.printStackTrace();
throw ex;
The last two lines above should be
/Srini -
Java Mapping Error - Unable to instantiate the Java class
Hi,
I am trying out a Java Mapping scenario.
The code worked fine in eclipse.i could get the desired output.
but when i tried it out in XI ....i got the following error in moni:
*Unable to instantiate the Java class*
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">CANNOT_INSTANCIATE_CLASS</SAP:Code>
<SAP:P1>JavaMapping</SAP:P1>
<SAP:P2>http://www.sdsdsd.com/XI/Sales/T~</SAP:P2>
<SAP:P3>3bd13b30-6300-11dc-b9f1-f0050aa5c91a</SAP:P3>
<SAP:P4>-1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to instantiate the Java class JavaMapping (http://www.sdsdsd.com/XI/Sales/T~, 3bd13b30-6300-11dc-b9f1-f0050aa5c91a, -1)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please help me out with this error.Hi Anu,
Currently I am also facing the same Unable to instantiate the Java class same java class is working fine in eclipse .
Could you please confirm Is this because of version mismatch that in Eclipse JAVA and SAP JAVA ?
Thanks in Advance.
Best,
Srinivas -
The debugger was unable to redefine the recompiled classes
Hi,
I'm using the Jdeveloper11.1.2 and I'm getting the below error while rebuilding the java file in debug mode after updating my java file.
The debugger was unable to redefine the recompiled classes.
Unsupported operation: schema change.
I tried the Following Way to remove this issue:
1: stop the server
2: close the appliication and remove the classes files and data files from the application.
3: start the weblogic server and stop the running application.
4: clear the drs and temp file and change the directory.
5: restart the system and once again clean the temp files.
6: rebuild all the files and make the jar file but at runtime in debug mode when I rebuild the file once again I'm getting the above error.
please help me out how I can solve this problem.
thanks in advance.
Regards
SanjeevWhen you run the UI in the browser does the change in the Java class show up / work fine ? Then you need not worry about the message technically ;)
Ideally when you see such an option you have probably modified a method signature or added a new method.So you just need to run your UI again from Jdev.
Also check if this helps -
http://rimmidis.blogspot.in/2010/03/hot-deployment-after-compiling-in-your.html -
Unable to change the status of a project to approved
Dear Members,
I am using the Oracle Vision Instance version 12.1.3 and Database 11.2.0.3.0
I have created a project. I am unable to change the status of the project to APPROVED. I am getting the below error:-
Please enter an active project manager for this project in order to change or update this information._
Can any one please help me in resolving this issue.
Many thanks in advance.
Regards.R4S wrote:
Dear Members,
I am using the Oracle Vision Instance version 12.1.3 and Database 11.2.0.3.0
I have created a project. I am unable to change the status of the project to APPROVED. I am getting the below error:-
Please enter an active project manager for this project in order to change or update this information._
Can any one please help me in resolving this issue.
Many thanks in advance.
Regards.Please see these docs.
CMRO Partially Implemented Visit Errors with "Please enter an active project manager for this project in order to change or update this information" [ID 864812.1]
Update_Project Erroring With PA_PR_INSUF_PROJ_MGR While Creating Task For Templates [ID 1085068.1
Thanks,
Hussein -
Server context path in the listener class
Hi, I have a listener class which sends a notification mail. The mail should contain a URL to a page on the server where this listener class is invoked. How can I construct the absolute URL in the lsitener class?
Hi Masashi Fujita,
Check this Link for Uploading and Downloading files using Web Dynpro Java.
[Uploading and Downloading Files in Web Dynpro Java|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71]
[Upload Files Using Web Service in Web Dynpro Java Application|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929]
[Uploading and Downloading Files in Web Dynpro Tables|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f]
Thanks & Regards,
Sharma Kvbk. -
I just detatched a first generation I pad from and old Apple ID and an now unable to add this ipad to my account and of course I cannot download my updates
In iTunes on your computer, select the Purchased section under STORE in the left column. Click on the first track and choose "Get Info" from the "File" menu.
In the "Summary" tab you'll see details of the purchaser of the track. Click Next to go through all your purchased music one by one until you find the ones you need to get rid of.
Unfortunately, there are no smart playlist rules that can filter tracks by the purchaser that I know of. -
Unable to add the Custom Pipeline component in to the Visual Studio Tool Box
I have tried to create the custom Pipeline component to transfer the large message in Receive side,
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
using Microsoft.BizTalk.Message.Interop;
using Microsoft.BizTalk.Component.Interop;
namespace Sample.LargeFilesDecoder
[ComponentCategory(CategoryTypes.CATID_PipelineComponent)]
[ComponentCategory(CategoryTypes.CATID_Encoder)]
[System.Runtime.InteropServices.Guid("25984614-BCFD-4c47-82FC-4A2300B76411")]
public class LargeFilesDecoder : IBaseComponent,
IComponentUI,
IComponent,
IPersistPropertyBag
#region IBaseComponent Members
public string Description
get
return "Pipeline component used to receive Larger Files through SFTP Ports";
public string Name
get
return "LargeFilesDecoder";
public string Version
get
return "1.0.0.0";
#endregion
#region IComponentUI Members
public IntPtr Icon
get
return new System.IntPtr();
public System.Collections.IEnumerator Validate(object projectSystem)
return null;
#endregion
#region IPersistPropertyBag Members
private string _largeFileLocation;
private int _thresholdSize;
public string LargeFileLocation
get { return _largeFileLocation; }
set { _largeFileLocation = value; }
public int ThresholdSize
get { return _thresholdSize; }
set { _thresholdSize = value; }
public void GetClassID(out Guid classID)
classID = new Guid("DBA77DFA-5D3E-4B85-8F78-1D6330B6BCA0");
public void InitNew()
public void Load(IPropertyBag propertyBag, int errorLog)
object val1 = null;
object val2 = null;
try
propertyBag.Read("LargeFileLocation", out val1, 0);
propertyBag.Read("ThresholdSize", out val2, 0);
catch (ArgumentException)
catch (Exception ex)
throw new ApplicationException("Error reading PropertyBag: " + ex.Message);
if (val1 != null)
_largeFileLocation = (string)val1;
if (val2 != null)
_thresholdSize = (int)val2;
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties)
object val1 = (object)_largeFileLocation;
propertyBag.Write("LargeFileLocation", ref val1);
object val2 = (object)_thresholdSize;
propertyBag.Write("ThresholdSize", ref val2);
#endregion
#region IComponent Member
public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
if (_largeFileLocation == null || _largeFileLocation.Length == 0)
_largeFileLocation = Path.GetTempPath();
if (_thresholdSize == null || _thresholdSize == 0)
_thresholdSize = 4096;
if (pInMsg.BodyPart.GetOriginalDataStream().Length > _thresholdSize)
Stream originalStream = pInMsg.BodyPart.GetOriginalDataStream();
string largeFilePath = _largeFileLocation + pInMsg.MessageID.ToString() + ".msg";
FileStream fs = new FileStream(largeFilePath, FileMode.Create);
// Write message to disk
byte[] buffer = new byte[1];
int bytesRead = originalStream.Read(buffer, 0, buffer.Length);
while (bytesRead != 0)
fs.Flush();
fs.Write(buffer, 0, buffer.Length);
bytesRead = originalStream.Read(buffer, 0, buffer.Length);
fs.Flush();
fs.Close();
// Create a small xml file
string xmlInfo = "<MsgInfo xmlns='http://Sample.LargeFilesDecoder'><LargeFilePath>" + largeFilePath + "</LargeFilePath></MsgInfo>";
byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(xmlInfo);
MemoryStream ms = new MemoryStream(byteArray);
pInMsg.BodyPart.Data = ms;
return pInMsg;
#endregion
I have
Added .dll file in to the Global Assembly Cache (use gacutil)
Copied it the Pipeline Components folder (E:\Program Files (x86)\Microsoft BizTalk Server 2013\Pipeline Components)
Everything was successful, when I try to add the component to the Toolbox I get the message like below and cannot find the component in Toolbox.
Tried several times but still getting stuck in the same place. I am using Visual Studio 2013. Any help is greatly appreciated.Do not put the Assembly in the %\Pipeline Components folder. Pipeline Component Assemblies should be in the GAC only.
To correctly deploy a custom Pipeline Component, you can follow the steps in this Wiki Article:
http://social.technet.microsoft.com/wiki/contents/articles/26404.biztalk-deploying-custom-pipeline-components-in-biztalk-server-2006-and-higher.aspx
I have never seen that specific error before. Are you sure you're browsing from the Pipeline Components tab? -
Use PSI to add the LocalCustomField Text1 to Project
Hello.
Iam using the PSI to read and update local CustomFields like Text1, Text2, Flag1, ...
For example I found Text1 by using the GUID 00039b7-8bbe-4ceb-82c4-fa8c0b400033
Everything works fine but Iam not able to add these fields to new Projects. I always get the error: CustomFieldInvalidUid
So I can read and update Text1 but Iam not able to add this field to new Projects.
Isn't it possible with PSI?
Thanks for your help and best regards,
TimoHello,
I would say this is not possible using the PSI as you will need to create that local custom field in the other project which requires Project client. I would recommend using Enterprise Custom fields if you want to use these across projects.
See the remarks here:
http://msdn.microsoft.com/en-US/library/office/microsoft.office.project.server.library.customfield_di_pj14mref
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
the output of the tnsping, lsnrctl and listener services is as follows:
tnsping
TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 11-JAN-2008 10:17:07
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
E:\DevSuiteHome_1\network\admin\sqlnet.ora
listener
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = oracle)))
OK (20 msec)
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 11-JAN-2008 10:17:28
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
Start Date 11-JAN-2008 09:47:01
Uptime 0 days 0 hr. 30 min. 28 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.1.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.1.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
listener service
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 11-JAN-2008 10:39:20
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
Thanks
JoyBy posting just once the same thread issue is enough. It becomes quite difficult to keep track of a duplicated post.
If you think your original thread has not been responded in a timely manner, it is just enough to update it so it bounces back to the top.
~ Madrid -
How can I add the listener to the CellRenderer
My class named NoteColumnRenderer extends DefaultTableCellRenderer
and thhe getTableCellRendererComponent() returns JButton .
My question is how can I add MouseMotionListener to the JButton
or how can I add MouseMotionListener to the NoteColumnRenderer ?
The code below,and there is no effect
public class NoteColumnRenderer extends DefaultTableCellRenderer {
public NoteColumnRenderer(boolean multiSelection) {
super();
System.out.println("b="+this.getListeners(MouseMotionListener.class).length);
this.addMouseMotionListener(new MouseMotionListener(){
public void mouseDragged(MouseEvent e) {
System.out.println("mouse+++++++");
public void mouseMoved(MouseEvent e) {
System.out.println("mouse-------");
m_button.addMouseMotionListener(new MouseMotionListener(){
public void mouseDragged(MouseEvent e) {
// TODO Auto-generated method stub
System.out.println("mouse=====");
public void mouseMoved(MouseEvent e) {
// TODO Auto-generated method stub
System.out.println("mouse=======");
System.out.println("a="+this.getListeners(MouseMotionListener.class).length);
m_multiSelection = multiSelection;
if (m_multiSelection) {
m_check = new JCheckBox();
m_check.setMargin(new Insets(0, 0, 0, 0));
m_check.setHorizontalAlignment(JLabel.CENTER);
} else
m_button.setMargin(new Insets(0, 0, 0, 0));
m_button.setSize(new Dimension(5, 5));
m_combobox = new JComboBox();
} // IDColumnRenderer
/** Mult-Selection flag */
private boolean m_multiSelection;
/** The Single-Selection renderer */
private JButton m_button=new JButton();
/* The Multi-Selection renderer */
private JCheckBox m_check;
private JComboBox m_combobox;
protected void setValue(Object value) {
if (m_multiSelection) {
boolean sel = false;
if (value == null)
else if (value instanceof Boolean)
sel = ((Boolean) value).booleanValue();
else
sel = value.toString().equals("Y");
m_check.setSelected(sel);
else
if (value == null)
else
if(value.toString().length()>10)
m_button.setText(value.toString().substring(0,10)+"...");
else
m_button.setText(value.toString());
m_button.setBackground(Color.WHITE);
public Component getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column) {
setValue(value);
if (m_multiSelection)
return m_check;
else
return m_button;
}Listener can be added to a cell editor, not cell renderer.
Set relevent cess(s) to setEditable == true when you use your custom cell editor. -
Am unable to start the listener, it throws error# TNS-12560 and TNS-00583.
$ lsnrctl start
---------------------------------------------------ERROR MESSAGE----------------------------
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2011 00:01:50
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
TNS-12560: TNS:protocol adapter error
TNS-00583: Valid node checking: unable to parse configuration parameters
Listener failed to start. See the error message(s) above...
am using two database 1)bullet 2)karthy where bullet db is target and karthy is catalog and my LISTENER ENTRY is
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = karthy)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(global_name = karthy)
(SID_DESC =
(SID_NAME = bullet)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(global_name = bullet)
my TNS entry is
tns_bull
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(port=1521))
(CONNECT_DATA =
(server=dedicated)
(service_name=karthy)
kindly correct me where am gone wrong...ksk wrote:
OS cmds
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Listener is connected so their is no error at that tailexcellent point.
using localhost/127.0.0.1 means that no remote client can ever connect to listener/DB
The upside is that your DB like mine can NEVER be hacked across the *NET!
Maybe you are looking for
-
How do I add a -pdf.acsm book to my iPad library?
Help.... After lengthy reading on an independent bookstore site (Powell's in Portland, OR) I purchased and downloaded 2 e-books to my iMac (10.6.8; Intel Core 2 Duo) and then tried to put them into my iTunes library to add to my iPad 2, whose softwar
-
Why does text box info get cut off in certificate
I am using Captivate 7. When a student enters his name and pharmacy license number in the field is is ok, but when it is reproduced in the certificate (and the name also in the "Hello NAME welcome to the program") it cuts off the name if it is too l
-
Layout page shifted in IE 6.0
Please I need some help! My site looks good in all browsers except in IE 6.0. Content of the page is shifted all the way to the bottom.. Have no idea why.. Been trying to figure this out for the last 2 days! Any suggestions are welcomed. Thanks! Link
-
FPN in Portal 7.3 not working
Hello All, FPN in portal 7.3 is not working. Please advice. Errors found in logs - 1. Could not validate SPNEGO token. [EXCEPTION] com.sap.engine.services.security.authentication.umapping.UserMappingNoSuchUserException: No user with account attribute
-
PRINTER FILTER FAILED!!!
I KEEP GETTING THE SAME RESPONE FROM MY PRINTER WHEN I TRY TO PRINT "PRINTER FILTER FAILED"....THIS IS THE MESSAGE I GOT .. HELP ME!!! Process: rastertoDPSE [1964] Path: /Library/Printers/Primera/DPSE.bundle/Contents/MacOS/rastert