Problem to send a message with JMS

Hi
I'm doing some tests with the api JMS to know how works. I have got some problems. I have been looking for some information but i don't find so much. I have got too doubts.
I am usinng Netbeans 5.5 with Sun Java System Application Server Platform Edition 9.0_01 (build b14).
I am trying to do it with ejb. Because in the future the application can have got so many connection in the same time.
The server shows me the next errors.
Starting Sun Java System Application Server Platform Edition 9.0_01 (build b14) ...
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_03] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
ADM0001:MBeanServer initialized successfully
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
sgmt.service_initialized
DPL5400:Exception occurred : error in opening zip file.
ADM1079: Initialization of AMX MBeans successful
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://t1:8686/jmxrmi].  This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
JTS5014: Recoverable JTS instance, serverId = [3700]
About to load the system app: MEjbApp
LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
About to load the system app: __ejb_container_timer_app
EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
NAM0008 : Invalid Destination: jndi/Topic for java:comp/env/jms/Topic
EJB5090: Exception in creating EJB container [javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]]
appId=Chat-ejb moduleName=Chat-ejb ejbName=publicarBean
LDR5004: UnExpected error occured while creating ejb container
javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:485)
        at com.sun.ejb.containers.BaseContainer.setupEnvironment(BaseContainer.java:2628)
        at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:629)
        at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:163)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:515)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
        at com.sun.enterprise.server.EJBModuleLoader.load(EJBModuleLoader.java:158)
        at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206)
        at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:198)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: javax.naming.NameNotFoundException
        at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
        at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
        at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:469)
        ... 17 more
CORE5021: Application NOT loaded: [Chat-ejb]
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]
WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]
WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]
WEB0100: Loading web module [amserver] in virtual server [server] at [/amserver]
Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]
Using MQ RA for Broker lifecycle control
JMS Service Connection URL is :mq://t1:7676/
MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
EB-start:brokerProps={imq.instancename=imqbroker, imq.jmx.rmiregistry.port=8686, BrokerArgs=-port 7676 -name imqbroker -imqhome D:\Sun\AppServer\imq\bin\.. -varhome D:/sun/AppServer/domains/domain1\imq -useRmiRegistry -rmiRegistryPort 8686, imq.jmx.rmiregistry.use=true, imq.portmapper.port=7676}
[07/nov/2007:18:35:03 CET]
================================================================================
Sun Java(tm) System Message Queue 4.0
Sun Microsystems, Inc.
Version:  4.0  (Build 27-a)
Compile:  Thu 03/02/2006
Copyright (c) 2006 Sun Microsystems, Inc.  All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL.  Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.6.0_03 Sun Microsystems Inc. D:\sun\Java\jdk1.6.0_03\jre
[07/nov/2007:18:35:03 CET]    IMQ_HOME=D:\sun\AppServer\imq
[07/nov/2007:18:35:03 CET] IMQ_VARHOME=D:\sun\AppServer\domains\domain1\imq
[07/nov/2007:18:35:03 CET] Windows XP 5.1 x86 t1 (1 cpu) pepepc
[07/nov/2007:18:35:03 CET] Java Heap Size: max=506816k, current=46944k
[07/nov/2007:18:35:03 CET] Arguments: -port 7676 -name imqbroker -imqhome D:\Sun\AppServer\imq\bin\.. -varhome D:/sun/AppServer/domains/domain1\imq -useRmiRegistry -rmiRegistryPort 8686
[07/nov/2007:18:35:04 CET] [B1060]: Loading persistent data...
[07/nov/2007:18:35:04 CET] Using built-in file-based persistent store: D:\sun\AppServer\domains\domain1\imq\instances\imqbroker\
[07/nov/2007:18:35:04 CET] [B1189]: Cluster Service feature is not available
[07/nov/2007:18:35:04 CET] [B1039]: Broker "imqbroker@t1:7676" ready.
MQJMSRA_EB1101: run:EMBEDDED broker started with code =0
MQJMSRA_RA1101: SJSMQ JMS ResourceAdaapter configuration=
        raUID                               =null
        brokerType                          =EMBEDDED
        brokerInstanceName                  =imqbroker
        brokerBindAddress                   =null
        brokerPort                          =7676
        brokerHomeDir                       =D:\Sun\AppServer\imq\bin\..
        brokerVarDir                        =D:/sun/AppServer/domains/domain1\imq
        brokerJavaDir                       =D:/sun/Java/jdk1.6.0_03
        brokerArgs                          =null
        brokerStartTimeout                  =60000
        adminUsername                       =admin
        adminPassFile                       =E:\tempWin\asmq21980.tmp
        useJNDIRmiServiceURL                =true
        rmiRegistryPort                     =8686
        startRmiRegistry                    =false
        useSSLJMXConnector                  =true
        brokerEnableHA                      =false
        clusterId                           =null
        brokerId                            =null
        jmxServiceURL                       =null
        dbType                              =null
        dbProps                             ={}
        dsProps                             ={}
        ConnectionURL                       =
        UserName                            =guest
        ReconnectEnabled                    =true
        ReconnectInterval                   =5000
        ReconnectAttempts                   =3
        AddressListBehavior                 =RANDOM
        AddressListIterations               =3
        InAppClientContainer                =false
        InClusteredContainer                =false
        GroupName                           =null
