Could not find the portlet while published to a content area

Hi,
I have created some portlets under a content area which have all
the rights.But while i am trying add those portlets them to a
page them the descriptions of the portlets are showing , not the
link of the protlet . the portlets are working fine in the
content area , but while trying to add those to page only
showing the description of portlet.I am seeking an immediate
help.
thanks
nilotpal

Hi,
I have created some portlets under a content area which have all
the rights.But while i am trying add those portlets them to a
page them the descriptions of the portlets are showing , not the
link of the protlet . the portlets are working fine in the
content area , but while trying to add those to page only
showing the description of portlet.I am seeking an immediate
help.
thanks
nilotpal

Similar Messages

  • "Could not find the main class" Error While installing 11g in windows 7

    Dear All,
    I am getting error message while installing oracle 11g R1(32 bit) on Windows 7(32 bit)
    I have downloaded from oracle website only..
    After Clicking the OUI I am getting the Error Message pop up is "Could not find the main class.Program will exit"
    I don't know what is the reason behind this error .
    what would be the reason for this error..
    Pls help me....
    By
    Muthu

    I think you need to download oracle software again...
    Oracle Universal Installer - Could not find main class

  • TA38607 how do i deactivate call waiting while i could not find the call waiting in the Phone folder

    how do i deactivate call waiting while i could not find the call waiting in the Phone folder

    If you have a CDMA phone, there is no way to deactivate Call Waiting from the phone. You'll need to contact your carrier.

  • Getting the error " [java] Problem invoking WLST - java.lang.RuntimeException: Could not find the OffLine WLST class " while building the O2A 2.1.0 PIP

    Getting the error " [java] Problem invoking WLST - java.lang.RuntimeException: Could not find the OffLine WLST class " while building the O2A 2.1.0 PIP. I am using the Design Studio 4.3.2 for building the O2A 2.1.0 PIP. Please let me know how to resolve this issue. Here I am enclosing the log file .

    We have basically the same issue when we try to create the interpreter using the embedded method..
    I was able to use the interpreter embedded in a java client as long as the weblogic jars were located in a weblogic install if I tried to use them from a maven repository no luck at all...
    All of this worked easily in 9.2 now in 10.3 it seems more error prone and less documented.
    I have seen close to a 100 posts on issues related to this so is there a document which outlines specifics....
    We / I have used weblogic now for almost 10 years and moving from 8.1 to 9.2 was painful and we expected the move from 9.2 to 10.3 not to be soo bad but its proving to be as painful if not more painful than moving to 9.2. We seem to spend a good bit of our time working around issues in the next new release that were not in the previous one..
    Any help would be appreciated I think we will open a support case but even that is more painful...
    Any help would be greatly appreciated..
    PS: We confirmed that all jars in the startweblogic classpath were in the startup. The server we have the embedded wlst instance is a managed server and we are using the component in a war... Are there any restrictions which we are unaware of.
    Error we get is
    1 [ERROR] com.tfn.autex.order.weblogic.QueueMaintenanceUtility.addQueue():217 Error Adding Queue wowsers JNDI Name wowsers Exception: Invocation Target exception while getting the WLSTOffLineScript path

  • [Sloved]A Problem of Could not find the Python.h while install ns-3

    hey, I got a problem when compiling & install ns3
    I was following the tutorial :download ns-3 using mercurial and build with waf,after run this "./waf -d debug --enable-examples --enable-tests configure" I got output with "Could not find the python development headers ".
    I have both python3 and python2 installed,and system path is set to python2,and the Python.h is just there in /usr/include/,I have no idea how to fix it,any one can help me?
    Here's the build log http://paste.kde.org/682700/
    Last edited by wych (2013-02-28 10:21:38)

    teekay wrote:
    From the build log:
    ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-fno-strict-aliasing', '-march=x86-64', '-mtune=generic', '-fstack-protector', '-march=x86-64', '-mtune=generic', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-march=x86-64', '-mtune=generic', '-fstack-protector', '-march=x86-64', '-mtune=generic', '-fstack-protector', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/site-packages"', '-DHAVE_PYEMBED=1', '-D_FORTIFY_SOURCE=2', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '-D_FORTIFY_SOURCE=2', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
    err: In file included from /usr/include/limits.h:26:0,
    from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed/limits.h:169,
    from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed/syslimits.h:7,
    from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed/limits.h:34,
    from /usr/include/python2.7/Python.h:19,
    from ../test.cpp:2:
    /usr/include/features.h:330:4: 错误:#warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
    cc1plus: all warnings being treated as errors
    Try this:
    export CXXFLAGS="-O2"
    or export the full CXXFLAGS from /etc/makepkg.conf
    thank you! It's done!

  • Could not find the Adobe Content Viewer.

    I have CS6 on my machine and when I try to preview a Folio on my desktop I get the prompt: An error occurred while generating folio preview. Could not find the Adobe Content Viewer.
    I have Adobe Air installed. Does anyone have any recommendations for me?
    thank you.
    PS. I also have CS5 installed and I could not generate preview from CS5 either.

    See this article to install it manually:
    http://helpx.adobe.com/digital-publishing-suite/kb/manual-install-content-viewer.html

  • Could not find the Database Engine startup handle.

    Why can't Microsoft make software that "Just Works" any more.
    This is Sooooo frustrating!  I'm a developer.  I want to write database software and I'd like to use SQL Server.  But I can't even get the damn thing to install on a fresh Windows 8.1 installation. 
    MySQL - installs no problem - it just works.
    Oracle - Installs no problem - It just works. 
    I downloaded SQL Server 2012 Express with SP1, ran the Install, took most of the defaults, and I get:
    Install Failed:
    The following error has occurred:
    Could not find the Database Engine startup handle.
    For help, click:
    http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254025
    Of course, clicking on the link takes me to a non existing web page - what else?  Just incompetence everywhere.  This is Microsoft's own operating system yet they can't even get their own database to install while their competitors can.
    How can they let this happen!
    Then I googled the above error message.  - Hundreds of hits and a lot of them are threads in forums and lots of civilians saying "try this try that"  none of which works. Not a single Microsoft Employee to be found in any of the
    discussions or answers.  And this same problem has been happening since 2008! Yet Microsoft can't be bothered to fix it.
    This kind of buggy software shouldn't have made it past Alpha testing.
    Come on Microsoft, you just have to try harder.  I can understand bugs that happen in unusual circumstances, after all I'm a developer too.  But this won't even install on a clean Windows 8.  It's tantamount to releasing a "Hello
    World"  program that crashes on startup!

    Hi Bob,
    If you make sure all your hardware and software requirements are met for installation of SQL Server 2012 on window 8.1 Its highly unlikely you will face issue.I can understand your situation so let me help you.As Kalman pointed can you paste output
    of setup log file which was generated due to failed installation using Kalman's link.
    Did you went thorugh below link
    How to install SQL server on Win 8.1
    Hardware and software requirements for SQL Server 2012
    Please first read above links understand how it works and then proceed
    Regarding startup handle error .AFAIK its because of Account with which you are trying to install SQL server somehow is not able to start it up after installation.Basically a righst issue.Can be different in some cases.Now whenever you install SQL server
    alsway RK on Setup file and select run as administrator.When you reach page window where you need to select startup account for SQL Server please select NT Authority\System( or local system account) .
    Details with steps
    http://social.technet.microsoft.com/wiki/contents/articles/24364.sql-server-troubleshooting-could-not-find-database-engine-startup-handle-error-during-installation.aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Java.lang.RuntimeException: Could not find the OffLine WLST class

    Installation of OIM On weblogic.
    oracle/oim/xellerate/setup/setup.xml:443: The following error occurred while executing this line:
    /oracle/oim/xellerate/setup/weblogic-setup.xml:196: java.lang.RuntimeException: Could not find the OffLine WLST class
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Tried to run this command ./wlst.sh
    shows
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
    PATH=/oracle/weblogic/server/server/bin:/home/oracle/bea/modules/org.apache.ant_1.6.5/bin:/oracle/jdk/jre/bin:/oracle/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/oracle/jdk/bin
    Your environment has been set.
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/oracle/weblogic/server/common/eval/pointbase/lib/pbembedded57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbtools57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbclient57.jar
    Initializing WebLogic Scripting Tool (WLST) ...
    Problem invoking WLST - java.lang.RuntimeException: Could not find the OffLine WLST class

    try Problem invoking WLST - Could not find the OffLine WLST class the last post on this thread, he claims to solve the problem...

  • 'Could not find the requested node error' when guests join the meeting room

    I am working on a program where the owner would allow guests after they knock to enter the meeting room.  Upon acceptance, they would also be permitted to publish/subscribe audio.
    My ' meeting owner' application code is an adaptation of the Knocking Queue example. The 'owner app' code has the following settings in its creation complete.
    // Require that guests must knock.Note that this line changes the setting of your room so that in future anyone guest coming in
    // has to knock.
    cSession.roomManager.guestsHaveToKnock = true;
    //Enable autopromote
    cSession.roomManager.autoPromote =
    true;
    I get an error when the owner logins in first and accepts the guest into the meeting room.
       // Event handler function for displaying the selected Alert button.
                private function alertClickHandler(event:CloseEvent):void {
                 var queue:Array = pendingArray;
                 if ( cSession.userManager.myUserRole == UserRoles.OWNER ) {
          var item:Object = pendingArray.shift();
          trace (item["label"]);
          trace (item["descriptor"].userID);
                   if (event.detail==Alert.OK)
                    //Admit user for chatting
           cSession.roomManager.knockingQueue.acceptUser(item["descriptor"].userID);
           //Allow user to publish audio - supposed to be promoted through room setting
           //audioPub.setUserRole(item.descriptor.userID, UserRoles.PUBLISHER);
          else //if (event.detail==Alert.CANCEL)
           cSession.roomManager.knockingQueue.denyUser(item["descriptor"].userID);
    The 'client' application throws the following error.
    SWF] C:\Documents and Settings\a246216\My Documents\Flex Builder 3\Client Chat Tool\bin-debug\ClientChatTool.swf - 1,572,471 bytes after decompression
    AFCS Beta Build # : 0.92
    requestInfo http://connectnow.acrobat.com/fidelity2/ramr?guk=ZzprOg==&mode=xml&x=0.011843591462820768
    Getting FMS at https://na2.connectnow.acrobat.com/fms?ticket=1468amkp7k35g, attempt #1/3
    result: <fms>
      <origin>fms2.acrobat.com</origin>
      <proto_ports>rtmps:443</proto_ports>
      <retry_attempts>2</retry_attempts>
    </fms>
    #FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 protocols: [object ProtocolPortPair]
    #FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 [attempt 1 of 2] Connecting to 0/0: rtmps://fms2.acrobat.com/cocomo/na2-sdk-825d634c-46ed-4ed3-aa58-7450f0f7e36a/ramr #startProtosConnect#
    #FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 tempNetStatusHandler 0/1,NetConnection.Connect.Success
    #FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 isTunneling? false
    #FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 is using RTMPS? true
    RECEIVED LOGIN AT SESSION
      .user descriptor from server [object]
        .displayName [string]= k
        .userID [string]= GUEST-110858C2-4F16-4FE8-BF2C-D572F915FEC5
        .affiliation [number]= 5
        .role [number]= 5
    RECEIVENODES UserManager
    receiveAllSynchData UserManager
    checkManagerSync:[object UserManager]
    RECEIVENODES FileManager
    receiveAllSynchData FileManager
    checkManagerSync:[object FileManager]
    RECEIVENODES AVManager
    receiveAllSynchData AVManager
    checkManagerSync:[object StreamManager]
    RECEIVENODES RoomManager
    receiveAllSynchData RoomManager
    checkManagerSync:[object RoomManager]
    RECEIVENODES Chat
    receiveAllSynchData Chat
    Error: Could not find the requested node.
    at com.adobe.rtc.sharedModel::CollectionNode/getNodeConfiguration()[C:\work\main\connect\coc omoPlayer10\src\com\adobe\rtc\sharedModel\CollectionNode.as:394]
    at com.adobe.rtc.sharedManagers::StreamManager/getNodeConfiguration()[C:\work\main\connect\c ocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:577]
    at com.adobe.rtc.collaboration::AudioPublisher/onUserRoleChange()[C:\work\main\connect\cocom oPlayer10\src\com\adobe\rtc\collaboration\AudioPublisher.as:1009]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.rtc.sharedManagers::StreamManager/onUserRoleChange()[C:\work\main\connect\cocom oPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:1410]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveCascadingUserRole()[C: \work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedModel\CollectionNode.as:813]
    at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveUserRole()[C:\work\mai n\connect\cocomoPlayer10\src\com\adobe\rtc\messaging\manager\MessageManager.as:715]
    at com.adobe.rtc.session.managers::SessionManagerBase/receiveUserRole()[C:\work\main\connect \cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerBase.as:352]
    The above error is thrown just when the 'guest' is accepted into the meeting room.  The guest has not published anything at this point.
    The chat part is working fine.
    I have tried different ways to resolve this issue but I am not getting anywhere.  I have tried different things.  Your help is appreciated.
    Ram

    It is win 7 64 bit system and same error on Illustrator x86 and x64.

  • Execute jar file: "could not find the main class" program will terminate

    Hey,
    I am new to Java. I have started to make a small java program which supposed to help me at my studies to lean the Dominic Memory System. I have used the latest version of Netbeans 5.5.1 to build my program in. I have two problems which I cannot figure out how to solve, please help me.
    The first problem is that the java script I have made works when I compile it in Netbeans, but when I create a Jar file it does not work. I receive a pop up message in windows ?could not find the main class program will terminate? when I execute the jar file.
    The second problem I have is that I need to compare the strings generated by the "numbers" and "TIP" and if the numbers is not identical the numbers in the ?Center? JPanel should be highlighted as red.
    If anyone would like to clean up the code I would be pleased. I have copied quite a lot from anyone because of my one lack of knowledge.
    * GoListener.java
    * Created on 12. september 2007, 21:48
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package grandmaster;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Vector;
    import java.util.StringTokenizer;
    import java.awt.Color;
    * @author Computer
    public class GoListener implements ActionListener {
    private JTextField viewer;
    private JTextField TIP;
    private JTextField freq;
    private JTextField max_num;
    private Vector numbers;
    public GoListener(JTextField j,JTextField k, JTextField m, JTextField f, Vector n) {
    freq = f;
    max_num = m;
    viewer = j;
    numbers = n;
    TIP = k;
    public void actionPerformed(ActionEvent e){
    int time = Integer.valueOf(max_num.getText());
    int f = Integer.valueOf(freq.getText());
    if (e.getActionCommand() == "GO") {
    for (int i = 0; i< time;++i) {
    int number=0;
    number = (int)Math.floor(100*Math.random());
    while(number>51){
    number = (int)Math.floor(100*Math.random());
    if(number<=9){
    viewer.setText(" "+"0" + String.valueOf(number) + " ");
    } else{
    viewer.setText(" " + String.valueOf(number) + " ");
    viewer.paintImmediately(viewer.getBounds());
    numbers.add(number);
    try {
    Thread.sleep(f*1000);
    } catch (Exception exp) {
    viewer.setText(" XX ");
    viewer.paintImmediately(viewer.getBounds());
    if (e.getActionCommand() == "VIEW") {
    try {
    //int numb = Integer.valueOf( TIP.getText() ).intValue();
    StringTokenizer tokenizer = new StringTokenizer(TIP.getText(), " ");
    String[] split = null;
    int tokenCount = tokenizer.countTokens();
    if (tokenCount > 0) {
    split = new String[tokenCount];
    for (int current = 0; current < tokenCount; current++) {
    split[current] = tokenizer.nextToken();
    viewer.setText(" " + String.valueOf(numbers) + " ");
    // k=numbers(1);
    /*while(c<i){
    String.valueOf(k).equals(split[1]);
    c++;
    TIP.setText(" " + split[2] + " ");
    } catch (Exception exp) {
    try {
    //string testit = numb.toString();
    //String str = "" + numb;
    //viewer.setText(str);
    //viewer.setText(numbers.toString());
    numbers.clear();
    } catch (Exception exp) {
    * Main.java
    * Created on 12. september 2007, 21:07
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package grandmaster;
    import java.util.Vector;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.JButton;
    import java.awt.*;
    import grandmaster.GoListener;
    * @author Computer
    public class Main extends JFrame {
    private JTextField viewer;
    public JTextField TIP;
    // private TextInputPanel TIP;
    private Vector numbers;
    /** Creates a new instance of Main */
    public Main() {
    numbers = new Vector();
    JPanel p = new JPanel(new GridLayout(0,4));
    JButton go = new JButton();
    JButton view_num = new JButton();
    go.setText("Go!");
    go.setVisible(true);
    go.setActionCommand("GO");
    view_num.setText("VIEW");
    view_num.setVisible(true);
    view_num.setActionCommand("VIEW");
    JTextField max_num = new JTextField();
    max_num.setText("5");
    JTextField freq = new JTextField();
    freq.setText("1");
    viewer = new JTextField();
    viewer.setText("XX");
    TIP = new JTextField("");
    p.add(go);
    p.add(max_num);
    p.add(freq);
    p.add(view_num);
    getContentPane().add(p,BorderLayout.NORTH);
    getContentPane().add(viewer,BorderLayout.CENTER);
    getContentPane().add(TIP,BorderLayout.SOUTH);
    setSize(200,200);
    GoListener g = new GoListener(viewer,TIP,max_num, freq, numbers);
    go.addActionListener(g);
    view_num.addActionListener(g);
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    Main window = new Main();
    window.setVisible(true);
    }

    NetBeans questions should be posted to the NB site. It has mailing lists and associated forums.
    This tutorial from the NB site addresses running programs outside of NB
    http://www.netbeans.org/kb/articles/javase-deploy.html
    When you compare objects, use ".equals()" and reserve == for comparing values.

  • Could not find the main class (with every jar)

    This isn't a developer question. I get the error Could not find the main class with every jar I try to open (for example the jar downloaded from https://gjar.dev.java.net/ gives the same problems - and I don't think there is something wrong with that JAR). It isn't a problem with the jar or MANIFEST because the same jar works fine on my laptop. So there is something wrong with my JRE installation, but what?
    I tried to remove and reinstall the JRE 6 Update 18 but that didn't work. When I run the JAR with command line java -jar "file.jar" it works fine, but if I dubbelclick on it I get the error message (and it's irritating me).
    I'm a bit desperate so I hope that someone here can help me ;)
    Thanks in advanced

    hai T.B.M ... Sorry to post here... I know that i posted my question in wrong thread..but i dont have another solution to contact with you.. I had seen your answers which are really excellent and helped to do my project..
    Now i am having very less time to complete my project and i am very new to JMF.. I am not getting output in JMF video capture ..please check the code and guide me where i gone wrong.......please pardon me once again to post here.. Heres my code
    import javax.media.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.media.protocol.*;
    import java.io.*;
    import javax.media.control.StreamWriterControl;
    public class webcam implements ActionListener,ControllerListener
    boolean eomReached = false;
    boolean realized = false;
    JFrame f;
    BorderLayout bd1;
    CaptureDeviceInfo device;
    MediaLocator m1;
    Player player;
    Component videoScreen;
    JButton b1,b2;
    Processor processor;
    DataSource ds=null;
    DataSink fileWriter=null;
    JLabel status=new JLabel("");
    public webcam()
    try
    JFrame f=new JFrame();
    JPanel p =new JPanel();
    JPanel p1=new JPanel();
    device=CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
    m1=device.getLocator();
    System.out.println("1");
    processor.configure();
    processor = Manager.createProcessor(m1);
    processor.setContentDescriptor(new
    FileTypeDescriptor(FileTypeDescriptor.MSVIDEO));
    ds=processor.getDataOutput();
    player.addControllerListener(this);
    MediaLocator dest = new MediaLocator("file://foo.avi");
    fileWriter = Manager.createDataSink(ds, dest);
    fileWriter.open();
    ds.connect();
    ds.start();
    player=Manager.createPlayer(m1);
    player.addControllerListener(this);
    blockingRealize();
    videoScreen=player.getVisualComponent();
    b1=new JButton("START");
    b2=new JButton("STOP");
    bd1=new BorderLayout();
    p.setLayout(bd1);
    p1.add(b1);
    p1.add(b2);
    p.add("South",p1);
    p.add("East",videoScreen);
    f.getContentPane().add(p);
    f.setVisible(true);
    f.setSize(500,500);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    b1.addActionListener(this);
    b2.addActionListener(this);
    catch(Exception e){}
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==b1)
    try{
    processor.start();
    player.start();
    fileWriter.start();
    catch(Exception e1){}
    if(e.getSource()==b2)
    try{
    player.stop();
    processor.stop();
    processor.close();
    fileWriter.close();
    catch(Exception e2){}
    public static void main(String args[])
    webcam obj=new webcam();
    public synchronized void blockingRealize() {
    player.realize();
    while (!realized) {
    try {
    wait();
    } catch (java.lang.InterruptedException e) {
    status.setText("Interrupted while waiting on realize...exiting.");
    System.exit(1);
    public synchronized void controllerUpdate (ControllerEvent event) {
    System.out.println("myPlayer generated "+event.toString());
    if (event instanceof RealizeCompleteEvent) {
    realized = true;
    notify();
    } else if (event instanceof EndOfMediaEvent) {
    eomReached = true;
    }

  • Could not find the main class - Problem with Webservice-Access

    Hello Everybody,
    I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
    I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
    I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
    Now I do this:
    Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
    Head_t service = serviceLocator.getRPCCall();
    RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
    All this works very well.
    Now the Problem:
    Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
    If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
    Could not find the main Class - Program will exit.
    And if i add a throws Declaration to the Methodheader it tells me:
    Fatal Exception Occured - Program will exit
    But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
    All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
    Please Help me.
    Greets,
    Zap

    I am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
    This is my MANIFEST.MF file created under META-INF folder
    Manifest-Version: 1.0
    Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Main-Class: Ui_MainWindow
    When i extracted the app.jar following this i got
    1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
    2. qtjambi-4.4.3_01.jar
    3. qtjambi-win32-msvc2005-4.4.3_01.jar
    4. Ui_MainWindow.class
    Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id ..

  • "An error has occurred: Could not find the document." on opening the BO report

    Hi ,
    On publishing the BO report in Portal, we get the blank screen with warning message as below screenshot and  facing the ""An error has occurred: Could not find the document."" error message when accessing the BO report using open document URL directly in browser instead of portal.
    Link: http://<host>:8080/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ASClVc_yw55L
    We already have many BO reports successfully running in the production environment.
    But for this new report we are getting this error. The difference found in this report is from Infoviewapp the login page appears as below in to which the developer logs in.
    But for the reports coming with error the login page authentication value is changed to "Enterprise". So the system related fields disappear after that and looks like below
    Please let us know the root-cause of this error message. Is this something to do with user authorization in BO system at report level or some config changes related to SAP/Enterprise authentication.
    Multiple posts in SDN related to this error message points to check for user authorizations in BO system. Please provide details on this if this is the case.
    Regards,
    Bhaskar

    Hi ,
    The dropdown is now made visible to the users in the opendocument property as per the suggestion in the below links. The user can choose the authentication type and login into reports after that.
    http://scn.sap.com/thread/3525264
    http://scn.sap.com/thread/1417858
    My question now is after changing the visibility of the authentication true, the SSO doesn't work as before. Is there any way to make the SSO available with this setup ?
    Regards,
    Bhaskar

  • Edge Animate could not find the associated html file

    Hey everybody,
    I made several projects using Edge Animate 1.0, all of them worked perfectly. But now I need to make some changes, and several of them are displaying an error saying that could not find the html file associated with the project, even though the file is right at the same folder. I opened the .an file in a text editor and checked that the HTMLFileName attribute is pointing to the correct file. I'm attaching a print screen of the error.
    If anyone has any idea of what is causing it, and how to solve it, it would be greatly appreciated, as I had no luck in anything I tried to do, and need to edit these files as soon as possible.
    Thanks in advance!

    Have somebody found a solution for this?
    I have the same problem with a little added twist.
    The project is located on Creative Cloud.
    .an file opens form one computer and gives this error message while being opened from another.
    This question is being asked by the community for a while with no solution.
    Could somebody from Adobe read this and post the solution?
    Thanks

  • Could not find the main class. & java.lang.NoClassDefFound error:

    sir / madam
    I am facing problems with j2ksdk1.4.0 beta instalation on my windows 2000 advance server.
    while installing pops up a message saying could not find the main class.
    while using java or javac it says
    Exception in thread main
    java.lang.NoClassDefFound error:
    com/sun/tools/javac/main
    even when double clicking java plugin from the control panel
    I get the Java virtual machine launcher saying could not find the main class.
    I don't have any other java sdk installed.
    And i have my environment variables (classpath, path and java_home) set correctly.
    this same j2sdk1.4.0 version is installed in the windows 98 system and it's working fine.
    Kindly do help me to solve this problem.
    eagerly awaiting for your response.
    Thanking you
    Sajeev Nair
    [email protected]

    you must check with the classpath
    please see that you have not repeated %classpath%
    at the end of the class path like you do in win98.
    similiarly with %path%
    in win2000 it is automatically taken care off.

Maybe you are looking for