MQJMSRA_RA1101: start:SJSMQ JMSRA Connection Factory Config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverrideJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=true, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfiguredClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imqJMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http://localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostName=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefaultPassword=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=guest, imqReconnectEnabled=false, imqConnectionFlowCount=100, imqAddressListBehavior=PRIORITY, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimestamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsumerTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueueBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddressList=localhost:7676, imqOverrideJMSHeadersToTemporaryDestinations=false}
MQJMSRA_RA1101: SJSMQ JMSRA Started
endpoint.determine.destinationtype
NAM0008 : Invalid Destination: jndi/Topic for java:comp/env/jms/Topic
EJB5090: Exception in creating EJB container [javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]]
appId=Chat moduleName=Chat-ejb_jar ejbName=publicarBean
LDR5004: UnExpected error occured while creating ejb container
javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:485)
        at com.sun.ejb.containers.BaseContainer.setupEnvironment(BaseContainer.java:2628)
        at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:629)
        at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:163)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:515)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:184)
        at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
        at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206)
        at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: javax.naming.NameNotFoundException
        at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
        at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
        at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:469)
        ... 18 more
Registering ad hoc servlet: WebPathPath: context root = "/Chat", path = "/Chat-app-client'
Java Web Start services started for application com.sun.enterprise.appclient.jws.ApplicationContentOrigin@aabc2d registration name=Chat
    [email protected]56b4 registration name=Chat, context root=/Chat/Chat-app-client, module name=
, parent=Chat
CORE5021: Application NOT loaded: [Chat]
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
JBISE6013: JavaEEServiceEngine : Java EE Service Engine started successfully.
CORE5024: EJB module [Chat-ejb] unloaded successfully!
DeployedItemRef postDeregistration failed. Load Balancer Monitoring MBeans might be lying around if this application is being load balanced
BPEL service engine started
ADM1064:The upload file at [E:\tempWin\s1astempdomain1server-162970426\Chat-ejb.jar] exists and will be overwritten.
ADM1006:Uploading the file to:[E:\tempWin\s1astempdomain1server-162970426\Chat-ejb.jar]
deployed with moduleid = Chat-ejb
ADM1041:Sent the event to instance:[ModuleDeployEvent -- enable ejb/Chat-ejb]
endpoint.determine.destinationtype
NAM0008 : Invalid Destination: jndi/Topic for java:comp/env/jms/Topic
EJB5090: Exception in creating EJB container [javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]]
appId=Chat-ejb moduleName=D__sun_AppServer_domains_domain1_applications_j2ee-modules_Chat-ejb ejbName=publicarBean
LDR5004: UnExpected error occured while creating ejb container
javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:485)
        at com.sun.ejb.containers.BaseContainer.setupEnvironment(BaseContainer.java:2628)
        at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:629)
        at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:163)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:515)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
        at com.sun.enterprise.server.EJBModuleLoader.load(EJBModuleLoader.java:158)
        at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleDeployed(StandAloneEJBModulesManager.java:219)
        at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleDeployed(StandAloneEJBModulesManager.java:174)
        at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleDeployed(StandAloneEJBModulesManager.java:406)
        at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleEnabled(StandAloneEJBModulesManager.java:500)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:960)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:941)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
        at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
        at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.naming.NameNotFoundException
        at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
        at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
        at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:469)
        ... 54 more
CORE5020: Error while loading ejb module
{code}
I know it is very large. I think the error it is in this line.
{code}
NAM0008 : Invalid Destination: jndi/Topic for java:comp/env/jms/Topic
EJB5090: Exception in creating EJB container [javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]]
{code}
also I am going to put the code.
file PublicarBean.java
{code}
package org.pepes;
import com.sun.tools.ws.processor.model.java.JavaArrayType;
import javax.annotation.Resource;
import javax.ejb.SessionContext;
import javax.ejb.Stateless;
import javax.jms.ConnectionFactory;
import javax.jms.QueueConnectionFactory;
import javax.jms.Topic;
import javax.naming.NamingException;
* @author pepes
@Stateless(mappedName="ejb/publicar")
public class publicarBean implements org.pepes.publicarRemote {
    /** Creates a new instance of publicarBean */
    @Resource(name="jms/QueueConnectionFactory")
    private QueueConnectionFactory connectionFactory;
    @Resource(name="jms/Topic", mappedName="jndi/Topic")
    private Topic topic;
    private javax.naming.InitialContext ctx;
    public publicarBean() {
    public void creaMensaje() throws javax.naming.NamingException , javax.jms.JMSException {
        try {       
            javax.naming.InitialContext ctx = new javax.naming.InitialContext();
            this.connectionFactory = (javax.jms.QueueConnectionFactory)ctx.lookup("jms/QueueConnectionFactory");
            this.topic = (javax.jms.Topic)ctx.lookup("jms/Topic");
            javax.jms.Connection connection = this.connectionFactory.createConnection();
            javax.jms.TopicSession ts = (javax.jms.TopicSession)connection.createSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE);
            javax.jms.TopicPublisher tp = ts.createPublisher(this.topic);
            javax.jms.TextMessage msg = ts.createTextMessage();
            for (int i = 0; i<3;i++) {
                msg.setText("Prueba: " + i);
                tp.publish(msg);
        catch (javax.jms.JMSException jmex) {
            throw jmex;
{code}
the file publicarRemote.java
{code}
package org.pepes;
import javax.ejb.Remote;
* This is the business interface for publicar enterprise bean.
@Remote
public interface publicarRemote {
     public void creaMensaje() throws javax.naming.NamingException , javax.jms.JMSException;
{code}
file mensaje.java
{code}
package org.pepes;
import javax.annotation.Resource;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.ejb.MessageDrivenContext;
import javax.jms.Message;
import javax.jms.MessageListener;
* Entity class Mensaje
* @author pepes
@MessageDriven(mappedName = "jms/Mensaje", activationConfig =  {
        @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
public class Mensaje implements MessageListener {
    /** Creates a new instance of Mensaje */
    @Resource
    private MessageDrivenContext mdc;
    public Mensaje() {
    public void onMessage(Message message) {
        javax.jms.TextMessage msg = null;
        try {
            if (message instanceof javax.jms.TextMessage) {
                msg = (javax.jms.TextMessage) message;
                System.out.println(msg.getText());
            } else {
                System.out.println("Message of wrong type: "
                        + message.getClass().getName());
        } catch (javax.jms.JMSException e) {
            e.printStackTrace();
            mdc.setRollbackOnly();
        } catch (Throwable te) {
            te.printStackTrace();
{code}
the file prueba.jsp
{code}
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page</h1>
    <%--
    This example uses JSTL, uncomment the taglib directive above.
    To test, display the page like this: index.jsp?sayHello=true&name=Murphy
    --%>
    <%--
    <c:if test="${param.sayHello}">
        <!-- Let's welcome the user ${param.name} -->
        Hello ${param.name}!
    </c:if>
    --%>
    <%    
        try {
        javax.naming.InitialContext ctx = new javax.naming.InitialContext();
        org.pepes.publicarRemote publisher = (org.pepes.publicarRemote)ctx.lookup("ejb/publicar");
        if (publisher==null) {
            System.out.println("INFO: Es null");
        else {
            System.out.println("INFO: No es null");
        publisher.creaMensaje();
        } catch (javax.naming.NamingException ex) {
            System.out.println("ERROR naming: " + ex.getMessage());
        catch (javax.jms.JMSException jmex) {
            System.out.println("ERROR jms: " + jmex.getMessage());
        catch (java.lang.NullPointerException nullex) {
            System.out.println("ERROR null: " + nullex.getMessage());
%>
    </body>
</html>
{code}
I think the problem is because i don't put destination address. if it is so, the true where do I put this address?. if not where is the problem?
I hope your help.
Thanks you  in advanced.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

Hi,
Did you create your destinations in your application server? It seems that the destinations such as topics and queues are not created. First you should create them and then start using them.
For example, in here, it says that jndi/Topic is not valid. To check if the destinations are valid or not; you can do it either through the graphical user interface or the command line console.

Similar Messages

  • BAPI_PR_CREATE, Problem to send a message with mmpur_message_forced in BAdI

    Hi all,
    I have a problem with PR creation by BAPI_PR_CREATE. We use ECC 6.0. We have one non-character field in CI_EBANDB. I know, it isn't correct, but we have this field. And there is a BAdI to solve this problem: IF_EX_ME_BAPI_PR_CREATE_02~MAP2I_EXTENSIONIN. I have used this BAdI, and after
    implementation of notes 1148689, 1176786, 1156334 and 1173224 it works, but not quite correct.
    The problem: It could be the field in EXTENSIONIN brings an conversion error. In this case I want to send a message from BAdI to BAPI and the BAPI has to terminate the creation of the PR.
    In many steps with the aid of SAP I have "developed" the following code:
    method if_ex_me_bapi_pr_create_02~map2i_extensionin.
    *--  define local data
      data: l_done         type        mmpur_bool.  "conversion done
      data: wa_ebanci_char type        zmi_mm_ci_ebandb_char.
      data: l_obj          type ref to if_message_obj_mm.       "#EC NEEDED
      data: my_mereq_ref   type ref to if_accounting_model_mm.
      check im_name = 'CI_EBANDB'.
      check im_error eq cl_mmpur_constants=>yes.
      include mm_messages_mac.
      mmpur_dynamic_cast1 l_obj me->my_mereq_ref.
      mmpur_business_obj l_obj.
      call method cl_abap_container_utilities=>read_container_c
        exporting
          im_container           = im_container+5
        importing
          ex_value               = wa_ebanci_char
        exceptions
          illegal_parameter_type = 1
          others                 = 2.
      if not sy-subrc is initial.
    * Errorhandling needed
        return.
      endif.
      try.
          move-corresponding wa_ebanci_char to ch_struc.
    *-- Errorhandling
        catch cx_sy_conversion_no_number
              cx_sy_conversion_overflow
              cx_sy_move_cast_error.
          mmpur_message_forced 'E' 'ZMIZZD' '809' space space space space.
      endtry.
      l_done = cl_mmpur_constants=>yes.
      move im_container(5)              to ch_struc(5).
      check l_done eq cl_mmpur_constants=>yes.
      raise exception type cx_mmpur_root.
    endmethod. "if_ex_me_bapi_pr_create_02~map2i_extensionin
    My Problem is the accurate using of the mmpur macros. I have the message 809 in case of a conversion errror in the RETURN-Table in BAPI. But the fields PARAMETER, ROW and FIELDS of the RETURN-Table are not or not well filled. I have seen I have to make something with mmpur_business_obj_id and mmpur_metafield, but I can't find how to do this exactly in this BAdI.
    Has anyone a idea?
    Thanks in advance.
    Michael

    Hi Michael,
    (1) in the BAdI IF_EX_ME_BAPI_PR_CREATE_02~MAP2I_EXTENSIONIN, if you use Method "Read_Container_C" in class CL_abap_container_utilities
    as following:
        CALL METHOD cl_abap_container_utilities=>read_container_c
        EXPORTING
          im_container           = im_container
        IMPORTING
          ex_value               = ch_struc
        EXCEPTIONS
          illegal_parameter_type = 1
          others                 = 2
    AND (2) in your BAPI-call, for the part exteinionIN, you use another method "Fill_Container_C" of the same class CL_abap_container_utilities
    something like these:
        DATA: lw_bapi_te_mereqitem  TYPE bapi_te_mereqitem,
            lw_bapi_te_mereqitemx TYPE bapi_te_mereqitemx.
    *-- Feldsymbole Ausgangsparameter
      FIELD-SYMBOLS: <lw_extensionin> TYPE bapiparex.
      APPEND INITIAL LINE TO pt_extensionin
             ASSIGNING <lw_extensionin>.
      CLEAR lw_bapi_te_mereqitem.
      lw_bapi_te_mereqitem-preq_item      = pw_output-bnfpo.
      lw_bapi_te_mereqitem-zz_qty = pw_output-meng.
      lw_bapi_te_mereqitem-zzdatum_grund  = sy-datum.
      lw_bapi_te_mereqitem-zzuzeit_grund  = sy-uzeit.
      <lw_extensionin>-structure     = 'BAPI_TE_MEREQITEM'.
    * fill extension i-tab which mit ZZ-Felder EBAN
      CALL METHOD cl_abap_container_utilities=>fill_container_c
            EXPORTING
              im_value               = lw_bapi_te_mereqitem
            IMPORTING
              ex_container           = <lw_extensionin>+30(930)
            EXCEPTIONS
              illegal_parameter_type = 1
              others                 = 2
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN 1.
    *          RAISE illegal_parameter_type.
          WHEN OTHERS.
    *          RAISE unknown_error.
        ENDCASE..
      ENDIF.
      APPEND INITIAL LINE TO pt_extensionin
             ASSIGNING <lw_extensionin>.
      CLEAR lw_bapi_te_mereqitemx.
      lw_bapi_te_mereqitemx-preq_item  = pw_output-bnfpo.
      lw_bapi_te_mereqitemx-zz_qty = true.
      lw_bapi_te_mereqitemx-zzdatum_grund  = true.
      lw_bapi_te_mereqitemx-zzuzeit_grund  = true.
      <lw_extensionin>-structure     = 'BAPI_TE_MEREQITEMX'.
    * fill extension i-tabx
      CALL METHOD cl_abap_container_utilities=>fill_container_c
            EXPORTING
              im_value               = lw_bapi_te_mereqitemx
            IMPORTING
              ex_container           = <lw_extensionin>+30(930)
            EXCEPTIONS
              illegal_parameter_type = 1
              others                 = 2
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN 1.
    *          RAISE illegal_parameter_type.
          WHEN OTHERS.
    *          RAISE unknown_error.
        ENDCASE..
      ENDIF.
    It works for BAPI_PR_CHANFGE! It should work for BAPI_PR_CREATE.
    (3)One condition is note 1176786, which correced errors in L2014I01 and L2105I01, where the code
       CHECK: <comp>-type_kind EQ lr_abap->typekind_packed  ,
    must be
       CHECK: <comp>-type_kind EQ lr_abap->typekind_packed OR "1176786
    =>  comma "," is wrong, logic operator "OR" is correct.
    Viele Grüße
    Shuhui

  • Problems to send a message with iChat

    My sister has an iBook G3 with OS 10.3.9 and iChat 2.1
    We can comunicate just fine with voice or with voice and image
    but if she tries to send a message a window with Error message appears
    "iChat Internal Error!
    NSInvalidArgumentException:
    NSConcreteMutableAttributedString
    addAttribute:value:range:: nil value"
    Thanks in advance for any help.
    Rogerio
    G4   Mac OS X (10.3.9)  

    Hi
    See http://docs.info.apple.com/article.html?artnum=300501
    Tony

  • HT3529 WHEN I SEND A MESSAGE WITH VIDEO, THE PERSON RECEIVING THE MESSAGE HAS NO SOUND TO THE VIDEO .hOW DO I FIX THE PROBLEM..THANKS

    WHEN I SEND A MESSAGE WITH VIDEO, THE PERSON RECEIVING THE MESSAGE HAS NO SOUND TO THE VIDEO .hOW DO I FIX THE PROBLEM..THANKS

    is there sound when you play the video yourself?

  • When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    Hi, thanks for the answer, I did that already. Unfortunatly this doesn't help me at all, as I often forget to check the menu. For me composing the message is writing the text, the subject, the person to who is addressed and than press "send".
    I often forget to check the "from", and this is a problem because the software select itself one of the accounts.
    Isn't there a way at least to put as a default a blank field instead of one of the accounts? or an account which doesn't work so if I forget to specify the "from" I will be rnotofied that the message can't be sent.
    I guess this could be a rather common problem for many people!
    Thanks
    Sergio

  • How to send SOAP Message with Oracle B2B

    Hi everyone,
    I need your help to send out from Oracle B2B a SOAP message with attachment of any type of file (image, pdf, etc.). Possibly using a SOA composite application or another way, it doesn't matter. I already create an ebMS partnership with a custom document protocol and I already create a working SOA composite application to send only text message to my trading partner. I have tried this solution: http://anuj-dwivedi.blogspot.it/2011/04/ebms-attachment-handling-in-oracle-b2b.html but it doesn't work for my case... It is to be noticed that I don't give any schema to my component in the SOA application explained firstly, and I select opaque as schema.
    Thanks to all, regards
    Nello

    Hi Anuj and thanks for your help,
    I need to send an ebXML message, with SOAP, and I try to send it with a .war application written in jsp connecting to http://10.85.28.24:8001/b2b/transportServlet to send the SOAP message. The errors reported is:
    javax.xml.soap.SOAPException: Unable to receive message. Received a response from url: http://10.85.28.24:8001/b2b/transportServlet with HTTP status 200 and SOAP content-type: null.
    the code I write is the following (to evaluate the two "null" in the super constructor)
    <%!
    public class EBMSSender extends SOAPRunner
    private String cpaId;
    private String service;
    private String action;
    private String mess;
    private ArrayList<String> allegati=null;
    public EBMSSender(String cpaId, String service, String action, String mess, ArrayList<String> file)
    super("http://10.85.28.24:8001/b2b/transportServlet","null", "null");
    this.cpaId = cpaId;
    this.service = service;
    this.action = action;
    this.mess=mess;
    this.allegati=file;
    @Override
    protected void prepareRequest(SOAPMessage soapMessage, SOAPBody soapBody) throws SOAPException
    soapBody.addChildElement(SOAPUtility.createElement("CPAId", getNsPrefix(), getNsURI(),"agr3"));
    soapBody.addChildElement(SOAPUtility.createElement("service", getNsPrefix(), getNsURI(),"OracleService"));
    soapBody.addChildElement(SOAPUtility.createElement("action", getNsPrefix(), getNsURI(),"Oracletohermesb"));
    soapBody.addChildElement(SOAPUtility.createElement("serviceType", getNsPrefix(), getNsURI(),"OracleServiceType"));
    soapBody.addChildElement(SOAPUtility.createElement("convId", getNsPrefix(), getNsURI(), "convId"));
    soapBody.addChildElement(SOAPUtility.createElement("fromPartyId", getNsPrefix(), getNsURI(), "Oracle"));
    soapBody.addChildElement(SOAPUtility.createElement("fromPartyType", getNsPrefix(), getNsURI(), "Name"));
    soapBody.addChildElement(SOAPUtility.createElement("toPartyId", getNsPrefix(), getNsURI(), "Hermes-b"));
    soapBody.addChildElement(SOAPUtility.createElement("toPartyType", getNsPrefix(), getNsURI(), "Name"));
    attach(soapMessage);
    protected void attach(SOAPMessage soapMessage)
    String h=mess;
    DataHandler dh;
    AttachmentPart ap = soapMessage.createAttachmentPart(h,"text/plain");
    soapMessage.addAttachmentPart(ap);
    if(allegati!=null)
    for(int i=0; i<allegati.size();i++)
    dh=new DataHandler(new FileDataSource(new File(allegati.get(i))));
    ap=soapMessage.createAttachmentPart(dh);
    ap.setContentType(new MimetypesFileTypeMap().getContentType(allegati.get(i)));
    ap.setContentLocation(allegati.get(i));
    soapMessage.addAttachmentPart(ap);
    @Override
    protected void processFault(SOAPFault soapFault) throws SOAPException{}
    @Override
    protected Object processResponse(SOAPMessage responseMessage,SOAPBody responseBody) throws SOAPException
    SOAPElement messageId = SOAPUtility.getChild(responseBody, "message_id", getNsURI());
    return null;
    %>
    The code works fine on the other trading partner side to send ebXML message to Oracle B2B. Apart from this solution (however,it would be my favorite), I find your blog and I try to implement your solution. It works: it sends files with only text payload to the other trading partner without any problem, but if I try to send for example an image in byte array written in a file .txt, the ebxml file received has the byte array with wrong characters. it may be that I have not provided the xsd schema? in case if I wanted to send an ebXML message with text and attachments, what xsd schema do I need to provide?
    or is there another way to implement a SOA composite application to send SOAP messages with attachments?
    Thank for your help!, regards
    Nello

  • Why do I get an attaching message when sending a message with embedded pictures.

    Sometimes when I try to send a message with embedded images, I get a message stating "Status: Attaching . . . with a green Progress: bar that appears to be 100% but still running". The problem is that it never goes away and the message is never sent.

    Do you have MMS turned on? Do you have a data connection?

  • My wife iphone has trouble sending a messages with a picture

    My wifes iphone has trouble sending a message with a picture or texting a picture, Is this a setting problem ?

    http://support.apple.com/kb/TS2755?viewlocale=en_US&locale=en_US

  • HT5622 Why can I send a message with an attached photo to one contact on phone or email and can't to another contact. I can sent message on iPhone still I was using messages on iPad

    Why can I send message on iPad messages to one contact and not send same message with same photo to another contact. I can sent message on iPhone to same contact

    I would guess that the problem contact does not have iMessage turned on. The iPad can only send iMessages not SMS messages (phone text). You can send a message to this contact with your iPhone because your iPhone can send SMS text messages.

  • Cannot send any message with my N95

    I cannot send any message with my nokia n95 phone. It says "Memory full. Close some programs and try again" where in fact, and I'm very much sure that there's no any program running.
    What memory is referred here? What's happening to my phone? What should I do then? I've been restoring my phone's factory settings since the problem occured yet the problem is still there. Please help me with it's been quite a long time since this problem started to annoy me. Thank you.

    I am having this exact same issue with my N82. Very frustrating. Only way to send a message is via MMS. Also I am not receiving all the messages people are sending me. Are others having this issue as well?

  • Is there a way to send a message with a photo attached using imessages. I am not able to send a photo to one of my contacts because I am sending the contact a message text messages. I don't want to send contacts text messages. I want to send them iMe

    Is there a way to send a message with a photo attached using imessages. I am not able to send a photo to one of my contacts because I am sending the contact a message text messages. I don't want to send contacts text messages. I want to send them iMessages.

    Kolyei, sorry for the late reply.
    Have your brother create a contact in his phone for himself. Inside his own contact, have him add his phone number and his iCloud address.
    Settings > Messages > Send & Receive Have your brother select both his phone number and email addresses where he would like to receive iMessages.

  • How to send a message with javamail api

    Hi, anybody can tell me how i do to send a message with javamail?
    Thanks.
    Daniele.

    [rossifumi80],
    Here's a simple JavaMail application SendMessage.java that will connect a SMTP host and send a mail message out:
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class SendMessage {
      public static void main (String args[]) throws Exception {
        String host = args[0];
        String from = args[1];
        String to = args[2];
        // Get system properties
        Properties props = System.getProperties();
        // Setup mail server
        props.put("mail.smtp.host", host);
        // Get session
        Session session = Session.getDefaultInstance(props, null);
        // Define message
        MimeMessage message = new MimeMessage(session);
        // Set the from address
        message.setFrom(new InternetAddress(from));
        // Set the to address
        message.addRecipient(Message.RecipientType.TO,
          new InternetAddress(to));
        // Set the subject
        message.setSubject("Hello JavaMail");
        // Set the content
        message.setText("Welcome to JavaMail");
        // Send message
        Transport.send(message);
    }HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • TS3276 Hey. I have problems to send e-mail with Mail. The problems is I need to un active ssl ,... but when I do this,... automatically,. its active again????. Whta can i do

    Hey. I have problems to send e-mail with Mail. The problems is I need to un active ssl ,... but when I do this,... automatically,. its active again????. Whta can i do

    Try posting this in the 10.7 Mail forum. You'll get more help there.
    DALE

  • Problem while sending the message using RWB

    Dear All,
    I am facing a problem while sending a message from RWB. I sent the message using Test Message in component monitoring, it says message sent but I am not able to see any message in sxi_monitor.
    When I send the same message using the http client it successfully processed by XI and I can see the success message in sxi_monitor.
    Please let me know if anyone has face similar kind of issue.
    Thanks,
    Alok
    Edited by: Alok Raoka on May 26, 2008 5:08 PM

    Dear All,
    I am facing a problem while sending a message from RWB. I sent the message using Test Message in component monitoring, it says message sent but I am not able to see any message in sxi_monitor.
    When I send the same message using the http client it successfully processed by XI and I can see the success message in sxi_monitor.
    Please let me know if anyone has face similar kind of issue.
    Thanks,
    Alok
    Edited by: Alok Raoka on May 26, 2008 5:08 PM

  • Since i instaled ios 6 , i send a message with my iphone and i receive in my ipad. what is happening?

    since i instaled ios 6 , i send a message with my iphone and i receive in my ipad. what is happening?

    Sounds like it is using your Apple ID / Associated Emails to receive the iMessage. This means that the person who is replying is making it go to your email address. Make sure that the person you are sending the iMessage to has an iPhone as well. I don't remember if other iOS devices can send iMessages to a mobile phone number.

Maybe you are looking for

  • Windows 8.1 will not download iTunes setup file

    Windows 8.1 will not download iTunes setup file. It asks if I want to save the file. I click yes but it doesn't download. Tried numerous times on my new Toshiba Qosmio computer.

  • Iweb site, listing in search engine looks bizarre??

    How do I change what appears in the search listing, I get this below:( Welcome2 Welcome | Bridal | Bridesmaid | Communion | Accessories shapeimage1_link0 shapeimage1_link1 shapeimage1_link2 shapeimage1_link3 shapeimage1_link4 ... www.boutiquebrides.c

  • Get video dimensions

    Hi, how do i get video width and height? Ive set up the simplest of all video players just using a mediaContainer and mediaPlayer. mediaContainer width and height are set to 640x360px (16:9). when i load a 4:3 video i know that the video is set to 48

  • I cannot send iPhotos by email

    In iPhoto I keep getting " Your email did not go through the server did not reply" when I email a photo. Help ?

  • Desktop Pictures Will Not change each day.

    I have System Preferences set to change the Desktop Picture each day. When system starts it loads the new picture and then the same one used before loads over it. I have tried to have it change at each login and the same thing happens. If I change it